[Qgis-developer] grass plugin + python

Martin Dobias wonder.sk at gmail.com
Mon Nov 10 18:27:16 EST 2008


Hi,

at least the PyQGIS error is caused by the presence of older version
of QGIS, supposedly in the same directory where have you installed
current trunk version. Usually deleting the whole installation
directory and doing 'make install' helps.

Martin


On Mon, Nov 10, 2008 at 6:17 PM, Byambaa Mendbayar
<mendbayar_b at mongol.net> wrote:
> Dear developers,
>
> I have compiled latest svn head and to run QGIS after that I have get
> following from console which is load grass plugin.
>
> ------------------------------------------------
> Debug: /home/bmendbayar/development/qgis/src/core/qgsproviderregistry.cpp: 195: (QgsProviderRegistry) Checking  /home/bmendbayar/development/qgis/apps/lib/qgis/libgrassprovider.so : ...invalid (lib not loadable)
> ------------------------------------------------
>
> How to load grass plugin in QGIS? (Of course my compilation and linking
> was successful)
>
> By the way I have also get one pop-up window which is titled "Python
> error" context is following:
>
> ---------------------------------------------------
> Couldn't load PyQGIS.
> Python support will be disabled.
>
> Traceback (most recent call last):
>  File "", line 1, in
> ImportError: No module named qgis.core
>
> Python version:
> 2.5.2 (r252:60911, Jun  7 2008, 00:38:48)
> [GCC 4.3.1 20080507 (prerelease) [gcc-4_3-branch revision 135036]]
>
> Python path:
> ['/python', '/home/bmendbayar/.qgis//python/plugins', '/python/plugins',
> '/usr/lib/python25.zip', '/usr/lib64/python2.5',
> '/usr/lib64/python2.5/plat-linux2', '/usr/lib64/python2.5/lib-tk',
> '/usr/lib64/python2.5/lib-dynload',
> '/usr/lib64/python2.5/site-packages',
> '/usr/lib64/python2.5/site-packages/Numeric',
> '/usr/lib64/python2.5/site-packages/PIL',
> '/usr/lib64/python2.5/site-packages/gtk-2.0',
> '/usr/local/lib64/python2.5/site-packages',
> '/usr/local/lib64/python2.5/site-packages/wx-2.8-gtk2-unicode']
>
> ---------------------------------------------------
>
> How can I enable it?
>
>
> Thanks and best regards,
> B. Mendbayar
>
>
> _______________________________________________
> 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