[Qgis-developer] error with --configpath option in QGIS 2.8

matteo matteo.ghetta at gmail.com
Tue May 5 03:13:07 PDT 2015


Hi all,
I'm trying to run QGIS with the --configpath option enabled, but it 
throws me an error:



Couldn't load qgis.user.
Python support will be disabled.

Traceback (most recent call last):
   File "", line 1, in
   File 
"/home/ma7730/lavori/QGIS-master/build28/output/python/qgis/utils.py", 
line 478, in _import
     mod = _builtin_import(name, globals, locals, fromlist, level)
   File 
"/home/ma7730/lavori/QGIS-master/build28/output/python/qgis/user.py", 
line 39, in
     import expressions
   File 
"/home/ma7730/lavori/QGIS-master/build28/output/python/qgis/utils.py", 
line 478, in _import
     mod = _builtin_import(name, globals, locals, fromlist, level)
ImportError: No module named expressions


Python version:
2.7.9 (default, Apr 29 2015, 18:41:52)
[GCC 4.9.2]

QGIS version:
2.8.1-Wien 'Wien', ddccf8e

Python path:
['/home/ma7730/lavori/QGIS-master/build28/output/python', 
u'/home/ma7730/Downloads/python', 
u'/home/ma7730/Downloads/python/plugins', 
'/home/ma7730/lavori/QGIS-master/build28/output/python/plugins', 
'/usr/local/lib/python2.7/dist-packages/MapProxy-1.7.1-py2.7.egg', 
'/home/ma7730/lavori/QGIS-master/build28/output/python/qgis', 
'/home/ma7730/.qgis2/python/plugins', '/usr/lib/python2.7', 
'/usr/lib/python2.7/plat-i386-linux-gnu', '/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/PILcompat', 
'/usr/lib/python2.7/dist-packages/gtk-2.0', 
'/usr/lib/pymodules/python2.7', u'/home/ma7730/Downloads/python']



I'm on a Debian testing machine and this version of QGIS was compiled 
(so without repositories).

Weird is that with the compiled master I don't have any problem with the 
--configpath option.

Am I missing something?!

Thanks

Cheers

Matteo


More information about the Qgis-developer mailing list