some plugins pop up a meaningful message at install time when requirements are not on the system - would be nice to have that in sextante also.<div><br></div><div>cheers</div><div>Etienne<br><br><div class="gmail_quote">On Thu, Mar 28, 2013 at 6:56 PM, Victor Olaya <span dir="ltr"><<a href="mailto:volayaf@gmail.com" target="_blank">volayaf@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">The problem is not in the path, but in the <span style="font-family:arial,sans-serif;font-size:13px">psycopg2 library, which is not installed in your system. Try to install it separatey and you should have no problems with SEXTANTE. </span><div>

<span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">If you want to automate things in the console but not use SEXTANTE, just delete that plugins/sextante folder. You do not need SEXTANTE to use the console</span></div>

<div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">

2013/3/28 Nicolas Najdovski <span dir="ltr"><<a href="mailto:hostis_exaltis@live.fr" target="_blank">hostis_exaltis@live.fr</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div class="h5">

  

    
  
  <div bgcolor="#FFFFFF" text="#000000">
    Well, here is the complete error log :<br>
    <br>
    
    <p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#ff0000">Impossible de charger l'extension
        'sextante' depuis ['/usr/share/qgis/python',
        '/home/nicolas/.qgis//python',
        '/home/nicolas/.qgis//python/plugins',
        '/usr/share/qgis/python/plugins', '/usr/lib/python2.7',
        '/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk',
        '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload',
        '/usr/local/lib/python2.7/dist-packages',
        '/usr/lib/python2.7/dist-packages',
        '/usr/lib/python2.7/dist-packages/PIL',
        '/usr/lib/python2.7/dist-packages/gst-0.10',
        '/usr/lib/python2.7/dist-packages/gtk-2.0',
        '/usr/lib/pymodules/python2.7',
        '/usr/lib/python2.7/dist-packages/ubuntu-sso-client',
        '/usr/lib/python2.7/dist-packages/ubuntuone-client',
        '/usr/lib/python2.7/dist-packages/ubuntuone-control-panel',
        '/usr/lib/python2.7/dist-packages/ubuntuone-couch',
        '/usr/lib/python2.7/dist-packages/ubuntuone-storage-protocol',
        '/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode',
        '/usr/share/qgis/python/plugins/fTools/tools']</span><br>
      <br>
      Traceback (most recent call last):<br>
        File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 143,
      in loadPlugin<br>
          __import__(packageName)<br>
        File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 309,
      in _import<br>
          mod = _builtin_import(name, globals, locals, fromlist, level)<br>
        File "/home/nicolas/.qgis//python/plugins/sextante/__init__.py",
      line 20, in <br>
          from sextante.core.Sextante import runalg, runandload,
      alghelp, alglist, algoptions, load, loadFromAlg, extent,
      getObjectFromName, getObjectFromUri, features<br>
        File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 309,
      in _import<br>
          mod = _builtin_import(name, globals, locals, fromlist, level)<br>
        File
      "/home/nicolas/.qgis//python/plugins/sextante/core/Sextante.py",
      line 53, in <br>
          from sextante.admintools.AdminToolsAlgorithmProvider import
      AdminToolsAlgorithmProvider<br>
        File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 309,
      in _import<br>
          mod = _builtin_import(name, globals, locals, fromlist, level)<br>
        File
      "/home/nicolas/.qgis//python/plugins/sextante/admintools/AdminToolsAlgorithmProvider.py",
      line 19, in <br>
          from sextante.admintools.PostGISExecuteSQL import
      PostGISExecuteSQL<br>
        File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 309,
      in _import<br>
          mod = _builtin_import(name, globals, locals, fromlist, level)<br>
        File
      "/home/nicolas/.qgis//python/plugins/sextante/admintools/PostGISExecuteSQL.py",
      line 32, in <br>
          from sextante.admintools import postgis_utils<br>
        File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 309,
      in _import<br>
          mod = _builtin_import(name, globals, locals, fromlist, level)<br>
        File
      "/home/nicolas/.qgis//python/plugins/sextante/admintools/postgis_utils.py",
      line 39, in <br>
          import psycopg2<br>
        File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 309,
      in _import<br>
          mod = _builtin_import(name, globals, locals, fromlist, level)<br>
      ImportError: No module named psycopg2<br>
      <br>
      Version de Python :<br>
      2.7.3 (default, Sep 26 2012, 21:53:55) <br>
      [GCC 4.7.2]<br>
      <br>
      <br>
      Version de QGIS :<br>
      1.8.0-Lisboa Lisboa, exported<br>
      <br>
      Chemin vers Python : ['/usr/share/qgis/python',
      '/home/nicolas/.qgis//python',
      '/home/nicolas/.qgis//python/plugins',
      '/usr/share/qgis/python/plugins', '/usr/lib/python2.7',
      '/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk',
      '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload',
      '/usr/local/lib/python2.7/dist-packages',
      '/usr/lib/python2.7/dist-packages',
      '/usr/lib/python2.7/dist-packages/PIL',
      '/usr/lib/python2.7/dist-packages/gst-0.10',
      '/usr/lib/python2.7/dist-packages/gtk-2.0',
      '/usr/lib/pymodules/python2.7',
      '/usr/lib/python2.7/dist-packages/ubuntu-sso-client',
      '/usr/lib/python2.7/dist-packages/ubuntuone-client',
      '/usr/lib/python2.7/dist-packages/ubuntuone-control-panel',
      '/usr/lib/python2.7/dist-packages/ubuntuone-couch',
      '/usr/lib/python2.7/dist-packages/ubuntuone-storage-protocol',
      '/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode',
      '/usr/share/qgis/python/plugins/fTools/tools']</p>
    
    <br>
    <div><br>
      <br>
      -------- Message original --------
      <table border="0" cellpadding="0" cellspacing="0">
        <tbody>
          <tr>
            <th nowrap valign="BASELINE" align="RIGHT">Sujet: </th>
            <td>Sextante - erreur d'installation</td>
          </tr>
          <tr>
            <th nowrap valign="BASELINE" align="RIGHT">Date : </th>
            <td>Thu, 28 Mar 2013 22:24:27 +0100</td>
          </tr>
          <tr>
            <th nowrap valign="BASELINE" align="RIGHT">De : </th>
            <td>Nicolas Najdovski <a href="mailto:hostis_exaltis@live.fr" target="_blank"><hostis_exaltis@live.fr></a></td>
          </tr>
          <tr>
            <th nowrap valign="BASELINE" align="RIGHT">Pour : </th>
            <td><a href="mailto:qgis-user@lists.osgeo.org" target="_blank">qgis-user@lists.osgeo.org</a></td>
          </tr>
        </tbody>
      </table>
      <br>
      <br>
      
      Good evening,<br>
      I'm using Ubuntu 12.10 and I would like to run several actions
      automatically in qgis.<br>
      <br>
      I'm trying to install Sextante on qgis 1.8 but the installation
      failed. The problem was that rights to the .qgis folder was only
      granted to root.<br>
      So I fixed that but the installation still failed. In the
      description of the errors, the path that seems to be used is
      ~/.qgis//python/plugins<br>
      <br>
      Shoudn't it be ~/.qgis/python/plugins ?<br>
      <br>
      How can I fix that? Need to modify and recompile something i
      guess, but what?<br>
      <br>
      Thanks!<span><font color="#888888"><br>
      Nicolas Najdovski<br>
      </font></span><br>
      PS : If it's too complicated, is there somthing like arcpy in
      Arcgis that can drive Qgis without sextante?<br>
      <p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"></p>
      
       <br>
    </div>
    <br>
  </div>

<br></div></div>_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
<br></blockquote></div><br></div>