qgis / QGIS

QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)
https://qgis.org
GNU General Public License v2.0
10.09k stars 2.93k forks source link

Processing graphical modeler can't open previously saved .model files. #19917

Closed qgib closed 5 years ago

qgib commented 9 years ago

Author Name: Major Balazs (Major Balazs) Original Redmine Issue: 11666 Affected QGIS version: 2.6.0 Redmine category:processing/modeller Assignee: Victor Olaya


The graphical modeler can't open previously saved .model files. From the processing toolbox I can open it.

In the modeler the algorithms doesn't work properly. For example I want to use join attribute algorithm, but the input layer 2 drop down box doesn't work. From the toolbox it works.

Tested on Windows 7 and OSx 10.9. Same result.



Related issue(s): #19938 (relates) Redmine related issue(s): 11694


qgib commented 9 years ago

Author Name: Giovanni Manghi (@gioman)


please share your model.


qgib commented 9 years ago

Author Name: Major Balazs (Major Balazs)


Atached is a test model. I want to join attribute tables of two vectors, but i can only select table as input layer 2.



qgib commented 9 years ago

Author Name: Alexander Bruy (@alexbruy)


qgib commented 9 years ago

Author Name: Giovanni Manghi (@gioman)


works fine here on Linux and Windows (from within the modeller).

qgib commented 9 years ago

Author Name: Major Balazs (Major Balazs)


Dear Giovanni, Can you also open the file from modeler, and select a layer file both for input layer 1 and input layer 2? Can you maybe help me what can cause this problem by me? thanks

qgib commented 9 years ago

Author Name: Giovanni Manghi (@gioman)


Major Balazs wrote:

Dear Giovanni, Can you also open the file from modeler, and select a layer file both for input layer 1 and input layer 2? Can you maybe help me what can cause this problem by me? thanks

yes I can.

are you sure are you running the latest processing version?

check inside .qgis2/python/plugins

if you have a "processing" folder delete it and restart qgis.

qgib commented 9 years ago

Author Name: Major Balazs (Major Balazs)


I checked the .qgis2/python/plugins folder, but there wasnt any processing folder, neither in Osx nor in Windows. I tried to make a new clean install. I uninstalled Qgis from windows, deleted qgis from application in Osx, deleted .qgis folder, deleted from registry, but still doesnt work. Same problem on Osx. I dont know if there can be still any hidden files, wich I have not deleted.

When i was uninstalling I found some older version of qgis, wich I uninstalled before the clean install. So it is possible, that the problem was beacause of this. But now there is only qgis 2.6. So if you have any idea I were really very appreciate it.

qgib commented 9 years ago

Author Name: Anita Graser (@anitagraser)


The join issue was addressed and fixed in #19938


qgib commented 9 years ago

Author Name: Anita Graser (@anitagraser)


Are you trying to open a model created using Processing 2.6? I cannot reproduce any issues testing that.

But older models are incompatible as far as I know.

qgib commented 9 years ago

Author Name: Giovanni Manghi (@gioman)


But older models are incompatible as far as I know.

I believe that Victor or Alexander made something to allow import models made with old version of processing. A few days ago I import a model (pretty complicated) done surely more than a year ago and was added with no issues (and worked too).

qgib commented 9 years ago

Author Name: Major Balazs (Major Balazs)


Yes, I saved the model with 2.6. In the toolbox I can find it, but I cant open from the modeler.

qgib commented 9 years ago

Author Name: Alexander Bruy (@alexbruy)


Just checked with attached model, it opens without errors in master and 2.8.1. Also after saving this model listed in the toolbox and can be executed from it.