Bug report #17649

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

Added by Matt Yoder 6 months ago. Updated 3 months ago.

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

Description

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
  action.execute()
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 5 months ago

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

History

#1 Updated by Alexander Bruy 5 months ago

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

#2 Updated by Giovanni Manghi 3 months ago

  • Resolution set to fixed/implemented

Also available in: Atom PDF