Bug report #12740

Algorithms sometimes disappear from the toolbox

Added by Giovanni Allegri over 8 years ago. Updated about 8 years ago.

Assignee:Victor Olaya
Affected QGIS version:2.8.1 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:20839


That's explained in the subject.
Many users are facing this issue. During my courses I hear them complaining they can't find some algorithms I ask them to use, simply because thay're not listed correctly. If they switch between Simplified/Advanced Interface (maybe a couple of times) the algorithm node appears again.
I haven't been able to find a rule to reproduce it, but it happened to me too various times.


#1 Updated by Giovanni Manghi over 8 years ago

weird, I also give quite a lot of training and I do not remember someone to have ever hit this issue.

#2 Updated by Paolo Cavallini over 8 years ago

I confirm the issue. Unable to replicate it reliably though. Only seen with the simplified interface.

#3 Updated by Giovanni Manghi over 8 years ago

  • Category changed from 94 to Processing/Core

#4 Updated by Victor Olaya over 8 years ago

  • Priority changed from Normal to Severe/Regression

i am raising the priority of this to Blocker

The issue seems to be in the SAGA provider, that sometimes is not correctly initialized (After the change i introduced to autodetect the SAGA version), so SAGA algorithms do not appear. Switching the toolbox mode refreshes the provider, so that's why it fixes the issue

#5 Updated by Victor Olaya over 8 years ago

  • Status changed from Open to Feedback

Not able to reproduce this in Win, but it fails most of the time (althoug not always)in Mac, raising an IOError if saga is run on startup

I could not find a solid explanation of why that happens, and not a lot of info on the error after googling about it.

For now, I have implemented a retry mechanism which seems to do the trick. I also added some improvements for the SAGA initialize process itself.

It is in 77ca802

Please, test and close the ticket if this is solved

#6 Updated by Victor Olaya about 8 years ago

  • Status changed from Feedback to Closed

Haven't received any feedback, but this seems to be fixed and working fine since some time ago, so I am closing this. Reopen if necessary

Also available in: Atom PDF