Bug report #10659
Processing : the "add script from file" tool generates an error
| Status: | Closed | ||
|---|---|---|---|
| Priority: | High | ||
| Assignee: | |||
| Category: | Processing/Core | ||
| 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 |
Description
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
action.execute()
File "C:/Users/pclocal/.qgis2/python/plugins\\processing\\script\\AddScriptFromFileAction.py", line 55, in execute
f.write(script.script)
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
[processing] fix #10659
History
#1
Updated by Victor Olaya over 11 years ago
- Status changed from Open to Closed
Fixed in changeset 5a1d24dd273919c469cf105121c09eaa10dcf470.
#2
Updated by Giovanni Manghi over 10 years ago
- Category changed from 94 to Processing/Core