[Qgis-developer] --configpath unactive on QGIS master

MORREALE Jean Roc jr.morreale at enoreth.net
Tue May 15 13:20:10 PDT 2012


Hi,

A ticket is open (#5544), this problem can be reproduced on Windows XP, 
Windows 7 and Fedora 17 with qgis-dev from OSGeo4W and git master.

As it is making difficult to package qgis or use it on a USB device, 
should I set the affected version to 1.8 and/or raise its priority status ?

regards,
jean-roc

http://hub.qgis.org/issues/5544

Le 23/04/2012 14:18, jr.morreale at enoreth.net a écrit :
> Hi,
>
> I would like to know if anybody here is using the configpath option on
> Windows 7 with qgis-master (rv991c7ba for me) to confirm the following
> behaviour so I can open a ticket.
>
> We package QGIS with many default parameters to ease the deploying, one
> of the modifications is the location of ~/.qgis :
>
> C:\OSGeo4W\bin\qgis-dev.bat --configpath D:\SIG\qgis\
>
> If I install a new plugin, it gets correctly downloaded in to
> D:\SIG\qgis\python\plugins but when QGIS tries to load it it doesn't
> find it as it is looking everywhere for ./python except the configpath.
>
> Can't load plugin 'sextante' from ['C:/OSGeo4W/apps/qgis-dev/./python',
> 'C:\Users\morreale jean roc/.qgis/python', 'C:\Users\morreale jean
> roc/.qgis/python/plugins', 'C:/OSGeo4W/apps/qgis-dev/./python/plugins',
> 'C:\OSGeo4W\bin\python27.zip', 'C:\OSGeo4W\apps\Python27\DLLs',
> 'C:\OSGeo4W\apps\Python27\lib', 'C:\OSGeo4W\apps\Python27\lib\plat-win',
> 'C:\OSGeo4W\apps\Python27\lib\lib-tk', 'C:\OSGeo4W\apps\qgis-dev\bin',
> 'C:\OSGeo4W\apps\Python27',
> 'C:\OSGeo4W\apps\Python27\lib\site-packages',
> 'C:\OSGeo4W\apps\Python27\lib\site-packages\PIL',
> 'C:\OSGeo4W\apps\qgis-dev\python\plugins\fTools\tools']
>
> Traceback (most recent call last):
> File "C:/OSGeo4W/apps/qgis-dev/./python\qgis\utils.py", line 143, in
> loadPlugin
> __import__(packageName)
> File "C:/OSGeo4W/apps/qgis-dev/./python\qgis\utils.py", line 309, in
> _import
> mod = _builtin_import(name, globals, locals, fromlist, level)
> ImportError: No module named sextante
>
> regards,
> jean-roc
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer



More information about the Qgis-developer mailing list