Bug report #10659

Processing : the "add script from file" tool generates an error

Added by Harrissou Santanna over 9 years ago. Updated over 8 years ago.

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


In the Processing ToolBox, when adding a script from a file, you get an error message:

Traceback (most recent call last):
  File "C:/Users/pclocal/.qgis2/python/plugins\\processing\\gui\\ProcessingToolbox.py", line 210, in executeAlgorithm
  File "C:/Users/pclocal/.qgis2/python/plugins\\processing\\script\\AddScriptFromFileAction.py", line 55, in execute
IOError: File not open for writing

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

Version de QGIS :
2.3.0-Master Master, 7aa93c0

Then, the script you wanted to add won't be imported till you close and reopen QGIS.

Associated revisions

Revision 5a1d24dd
Added by Victor Olaya over 9 years ago

[processing] fix #10659


#1 Updated by Victor Olaya over 9 years ago

  • Status changed from Open to Closed

#2 Updated by Giovanni Manghi over 8 years ago

  • Category changed from 94 to Processing/Core

Also available in: Atom PDF