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

LTR-QGIS crashes after edit a Modell #26876

Closed
qgib opened this issue May 28, 2018 · 6 comments
Closed

LTR-QGIS crashes after edit a Modell #26876

qgib opened this issue May 28, 2018 · 6 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Crash/Data Corruption High Priority Processing Relating to QGIS Processing framework or individual Processing algorithms Regression Something which used to work, but doesn't anymore

Comments

@qgib
Copy link
Contributor

qgib commented May 28, 2018

Author Name: Claas Leiner (@claasleiner)
Original Redmine Issue: 19046
Affected QGIS version: 2.18.20
Redmine category:processing/modeller


Dear developers,

Since qgis 2.19 QGIS models can not be closed after processing without QGIS crashes.
Occurs on Linux, Windows, Mac

This significantly limits the usability of the LTR-QGIS for power-users.
In addition to bug report # 18939, I'd like to suggest giving this bug a high priority.


Ein Fehler trat bei der Ausführung von Python-Code auf:

RuntimeError: maximum recursion depth exceeded
Traceback (most recent call last):
File "/usr/share/qgis/python/plugins/processing/gui/ProcessingToolbox.py", line 163, in updateProvider
item.refresh()
File "/usr/share/qgis/python/plugins/processing/gui/ProcessingToolbox.py", line 377, in refresh
Processing.updateAlgsList()
File "/usr/share/qgis/python/plugins/processing/core/Processing.py", line 184, in updateAlgsList
Processing.reloadProvider(p.getName())
File "/usr/share/qgis/python/plugins/processing/core/Processing.py", line 189, in reloadProvider
algList.reloadProvider(providerName)
File "/usr/share/qgis/python/plugins/processing/core/alglist.py", line 55, in reloadProvider
p.loadAlgorithms()
File "/usr/share/qgis/python/plugins/processing/core/AlgorithmProvider.py", line 56, in loadAlgorithms
self._loadAlgorithms()
File "/usr/share/qgis/python/plugins/processing/modeler/ModelerAlgorithmProvider.py", line 76, in _loadAlgorithms
self.loadFromFolder(f)
File "/usr/share/qgis/python/plugins/processing/modeler/ModelerAlgorithmProvider.py", line 86, in loadFromFolder
alg = ModelerAlgorithm.fromFile(fullpath)
File "/usr/share/qgis/python/plugins/processing/modeler/ModelerAlgorithm.py", line 641, in fromFile
alg = ModelerAlgorithm.fromJsonFile(filename)
File "/usr/share/qgis/python/plugins/processing/modeler/ModelerAlgorithm.py", line 630, in fromJsonFile
alg = ModelerAlgorithm.fromJson(s)
File "/usr/share/qgis/python/plugins/processing/modeler/ModelerAlgorithm.py", line 623, in fromJson
raise WrongModelException(e.args[0])
RuntimeError: maximum recursion depth exceeded

Python-Version: 2.7.12 (default, Dec 4 2017, 14:50:18) [GCC 5.4.0 20160609]
QGIS-Version: 2.18.20 Las Palmas, e8e15d5

Python-Pfad:
/usr/share/qgis/python/plugins/processing
/usr/share/qgis/python
/home/leiner/.qgis2/python
/home/leiner/.qgis2/python/plugins
/usr/share/qgis/python/plugins
/usr/lib/python2.7
/usr/lib/python2.7/plat-x86_64-linux-gnu
/usr/lib/python2.7/lib-tk
/usr/lib/python2.7/lib-old
/usr/lib/python2.7/lib-dynload
/usr/local/lib/python2.7/dist-packages
/usr/lib/python2.7/dist-packages
/usr/lib/python2.7/dist-packages/PILcompat
/usr/lib/python2.7/dist-packages/gtk-2.0
/home/leiner/.qgis2//python


Related issue(s): #26709 (duplicates)
Redmine related issue(s): 18877


@qgib
Copy link
Contributor Author

qgib commented May 28, 2018

Author Name: Giovanni Manghi (@gioman)


do you mean "2.18.19"?

Can you add exact steps on how replicate the issue? thanks.


  • status_id was changed from Open to Feedback

@qgib
Copy link
Contributor Author

qgib commented May 28, 2018

Author Name: Claas Leiner (@claasleiner)


Hi Giovanni,

Yes i mean 2.18.19

When editing a model, e.g. If a new algorithm is added, the model can still be successfully saved but not closed without the error message coming up. The error message can not be closed. The program must be aborted via the task manager.

@qgib
Copy link
Contributor Author

qgib commented May 28, 2018

Author Name: Giovanni Manghi (@gioman)


I cannot confirm here (ubuntu 16.04)-

@qgib
Copy link
Contributor Author

qgib commented Jun 5, 2018

Author Name: Matthias Kuhn (@m-kuhn)


Pull request pending in #7116


  • status_id was changed from Feedback to In Progress
  • pull_request_patch_supplied was changed from 0 to 1

@qgib
Copy link
Contributor Author

qgib commented Jun 20, 2018

@qgib
Copy link
Contributor Author

qgib commented Jun 20, 2018

Author Name: Martin Dobias (@wonder-sk)


PR merged few days ago - closing.


  • resolution was changed from to fixed/implemented
  • status_id was changed from In Progress to Closed

@qgib qgib closed this as completed Jun 20, 2018
@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority Processing Relating to QGIS Processing framework or individual Processing algorithms Crash/Data Corruption Regression Something which used to work, but doesn't anymore labels 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! Crash/Data Corruption High Priority Processing Relating to QGIS Processing framework or individual Processing algorithms Regression Something which used to work, but doesn't anymore
Projects
None yet
Development

No branches or pull requests

1 participant