Bug report #15784

processing: select by location, extract by location algorithms broken

Added by Mathieu Pellerin - nIRV about 3 years ago. Updated almost 3 years ago.

Status:Closed
Priority:Normal
Assignee:Victor Olaya
Category:Processing/Core
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

Description

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__
    self.initWidgets()
  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'

History

#1 Updated by Arnaud Morvan about 3 years ago

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

#2 Updated by Paolo Cavallini almost 3 years ago

What is the current state?

#3 Updated by Alexander Bruy almost 3 years ago

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

Fixed in master

Also available in: Atom PDF