我创建了一个地图和数据库.sqlite。我校准了地图,提取了我需要的所有东西,然后尝试在QSpatialite中使用ImporQgis图层,但是出现错误
数据库实例没有属性'connectionObject'
这是我在错误日志中得到的内容
2019-01-15T23:51:42 1 Traceback (most recent call last):
File "C:/Users/my username�/.qgis2/python/plugins\QspatiaLite\qspatialite.py", line 68, in run
dlg = QspatiaLiteApp(self.iface)
File "C:/Users/my username�/.qgis2/python/plugins\QspatiaLite\QspatiaLiteApp.py", line 80, in __init__
self.changeDb(max(0,self.connections['idx']))
File "C:/Users/my username�/.qgis2/python/plugins\QspatiaLite\QspatiaLiteApp.py", line 141, in changeDb
self.db=Database(self.connections['path'][index])
File "C:/Users/my username�/.qgis2/python/plugins\QspatiaLite\Classes\Database.py", line 20, in __init__
self.version=self.executeQuery("select spatialite_version()")[1][0][0].strip()
File "C:/Users/my username�/.qgis2/python/plugins\QspatiaLite\Classes\Database.py", line 49, in executeQuery
cursor=self.connectionObject.cursor()
AttributeError: Database instance has no attribute 'connectionObject'
这是否可以轻松修复它,还是在开始时就忘记了一些东西,我必须重做到目前为止所做的一切?我花了很长时间来设置所有内容。我已经多次重新安装了Qgis