[Processing] Python error when i try to open a model #23267
Labels
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
Processing
Relating to QGIS Processing framework or individual Processing algorithms
Author Name: stefano campus (@skampus)
Original Redmine Issue: 15335
Affected QGIS version: 2.16.0
Redmine category:processing/modeller
Assignee: Victor Olaya
Hi, I receive a python error when i try to open a model that is not in the proper Processing model folder (C:\Users\11186cs\.qgis2\processing\models)
If I first copy the model into the folder, then it is correctly opened.
Python Error:
Traceback (most recent call last):
File "C:/OSGeo4W/apps/qgis/./python/plugins\processing\gui\ProcessingToolbox.py", line 276, in executeAlgorithm
action.execute()
File "C:/OSGeo4W/apps/qgis/./python/plugins\processing\modeler\AddModelFromFileAction.py", line 74, in execute
destFilename = os.path.join(ModelerUtils.modelsFolder(), os.path.basename(filename))
AttributeError: class ModelerUtils has no attribute 'modelsFolder'
Qgis 2.16
win 8
The text was updated successfully, but these errors were encountered: