Bug report #15784

processing: select by location, extract by location algorithms broken

Added by Mathieu Pellerin - nIRV over 7 years ago. Updated about 7 years ago.

Assignee:Victor Olaya
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:fixed/implemented
Crashes QGIS or corrupts data:No Copied to github as #:23704


Victor, I suspect this is an unaddressed fallout from the recent parameter refactoring.

Steps to reproduce
  1. Open processing
  2. Try to run the "extract by location" algorithm
  3. boom crash

Stack trace

AttributeError: 'NoneType' object has no attribute 'widget' 
Traceback (most recent call last):
  File "/home/webmaster/apps/share/qgis/python/plugins/processing/gui/ProcessingToolbox.py", line 253, in executeAlgorithm
    dlg = AlgorithmDialog(alg)
  File "/home/webmaster/apps/share/qgis/python/plugins/processing/gui/AlgorithmDialog.py", line 66, in __init__
    self.setMainWidget(ParametersPanel(self, alg))
  File "/home/webmaster/apps/share/qgis/python/plugins/processing/gui/ParametersPanel.py", line 78, in __init__
  File "/home/webmaster/apps/share/qgis/python/plugins/processing/gui/ParametersPanel.py", line 105, in initWidgets
    self.valueItems[param.name] = wrapper.widget
AttributeError: 'NoneType' object has no attribute 'widget'


#1 Updated by Arnaud Morvan over 7 years ago

Pull request proposed that make this unrelevant : https://github.com/qgis/QGIS/pull/3725

#2 Updated by Paolo Cavallini about 7 years ago

What is the current state?

#3 Updated by Alexander Bruy about 7 years ago

  • Resolution set to fixed/implemented
  • Status changed from Open to Closed

Fixed in master

Also available in: Atom PDF