-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Enabling/disabling algorithm providers as well as creating/removing preconfigured algorithms causes an infinite loop (regression after c83261395476b62f6) #26693
Comments
Author Name: Borys Jurgiel (@borysiasty)
RuntimeError: maximum recursion depth exceeded What worse, this exception is recurrent, making QGIS unusable until it's killed. RuntimeError: maximum recursion depth exceeded What worse, this exception is recurrent, making QGIS unusable until it's killed. |
Author Name: Borys Jurgiel (@borysiasty) It happens when the algorithm list is refreshed after adding or removing a preconfigred algorithm (and probably any other item). |
Author Name: Borys Jurgiel (@borysiasty) The same after enabling or disabling algorithm providers in the Processing options dialog. |
Author Name: Borys Jurgiel (@borysiasty) |
Author Name: Jürgen Fischer (@jef-n)
RuntimeError: maximum recursion depth exceeded What worse, this exception is recurrent, making QGIS unusable until it's killed. Traceback (most recent call last): File "C:/PROGRA~1/QGIS2~1.18/apps/qgis-ltr/./python/plugins\processing\gui\ProcessingToolbox.py", line 163, in updateProvider item.refresh() File "C:/PROGRA~1/QGIS2~1.18/apps/qgis-ltr/./python/plugins\processing\gui\ProcessingToolbox.py", line 377, in refresh Processing.updateAlgsList() File "C:/PROGRA~1/QGIS2~1.18/apps/qgis-ltr/./python/plugins\processing\core\Processing.py", line 184, in updateAlgsList Processing.reloadProvider(p.getName()) File "C:/PROGRA~1/QGIS2~1.18/apps/qgis-ltr/./python/plugins\processing\core\Processing.py", line 189, in reloadProvider algList.reloadProvider(providerName) File "C:/PROGRA~1/QGIS2~1.18/apps/qgis-ltr/./python/plugins\processing\core\alglist.py", line 55, in reloadProvider p.loadAlgorithms() File "C:/PROGRA~1/QGIS2~1.18/apps/qgis-ltr/./python/plugins\processing\core\AlgorithmProvider.py", line 56, in loadAlgorithms self._loadAlgorithms() File "C:/PROGRA~1/QGIS2~1.18/apps/qgis-ltr/./python/plugins\processing\modeler\ModelerOnlyAlgorithmProvider.py", line 53, in _loadAlgorithms self.algs = [CalculatorModelerAlgorithm(), File "C:/PROGRA~1/QGIS2~1.18/apps/qgis-ltr/./python/plugins\processing\core\GeoAlgorithm.py", line 88, in __init__ self.defineCharacteristics() File "C:/PROGRA~1/QGIS2~1.18/apps/qgis-ltr/./python/plugins\processing\modeler\CalculatorModelerAlgorithm.py", line 54, in defineCharacteristics self.tr('Formula', 'CalculatorModelerAlgorithm'), '')) RuntimeError: maximum recursion depth exceeded What worse, this exception is recurrent, making QGIS unusable until it's killed. |
Author Name: Giovanni Manghi (@gioman)
|
Author Name: Nino Formica (Nino Formica) I checked on QGIS. 2.18.19 (revision 3a17f72): problem is still there. |
Author Name: Borys Jurgiel (@borysiasty) Exactly. The only affected version is 2.18.19, and it's fixed in 2.18.20 (to be released tomorrow) |
Author Name: Borys Jurgiel (@borysiasty)
Original Redmine Issue: 18807
Affected QGIS version: 2.18.19
Redmine category:processing/core
Assignee: René-Luc ReLuc
Since c832613, adding or removing preconfigured algorithms leads to a loop that causes an exception:
What worse, this exception is recurrent, making QGIS unusable until it's killed.
The text was updated successfully, but these errors were encountered: