<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Il 16/04/2012 16:03, Victor Olaya ha scritto:
    <blockquote
cite="mid:CAJsc-7zn63KDOuG3ACfB1LP0udaedoo0fdGjysHNtT=rZcXbMw@mail.gmail.com"
      type="cite">
      <pre wrap="">Paolo

I fixed that. The checking I do is to try to execute saga_cmd without
parameters and see if the response is the saga help screen or the
console complaining about not finding that command. but I was not
correctly checking the output of the saga_cmd (mispelled "-----"
instead of "___")

It is still a simple mechanism, but should work for now, and that at
least guarantees that SAGA is installed before letting the user run
anything. I created a similar thing for the R bindings

Regards

Victor

El d&iacute;a 16 de abril de 2012 10:32, Victor Olaya <a class="moz-txt-link-rfc2396E" href="mailto:volayaf@gmail.com">&lt;volayaf@gmail.com&gt;</a> escribi&oacute;:
</pre>
      <blockquote type="cite">
        <pre wrap="">Paolo

That is just something that I added to automatically test if SAGA is
installed, so it does not let you execute a SAGA algorithm if SAGA is
not installed. Clearly, it is not working, since it is obvious that
you have SAGA installed...

Let me work on it a bit more, because I am not sure that it is a good
idea... I am just thinking about how to make the configuration of
external applications easier, while being robust at the same time

Regarding the SAGA error, that is not a problem, do not worry about
that, you are just missing a library on the command line, because taht
library just contain interactive modules that cannot be run on the
console. It is a SAGa issue, but it should not bother you

regards

El d&iacute;a 16 de abril de 2012 10:25, Paolo Cavallini
<a class="moz-txt-link-rfc2396E" href="mailto:cavallini@faunalia.it">&lt;cavallini@faunalia.it&gt;</a> escribi&oacute;:
</pre>
        <blockquote type="cite">
          <pre wrap="">StartFragmentHi all.

Just upgraded from svn, to test your fixes, now I get:


It seems that SAGA is not correctly installed in your system.

Please install it before running SAGA algorithms.


No options are available to add the path to saga, so I'm stuck.

In fact, starting saga_cmd returns a couple of errors:
error: module library
...
error: Library does not contain executable modules [librecreations_games.so]

...
59 SAGA Module Libraries

Should I wait for the next release of the plugin before keeping on testing,
or can I go on with trunk?
All the best, and thanks.

--
Paolo Cavallini
See: <a class="moz-txt-link-freetext" href="http://www.faunalia.it/pc">http://www.faunalia.it/pc</a>


_______________________________________________
Qgis-developer mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a>

</pre>
        </blockquote>
      </blockquote>
    </blockquote>
    Hi Victor,<br>
    gracias for this. Unfortunately I still get:<br>
    <br>
    <meta name="qrichtext" content="1">
    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
      margin-right:0px; -qt-block-indent:0; text-indent:0px;"><!--StartFragment-->It
      seems that SAGA is not correctly installed in your system.</p>
    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
      margin-right:0px; -qt-block-indent:0; text-indent:0px;">Please
      install it before running SAGA algorithms.<!--EndFragment--></p>
    <meta http-equiv="Content-Type" content="text/html;
      charset=ISO-8859-1">
    <style type="text/css">
p, li { white-space: pre-wrap; }
</style><br>
    after upgrading to r101<br>
    All the best.<br>
    <pre class="moz-signature" cols="72">-- 
Paolo Cavallini
See: <a class="moz-txt-link-freetext" href="http://www.faunalia.it/pc">http://www.faunalia.it/pc</a></pre>
  </body>
</html>