Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Processing] Python error when i try to open a model #23267

Closed
qgib opened this issue Jul 25, 2016 · 3 comments
Closed

[Processing] Python error when i try to open a model #23267

qgib opened this issue Jul 25, 2016 · 3 comments
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

Comments

@qgib
Copy link
Contributor

qgib commented Jul 25, 2016

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

@qgib
Copy link
Contributor Author

qgib commented Jul 25, 2016

Author Name: Paolo Cavallini (@pcav)


Please remove your local processing install first.

@qgib
Copy link
Contributor Author

qgib commented Jul 25, 2016

Author Name: stefano campus (@skampus)


it's a brand new installation via osgeo4w with qgis 2.16 and qgis dev only.
all keys in the registry were deleted before instaltion as the .qgis2 folder.

processing is not a plugin anymore, is it?
so which local installation do i have to dleete?

thank you

s.

@qgib
Copy link
Contributor Author

qgib commented Jul 25, 2016

Author Name: Alexander Bruy (@alexbruy)


Fixed in changeset "b167c09e4412b1bf8559020a529b80e520b28b22".


  • status_id was changed from Open to Closed

@qgib qgib added 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 labels May 25, 2019
@qgib qgib closed this as completed May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

1 participant