Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: 'BatchInputSelectionPanel' object has no attribute 'getText' #25731

Closed
qgib opened this issue Jan 10, 2018 · 2 comments
Closed
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

Comments

@qgib
Copy link
Contributor

qgib commented Jan 10, 2018

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:/OSGEO42/apps/qgis-dev/./python/plugins\processing\gui\AlgorithmDialog.py", line 79, in runAsBatch
dlg = BatchAlgorithmDialog(self.algorithm())
File "C:/OSGEO4
2/apps/qgis-dev/./python/plugins\processing\gui\BatchAlgorithmDialog.py", line 69, in init
self.setMainWidget(BatchPanel(self, self.algorithm()))
File "C:/OSGEO42/apps/qgis-dev/./python/plugins\processing\gui\BatchPanel.py", line 84, in init
self.initWidgets()
File "C:/OSGEO4
2/apps/qgis-dev/./python/plugins\processing\gui\BatchPanel.py", line 127, in initWidgets
self.addRow()
File "C:/OSGEO42/apps/qgis-dev/./python/plugins\processing\gui\BatchPanel.py", line 267, in addRow
wrapper.postInitialize(list(wrappers.values()))
File "C:/OSGEO4
2/apps/qgis-dev/./python/plugins\processing\gui\wrappers.py", line 1435, in postInitialize
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


@qgib
Copy link
Contributor Author

qgib commented Jan 15, 2018

Author Name: Alexander Bruy (@alexbruy)


Duplicates #25717


  • resolution was changed from to duplicate
  • operating_system was changed from Win 10 Prof to
  • status_id was changed from Open to Closed

@qgib qgib closed this as completed Jan 15, 2018
@qgib
Copy link
Contributor Author

qgib commented Jan 15, 2018

Author Name: Alexander Bruy (@alexbruy)


@qgib qgib added 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 labels May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

1 participant