Re: [Qgis-developer] SAGA modules (version 2.1.0) through SEXTANTE on Mac OSX

2012-12-21 Thread Olav Peeters
Hi Salvatore, I'm on version 1.0.8 installed through the Python Plugin Installer. I guess these latest changes on github have not yet made into the packaged version... I will try again with sextante from source... tomorrow ;-) Olav On 22/12/12 00:16, Salvatore Larosa wrote: Hi Olav, 2012/12/2

Re: [Qgis-developer] SAGA modules (version 2.1.0) through SEXTANTE on Mac OSX

2012-12-21 Thread Salvatore Larosa
Hi Olav, 2012/12/21 Olav Peeters > A quick and dirty circumvention of the check is to change line 373 in > ~/.qgis/python/plugins/**sextante/saga/SagaAlgorithm.py > to: > if "" in line: > (restart Qgis) > > this way the modules do open since the check is basically disabled. > The original code s

Re: [Qgis-developer] SAGA modules (version 2.1.0) through SEXTANTE on Mac OSX

2012-12-21 Thread Olav Peeters
A quick and dirty circumvention of the check is to change line 373 in ~/.qgis/python/plugins/sextante/saga/SagaAlgorithm.py to: if "" in line: (restart Qgis) this way the modules do open since the check is basically disabled. The original code should also though. Maybe it's encoding related. Whe

Re: [Qgis-developer] SAGA modules (version 2.1.0) through SEXTANTE on Mac OSX

2012-12-20 Thread Olav Peeters
I have the same output as John Olav On 21/12/12 00:16, John C. Tull wrote: Hi Victor, Below are the outputs from my terminal. The error:library is a non-issue according to comments on the dev forum for saga. Regards, John which saga_cmd /usr/local/bin/saga_cmd saga_cmd ___

Re: [Qgis-developer] SAGA modules (version 2.1.0) through SEXTANTE on Mac OSX

2012-12-20 Thread John C. Tull
Hi Victor, Below are the outputs from my terminal. The error:library is a non-issue according to comments on the dev forum for saga. Regards, John > which saga_cmd > /usr/local/bin/saga_cmd > saga_cmd _ # ## ### ### ### ##

Re: [Qgis-developer] SAGA modules (version 2.1.0) through SEXTANTE on Mac OSX

2012-12-20 Thread Victor Olaya
There is actually the following check in the case of mac and linux: command = ["saga_cmd"] proc = subprocess.Popen(command, shell=True, stdout=subprocess.PIPE, stdin=subprocess.PIPE,stderr=subprocess.STDOUT, universal_newlines=True).stdout for line in iter(proc.

Re: [Qgis-developer] SAGA modules (version 2.1.0) through SEXTANTE on Mac OSX

2012-12-20 Thread John C. Tull
On Dec 19, 2012, at 2:49 AM, Victor Olaya wrote: > Olav, > > Thanks for your contribution! > >> >> There is no option "SAGA folder" in the SEXTANTE configuration like you have >> when installing on Windows. I haven't checked on Linux, but I guess the >> Unixes don't need this, as long as saga_

Re: [Qgis-developer] SAGA modules (version 2.1.0) through SEXTANTE on Mac OSX

2012-12-19 Thread Victor Olaya
Olav, Thanks for your contribution! > > There is no option "SAGA folder" in the SEXTANTE configuration like you have > when installing on Windows. I haven't checked on Linux, but I guess the > Unixes don't need this, as long as saga_cmd is in the path, right? Right, Mac and Linux should work in

[Qgis-developer] SAGA modules (version 2.1.0) through SEXTANTE on Mac OSX

2012-12-19 Thread Olav Peeters
Hi all, I managed to successfully get SAGA installed from source on Mac OSX 10.6.8 Since the instructions on the SAGA wiki (http://sourceforge.net/apps/trac/saga-gis/wiki/Compiling%20SAGA%20on%20Mac%20OS%20X) did not seem to work well in my case, here is what I did: on a system (in my case OS