Bug report #9905

processing - run python script from python editor fails

Added by Regis Haubourg about 10 years ago. Updated almost 9 years ago.

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


confirmed in 2.0 and 2.0-20131120 (processing versions, QGIS 2.2)
When trying to run algorithms from script editor fails with following error message:

traceback (most recent call last):
  File "C:/Users/haubourg/.qgis2/python/plugins\\processing\\gui\\ScriptEditorDialog.py", line 183, in runAlgorithm
    dlg = ParametersDialog(alg)
  File "C:/Users/haubourg/.qgis2/python/plugins\\processing\\gui\\ParametersDialog.py", line 42, in __init__
    AlgorithmExecutionDialog.__init__(self, alg, self.scrollArea)
  File "C:/Users/haubourg/.qgis2/python/plugins\\processing\\gui\\AlgorithmExecutionDialog.py", line 105, in __init__
    if self.alg.helpFile():
  File "C:/OSGEO4~1/apps/qgis/./python/plugins\\processing\\script\\ScriptAlgorithm.py", line 257, in helpFile
    helpfile = self.descriptionFile + '.help'
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'

Version de Python :
2.7.5 (default, May 15 2013, 22:44:16) [MSC v.1500 64 bit (AMD64)]

Version de QGIS :
2.2.0-Valmiera Valmiera, c3a2817

Associated revisions

Revision 6f3046ca
Added by Victor Olaya about 10 years ago

[processing] fixed error when running script algorithm from script editor (fixes #9905)


#1 Updated by Regis Haubourg about 10 years ago

  • Assignee set to Victor Olaya

oups, can someone affect that to processing category?

#2 Updated by Anita Graser about 10 years ago

  • Category set to 94

#3 Updated by Victor Olaya about 10 years ago

  • Status changed from Open to Closed

#4 Updated by Giovanni Manghi almost 9 years ago

  • Category changed from 94 to Processing/Core

Also available in: Atom PDF