SampleRasterValuesAlgorithm object has no attribute P_OUTPUT_SAMPLE

Issue #667 closed
Fabian Thiel created an issue

Trying to run the algo with the test data results in the following error

Version 3.7.20210506T134511.develop

QGIS version: 3.18.3-Zürich
Qt version: 5.12.9
GDAL version: 3.2.2
GEOS version: 3.9.1-CAPI-1.14.2
PROJ version: Rel. 8.0.0, March 1st, 2021
PDAL version: 2.2.0 (git-version: Release)
Processing algorithm
Algorithm 'Sample raster layer values' starting
Input parameters:
{ 'coverageRange' : [50,100], 'outputPointsData' : 'TEMPORARY_OUTPUT', 'raster' : 'C:/Users/thielf54/AppData/Roaming/QGIS/QGIS3/profiles/default/python/plugins/enmapboxplugin/enmapboxtestdata/enmap_berlin.bsq', 'vector' : 'C:/Users/thielf54/AppData/Roaming/QGIS/QGIS3/profiles/default/python/plugins/enmapboxplugin/enmapboxtestdata/landcover_berlin_point.shp' }

Traceback (most recent call last):
File "C:/Users/thielf54/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\enmapboxplugin\site-packages\typeguard\__init__.py", line 903, in wrapper
retval = func(*args, **kwargs)
File "C:/Users/thielf54/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\enmapboxplugin\enmapboxprocessing\algorithm\samplerastervaluesalgorithm.py", line 66, in processAlgorithm
filename = self.parameterAsFileOutput(parameters, self.P_OUTPUT_SAMPLE, context)
AttributeError: 'SampleRasterValuesAlgorithm' object has no attribute 'P_OUTPUT_SAMPLE'

Execution failed after 0.30 seconds

Loading resulting layers
Algorithm 'Sample raster layer values' finished

Comments (2)

  1. Log in to comment