-
assigned issue to
restore QGIS 3.18 compatibility
Recent commits intoduced some QGIS 3.20 features not available in 3.18. E.g.
Qgis.VectorExportResult
Qgis.BrowserItemType
Not sure if there is more stuff from 3.20 only is used.
Comments (5)
-
reporter -
reporter e.g. “Load Example Data” won’t work anymore:
Traceback (most recent call last):
File "D:\source\QGISPlugIns\enmap-box\enmapbox\gui\enmapboxgui.py", line 1046, in <lambda>
mapWindows=1 if len(self.mDockManager.docks(MapDock)) == 0 else 0))
File "D:\source\QGISPlugIns\enmap-box\enmapbox\gui\enmapboxgui.py", line 1561, in openExampleData
self.addSources(files)
File "D:\source\QGISPlugIns\enmap-box\enmapbox\gui\enmapboxgui.py", line 1779, in addSources
return self.mDataSourceManager.addDataSources(sourceList)
File "D:\source\QGISPlugIns\enmap-box\enmapbox\gui\datasources\manager.py", line 252, in addDataSources
sources = DataSourceFactory.create(sources, provider=provider, name=name)
File "D:\source\QGISPlugIns\enmap-box\enmapbox\gui\datasources\manager.py", line 678, in create
results.extend(DataSourceFactory.create(s, provider=provider, name=name))
File "D:\source\QGISPlugIns\enmap-box\enmapbox\gui\datasources\manager.py", line 725, in create
dataItem = QgsDataItem(Qgis.BrowserItemType.Custom, None, name, source, 'special:file')
AttributeError: type object 'Qgis' has no attribute 'BrowserItemType' -
reporter - marked as blocker
-
- changed status to resolved
should be fixed, please re-test
-
reporter Looks good
- Log in to comment