[Qgis-developer] Re: GdalTools versions

Giuseppe Sucameli brush.tyler at gmail.com
Mon Jun 7 08:57:06 EDT 2010


On Mon, Jun 7, 2010 at 1:59 PM, Martin Dobias <wonder.sk at gmail.com> wrote:

> As Juergen has written, the updateAvailablePlugins() has the purpose
> to update the list of plugins - it takes just their names, not the
> full path, so the order doesn't really matter. What does matter is the
> order of paths in sys.path.

Oh, sorry Jef, but I didn't understand that your "AFAICS that shouldn't
make a difference" meant that!

On Mon, Jun 7, 2010 at 2:13 PM, Martin Dobias <wonder.sk at gmail.com> wrote:

> - the last paths have been added by GdalTools (and fTools). I think
> this generally is a bad idea and it should be avoided completely. If
> there are any files in distinct plugins with the same file names, they
> will interfere each other, leading to python errors happening only
> under a specific set of loaded plugins. Second, I believe the python
> plugins within QGIS source code are used as examples by other plugin
> developers, so such practice of altering sys.path to include plugin
> subdirs may lead to even more plugins exploiting that.
>
I agree with you. I'm removing that paths.

Cheers.

-- 
Giuseppe Sucameli
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20100607/a7ea80a4/attachment.html


More information about the Qgis-developer mailing list