Skip to content

Commit c832613

Browse files
committedApr 5, 2018
[BUGFIX][Processing] updateAlgsList
1 parent 1766269 commit c832613

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎python/plugins/processing/core/Processing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ def updateAlgsList():
181181
"""
182182
QApplication.setOverrideCursor(QCursor(Qt.WaitCursor))
183183
for p in Processing.providers:
184-
Processing.reloadProvider(p)
184+
Processing.reloadProvider(p.getName())
185185
QApplication.restoreOverrideCursor()
186186

187187
@staticmethod

4 commit comments

Comments
 (4)

gioman commented on May 2, 2018

@gioman
Contributor

@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 commented on May 3, 2018

@jonnyforestGIS
Contributor

Hi i confirm this behavior.

Cheers
João

borysiasty commented on May 4, 2018

@borysiasty
Member

rldhont commented on May 7, 2018

@rldhont
ContributorAuthor

Fixed here d8e39fa

Please sign in to comment.