I cannot use the QGIS settings options, because I am getting the error as per below:

Traceback (most recent call last):
  File "C:/Users/mariuszk/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ORStools\proc\provider.py", line 69, in loadAlgorithms
RuntimeError: wrapped C/C++ object of type ORSdirectionsPointsLayersAlgo has been deleted

It applies not only for digitalizing, but also for colour changes and any other option.

enter image description here

How can I fix it? Or shall I do the reinstallation/upgrade to new version? Upgrade QGIS to version 3.10 didn't help.

  • 2
    The error seem to come from the ORS tool plugin, try to deactivate and/or reinstalling it
    – J.R
    Commented Dec 16, 2019 at 16:33
  • Yep, now the errror is gone :) SO If I will want to use OR plugin in the future, then I must forget about digitalizing then.
    – Geographos
    Commented Dec 16, 2019 at 16:36
  • 1
    I've changed the title because this error is a general error for plugins which use addAlgorithm method in a for loop Commented Dec 17, 2019 at 9:33
  • I have the same error but the warning is : File C:/PROGRA~1/QGIS3~1.2/apps/qgis/./python/plugins\processing\gui\ProcessingToolbox.py", line 352, in executeAlgorithm if dlg.wasExecuted():. I have tried to clip a raster by a vector mask. Commented Aug 8, 2020 at 17:03

1 Answer 1

  • Open ORStools\proc\provider.py file located in plugins folder via QGIS Python Editor (or in any editor).
  • Goto line 69
  • Remove for loop (two lines)

    for alg in self.alglist:
  • Add the following lines


Reference: Fix incorrect ownership of algorithms in processing provider

All plugins which use addAlgorithm method in a for loop give a similar error, dzetsaka for example. All these (ORS**) are methods within self.alglist. Therefore, solution differs from plugin to plugin.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.