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.35k stars 2.98k forks source link

Processing: models cannot be used in batch #19714

Closed qgib closed 5 years ago

qgib commented 9 years ago

Author Name: Paolo Cavallini (@pcav) Original Redmine Issue: 11438 Affected QGIS version: 2.4.0 Redmine category:processing/modeller Assignee: Victor Olaya


When attempting to run a model as a batch process, the dialog is empty. If clicking on Run, I get an error:

Errore durante l'esecuzione di codice Python:

Traceback (most recent call last): File "/usr/share/qgis/python/plugins/processing/gui/BatchProcessingDialog.py", line 170, in accept if not self.setParameterValueFromWidget(param, widget, alg): File "/usr/share/qgis/python/plugins/processing/gui/BatchProcessingDialog.py", line 265, in setParameterValueFromWidget value = widget.getText() AttributeError: 'NoneType' object has no attribute 'getText'


Related issue(s): #17269 (duplicates) Redmine related issue(s): 8511


qgib commented 9 years ago

Author Name: Victor Olaya (@volaya)


Fixed in changeset "de91734fc8d850bff06e6a78d2fa260f56f89291".


qgib commented 9 years ago

Author Name: Paolo Cavallini (@pcav)


I still have issue with this. If I choose a name like "prova" and an autofil with layer name (pt1, pt2 etc.), I get provpt1a, provpt2a etc.


qgib commented 9 years ago

Author Name: Giovanni Manghi (@gioman)


Paolo Cavallini wrote:

I still have issue with this. If I choose a name like "prova" and an autofil with layer name (pt1, pt2 etc.), I get provpt1a, provpt2a etc.

this issue is the same as #17269 but in that case (using the batch mode + autofill) is fixed for me on master (also when running models in batch mode). Do you have any "processing" folder inside .qgis2/python/plugins ?


qgib commented 9 years ago

Author Name: Paolo Cavallini (@pcav)


Nope, clean config. Movet to #17269