created PKL files aren't opened anymore in data sources panel
Issue #777
resolved
Comments (3)
-
reporter -
- changed status to open
should be fixed. please re-test
-
reporter - changed status to resolved
- Log in to comment
Ah, that is also related to new QGIS 3.20
Traceback (most recent call last):
File "D:\source\QGISPlugIns\enmap-box\enmapboxprocessing\enmapalgorithm.py", line 784, in tic
feedback.pushConsoleCommand(self.asConsoleCommand(parameters, context) + '\n')
File "D:\source\QGISPlugIns\enmap-box\site-packages\typeguard_init_.py", line 903, in wrapper
retval = func(*args, **kwargs)
File "D:\source\QGISPlugIns\enmap-box\enmapboxprocessing\enmapalgorithm.py", line 729, in asConsoleCommand
value = value.replace('"', r'"') # escape double quotes
AttributeError: 'NoneType' object has no attribute 'replace'
Processing(0): gdal_rasterize -l categorized -a derived_id -ts 220.0 400.0 -init 0.0 -te 380952.37 5808372.35 387552.37 5820372.35 -ot Byte -of GTiff -co INTERLEAVE=BAND -co COMPRESS=LZW -co PREDICTOR=2 -co TILED=YES -co BIGTIFF=YES C:/Users/Andreas/AppData/Local/Temp/processing_oGcmCH/270c6c4b2aea46f6acfbcdc6dff506d6_temp_outputClassificationDataset.pkl_temp_classification.tif\categorized.gpkg C:/Users/Andreas/AppData/Local/Temp/processing_oGcmCH/270c6c4b2aea46f6acfbcdc6dff506d6_temp_outputClassificationDataset.pkl\classification.tif
Traceback (most recent call last):
File "D:\source\QGISPlugIns\enmap-box\enmapbox\gui\enmapboxgui.py", line 1236, in onProcessingAlgTaskCompleted
self.addSources(list(results.values()))
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 701, in create
dataItem = QgsDataItem(Qgis.BrowserItemType.Custom, None, name, source, 'special:pkl')
AttributeError: type object 'Qgis' has no attribute 'BrowserItemType'