AttributeError: 'BatchInputSelectionPanel' object has no attribute 'getText' #25731
Labels
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
Processing
Relating to QGIS Processing framework or individual Processing algorithms
Author Name: Hannes Kohlmann (Hannes Kohlmann)
Original Redmine Issue: 17837
Affected QGIS version: master
Redmine category:processing/gui
Assignee: Victor Olaya
When trying to polygonize a raster layer (Raster ‣ Conversion ‣ Polygonize (Raster to Vector)) and starting it as a batch process:
AttributeError: 'BatchInputSelectionPanel' object has no attribute 'getText'
Traceback (most recent call last):
File "C:/OSGEO4
2/apps/qgis-dev/./python/plugins\processing\gui\AlgorithmDialog.py", line 79, in runAsBatch2/apps/qgis-dev/./python/plugins\processing\gui\BatchAlgorithmDialog.py", line 69, in initdlg = BatchAlgorithmDialog(self.algorithm())
File "C:/OSGEO4
self.setMainWidget(BatchPanel(self, self.algorithm()))
File "C:/OSGEO4
2/apps/qgis-dev/./python/plugins\processing\gui\BatchPanel.py", line 84, in init2/apps/qgis-dev/./python/plugins\processing\gui\BatchPanel.py", line 127, in initWidgetsself.initWidgets()
File "C:/OSGEO4
self.addRow()
File "C:/OSGEO4
2/apps/qgis-dev/./python/plugins\processing\gui\BatchPanel.py", line 267, in addRow2/apps/qgis-dev/./python/plugins\processing\gui\wrappers.py", line 1435, in postInitializewrapper.postInitialize(list(wrappers.values()))
File "C:/OSGEO4
self.setLayer(wrapper.value())
File "C:/OSGEO4~2/apps/qgis-dev/./python/plugins\processing\gui\wrappers.py", line 802, in value
return self.widget.getText()
AttributeError: 'BatchInputSelectionPanel' object has no attribute 'getText'
Python-Version: 3.6.0 (v3.6.0:41df79263a11, Dec 23 2016, 08:06:12) [MSC v.1900 64 bit (AMD64)]
QGIS-Version: 2.99.0-Master Master, d0e927a
Related issue(s): #25717 (duplicates)
Redmine related issue(s): 17821
The text was updated successfully, but these errors were encountered: