Create Test Classification Map bug

Issue #235 invalid
Benjamin Jakimow created an issue

Create Test Classification Map QgsProcessingAlgorithm outputs the following error:

A classification raster is created.

Processing algorithm
Algorithm 'Create Test Classification Map' starting
Input parameters:
{ 'outClassification' : 'C:/Users/geo_beja/AppData/Local/Temp/processing_48b124cc23e346ae99c5a1dac884a9d1/947acc58b156462f97578a3c4c28c8d3/outClassification.bsq' }

Traceback (most recent call last):
File "C:\Users\geo_beja\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\enmapboxplugin\site-packages\enmapboxgeoalgorithms\provider.py", line 118, in processAlgorithm
result = self.processAlgorithm_()
File "C:\Users\geo_beja\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\enmapboxplugin\site-packages\enmapboxgeoalgorithms\algorithms.py", line 404, in processAlgorithm_
return {self.P_OUTPUT_CLASSIFICATION: result.filename()}
AttributeError: 'str' object has no attribute 'filename'

Traceback (most recent call last):
File "C:\Users\geo_beja\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\enmapboxplugin\site-packages\enmapboxgeoalgorithms\provider.py", line 118, in processAlgorithm
result = self.processAlgorithm_()
File "C:\Users\geo_beja\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\enmapboxplugin\site-packages\enmapboxgeoalgorithms\algorithms.py", line 404, in processAlgorithm_
return {self.P_OUTPUT_CLASSIFICATION: result.filename()}
AttributeError: 'str' object has no attribute 'filename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\geo_beja\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\enmapboxplugin\site-packages\enmapboxgeoalgorithms\provider.py", line 132, in processAlgorithm
raise Exception('unexpected error')
Exception: unexpected error

Execution failed after 3.69 seconds

Loading resulting layers
Algorithm 'Create Test Classification Map' finished
Processing algorithm
Algorithm 'Create Test Classification Map' starting
Input parameters:
{ 'outClassification' : 'F:/Temp/class.tif' }

Traceback (most recent call last):
File "C:\Users\geo_beja\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\enmapboxplugin\site-packages\enmapboxgeoalgorithms\provider.py", line 118, in processAlgorithm
result = self.processAlgorithm_()
File "C:\Users\geo_beja\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\enmapboxplugin\site-packages\enmapboxgeoalgorithms\algorithms.py", line 404, in processAlgorithm_
return {self.P_OUTPUT_CLASSIFICATION: result.filename()}
AttributeError: 'str' object has no attribute 'filename'

Traceback (most recent call last):
File "C:\Users\geo_beja\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\enmapboxplugin\site-packages\enmapboxgeoalgorithms\provider.py", line 118, in processAlgorithm
result = self.processAlgorithm_()
File "C:\Users\geo_beja\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\enmapboxplugin\site-packages\enmapboxgeoalgorithms\algorithms.py", line 404, in processAlgorithm_
return {self.P_OUTPUT_CLASSIFICATION: result.filename()}
AttributeError: 'str' object has no attribute 'filename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\geo_beja\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\enmapboxplugin\site-packages\enmapboxgeoalgorithms\provider.py", line 132, in processAlgorithm
raise Exception('unexpected error')
Exception: unexpected error

Execution failed after 3.40 seconds

Loading resulting layers
Algorithm 'Create Test Classification Map' finished

Comments (2)

  1. Log in to comment