[Qgis-user] saga disappears from QGIS 2.18.14 on mac os Sierra

Olav Peeters opeeters at gmail.com
Thu Dec 28 15:08:21 PST 2017


Thanks Carlos,
this is indeed the same issue. I had the issue on OSX 10.13.2, both with
QGIS 2.18.2 and 2.18.14 (the KyngChaos version with prepackaged SAGA).
After not being able to find a solution I just started using SAGA on a
different machine when needed.

On OSX you apparently need to be root to be able to edit the
SagaAlgorithmProvider.py file
So do e.g. this in a terminal:
sudo vi
/Applications/QGIS.app/Contents/Resources/python/plugins/processing/algs/saga/SagaAlgorithmProvider.py

go to line 76 (:76)
change:
if not version.startswith('2.3.'):

to e.g.:
if not version.startswith('2.2.'):

to check your SAGA version execute:
/Applications/QGIS.app/Contents/MacOS/bin/saga_cmd

Cheers,
Olav





On 28 December 2017 at 22:51, Carlos Cerdán <sig.upagu at gmail.com> wrote:

> Hi Timothée:
>
> Even you're on Mac, perhaps it's related with issue (and *temporal*
> solution) described here:
>
> https://gis.stackexchange.com/questions/224617/problem-
> getting-saga-activated-in-ubuntu-qgis-2-18-2
>
> You can try workaround described there: Look for SagaAlgorithmProvider.py
> file and change line 76 (or equivalent)
>
> Good luck
>
> Carlos
>
>
>
>
> 2017-12-28 4:18 GMT-05:00 Timothée Colas <timothee at fruitionsciences.com>:
>
>> Hello !
>> It's my first time in qgis user mailing list, I hope I'm doing it right.
>>
>> So I have an issue on QGIS 2.18.14 on mac os Sierra. I post for it on
>> gis.stackexchange and I search everywhere without good results.
>>
>> I upgraded QGIS from 2.18.0 to 2.18.14 but I losted Saga in processing
>> tools.
>>
>> First I tried to disable/reactivate it in processing > options >
>> providers but nothing.
>>
>> I searched some solution on web and I saw that I can't change Saga folder
>> in providers.
>>
>> [image: enter image description here]
>> <https://i.stack.imgur.com/k6SKP.png>
>>
>> So I find a way to change it in QGIS advanced options > processing >
>> configuration menu. I tried some folders but nothing worked...
>>
>> [image: enter image description here]
>> <https://i.stack.imgur.com/5K9Wc.png>
>>
>> In others gis.stackexchange posts people said to use Osgeo4W Saga
>> installation but i'm on mac OS not on Windows...
>> After that, I installed Saga GIS with homebrew and i tried some path for
>> saga but nothing works.
>> /usr/local/Cellar/saga-gis-lts/2.3.2, /usr/local/Cellar/saga
>> -gis-lts/2.3.2/lib, /usr/local/Cellar/saga-gis-lts/2.3.2/bin
>>
>> Can you help me to bring Saga back ?
>>
>> Thank you in advance
>>
>> Timothée
>> --
>> Timothée Colas
>> Géomaticien
>> Fruition Sciences
>> 09 53 22 13 00
>>
>> _______________________________________________
>> Qgis-user mailing list
>> Qgis-user at lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>>
>
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20171229/c17ec491/attachment.html>


More information about the Qgis-user mailing list