Bug report #17649

Create script collection plugin produces an error if there are any user scripts

Added by Matt Yoder about 6 years ago. Updated about 6 years ago.

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


The "Create script collection plugin" tool opens as expected if there are no user scripts. However, after adding a script using "Create new script," opening "Create script collection plugin" produces this error message:

File "/usr/local/Cellar/qgis3-dev/2.99/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/gui/ProcessingToolbox.py", line 314, in executeAlgorithm
File "/usr/local/Cellar/qgis3-dev/2.99/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/script/CreateScriptCollectionPluginAction.py", line 84, in execute
  dlg = ScriptSelector()
File "/usr/local/Cellar/qgis3-dev/2.99/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/script/ScriptSelector.py", line 62, in __init__
  scriptItem.setText(0, script.name)
TypeError: setText(self, int, str): argument 2 has unexpected type 'method'

Associated revisions

Revision d58053d4
Added by Alexander Bruy about 6 years ago

[processing] restore script collection creator (fix #17649)


#1 Updated by Alexander Bruy about 6 years ago

  • % Done changed from 0 to 100
  • Status changed from Open to Closed

#2 Updated by Giovanni Manghi about 6 years ago

  • Resolution set to fixed/implemented

Also available in: Atom PDF