<meta name="qrichtext" content="1"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><style type="text/css">
p, li { white-space: pre-wrap; }
</style>
<p style="margin: 0px; text-indent: 0px;">This my paths:<br></p><p style="margin: 0px; text-indent: 0px;"></p>
<p style="margin: 0px; text-indent: 0px;"><i>[&#39;/usr/local/share/qgis/python&#39;, &#39;/home/brushtyler/.qgis/python&#39;, &#39;/home/brushtyler/.qgis/python/plugins&#39;, &#39;/usr/local/share/qgis/python/plugins&#39;, ... ]</i></p>

<p style="margin: 0px; text-indent: 0px;"></p><p style="margin: 0px; text-indent: 0px;">exactly as Jürgen saw.<br></p><br><br>BTW, utils.py at line 81 contains this:<br><i>plugindirs = [ <br>    unicode(QgsApplication.pkgDataPath()) + &quot;/python/plugins&quot;,<br>

    unicode(QgsApplication.qgisSettingsDirPath()) + &quot;/python/plugins&quot;<br>  ]</i><br>So it searches for plugins in /usr and after in ~/.qgis, but <br>add a plugin to the list only if not already present.<br><br>
Cheers.<br>
<br><div class="gmail_quote">On Mon, Jun 7, 2010 at 12:02 PM, Borys Jurgiel <span dir="ltr">&lt;<a href="mailto:borysiasty@aster.pl">borysiasty@aster.pl</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Dnia poniedzia³ek, 7 czerwca 2010 o 11:34:23 Jürgen E. Fischer napisa³(a):<br>
<div class="im">&gt; Hi Borys,<br>
&gt;<br>
&gt; On Mon, 07. Jun 2010 at 11:09:21 +0200, Borys Jurgiel wrote:<br>
&gt; &gt; Seems they aren&#39;t really preffered. It works at mine, but Giuseppe always<br>
&gt; &gt; see the /usr ones. It&#39;s all about python paths, I&#39;m right? I can&#39;t see<br>
&gt; &gt; any code preferring the ~/ ones in Qgis.<br>
&gt;<br>
&gt; QgsPythonUtilsImpl::initPython() puts<br>
&gt;<br>
&gt; pythonPath()          [/usr/share/qgis/python]<br>
&gt; ~/.qgis/python<br>
&gt; ~/.qgis/python/plugins<br>
&gt; pluginsPath()         [/usr/share/qgis/python/plugins]<br>
&gt;<br>
&gt; in front of the system&#39;s python path.  I think that&#39;s Martin meant.<br>
&gt; imports will prefer the user plugins.<br>
<br>
</div>Exactly. Giuseppe, can you check your paths?<br>
<div class="im"><br>
&gt; But utils.py searches for available plugins first the system plugins and<br>
&gt; then the user plugins, but AFAICS that shouldn&#39;t make a difference.<br>
<br>
</div>Exactly, it creates only a list of module names.<br>
<div><div></div><div class="h5">_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Giuseppe Sucameli<br>