Skip to content
Permalink
Browse files

[BUGFIX][Processing] updateAlgsList

  • Loading branch information
rldhont committed Apr 5, 2018
1 parent 1766269 commit c83261395476b62f67eace32c78460bdcfd79a8f
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/processing/core/Processing.py
@@ -181,7 +181,7 @@ def updateAlgsList():
"""
QApplication.setOverrideCursor(QCursor(Qt.WaitCursor))
for p in Processing.providers:
Processing.reloadProvider(p)
Processing.reloadProvider(p.getName())
QApplication.restoreOverrideCursor()

@staticmethod

4 comments on commit c832613

@gioman

This comment has been minimized.

Copy link
Contributor

@gioman gioman replied May 2, 2018

@rldhont Hi, this commit broke Processing configuration panel in 2.18.19: when clicking "ok" it generates an endless python error.

Traceback (most recent call last):
  File "C:/OSGEO4~1/apps/qgis-ltr/./python/plugins\processing\gui\ProcessingToolbox.py",
line 163, in updateProvider
    item.refresh()
  File "C:/OSGEO4~1/apps/qgis-ltr/./python/plugins\processing\gui\ProcessingToolbox.py",
line 377, in refresh
    Processing.updateAlgsList()
  File "C:/OSGEO4~1/apps/qgis-ltr/./python/plugins\processing\core\Processing.py",
line 184, in updateAlgsList
    Processing.reloadProvider(p.getName())
  File "C:/OSGEO4~1/apps/qgis-ltr/./python/plugins\processing\core\Processing.py",
line 189, in reloadProvider
    algList.reloadProvider(providerName)
  File "C:/OSGEO4~1/apps/qgis-ltr/./python/plugins\processing\core\alglist.py",
line 55, in reloadProvider
    p.loadAlgorithms()
  File "C:/OSGEO4~1/apps/qgis-ltr/./python/plugins\processing\core\AlgorithmProvider.py",
line 56, in loadAlgorithms
    self._loadAlgorithms()
  File "C:/OSGEO4~1/apps/qgis-ltr/./python/plugins\processing\modeler\ModelerAlgorithmProvider.py",
line 73, in _loadAlgorithms
    folders = ModelerUtils.modelsFolders()
  File "C:/OSGEO4~1/apps/qgis-ltr/./python/plugins\processing\modeler\ModelerUtils.py",
line 46, in modelsFolders
    folder = ProcessingConfig.getSetting(ModelerUtils.MODELS_FOLDER)
  File "C:/OSGEO4~1/apps/qgis-ltr/./python/plugins\processing\core\ProcessingConfig.py",
line 209, in getSetting
    if name in ProcessingConfig.settings.keys():
RuntimeError: maximum recursion depth exceeded in cmp
@jonnyforestGIS

This comment has been minimized.

Copy link
Contributor

@jonnyforestGIS jonnyforestGIS replied May 3, 2018

Hi i confirm this behavior.

Cheers
João

@borysiasty

This comment has been minimized.

Copy link
Member

@borysiasty borysiasty replied May 4, 2018

@rldhont

This comment has been minimized.

Copy link
Contributor Author

@rldhont rldhont replied May 7, 2018

Fixed here d8e39fa

Please sign in to comment.
You can’t perform that action at this time.