Bug report #15375

AddScriptFromFileAction fails

Added by Andrew Brown over 8 years ago. Updated over 8 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Processing/Core
Affected QGIS version:2.16.0 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:fixed/implemented
Crashes QGIS or corrupts data:No Copied to github as #:23305

Description

ProcessingToolbox.py, line 276, in execute
Algorithm action.execute()
AddScriptFromFileAction.py, line 68, in execute
destFilename = os.path.join(ScriptUtils.scriptsFolder(), os.path.basename(filename))
AttributeError: type object 'ScriptUtils' has no attribute 'scriptsFolder'

Manually fixed by changing it to ScriptUtils.defaultScriptsFolder()

History

#1 Updated by Alexander Bruy over 8 years ago

  • Resolution set to fixed/implemented
  • OS version deleted (10)
  • Operating System deleted (Windows)
  • Status changed from Open to Closed
  • Category set to Processing/Core

Also available in: Atom PDF