[Qgis-user] error loading python qgis plugin

Michele Ferretto michele.ferretto at tiscali.it
Sat Aug 23 12:36:14 PDT 2008


Thank you Ron,
I 've tested your plugin but the result is the same; but my problem
relates ALL the plugins installed, none of them can start; I'm thinking
about s python-qt4 or python-sip4 issue: I've installed the 4.4.3 and
4.4.7 version, respectively

>>> print sys.version
2.5.2 (r252:60911, Jul 31 2008, 17:28:52)
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)]



Ron Bentley wrote:
> I'm running on vanilla Debian, but my Python version is virtually
> identical to yours.  (I am running the Io version of QGIS, 0.10.0.)  I
> modified the example "newlayer" plugin to run with your "def initGui()"
> section (at least the first part) and it started without any problems.
> I'm attaching the Python for that plugin.
> 
> Having run the plugin, here's what I see from the Python console -- just
> for you to compare:
> 
>>>> print sys.path
> ['/home/rbentley/.qgis//python/plugins', '/usr/share/qgis/python',
> '/usr/share/qgis/python/plugins', '/usr/lib/python2.5',
> '/usr/lib/python2.5/plat-linux2', '/usr/lib/python2.5/lib-tk',
> '/usr/lib/python2.5/lib-dynload',
> '/usr/local/lib/python2.5/site-packages',
> '/usr/lib/python2.5/site-packages',
> '/usr/lib/python2.5/site-packages/Numeric',
> '/usr/lib/python2.5/site-packages/gst-0.10',
> '/var/lib/python-support/python2.5',
> '/usr/lib/python2.5/site-packages/gtk-2.0',
> '/var/lib/python-support/python2.5/gtk-2.0']
> 
>>>> print sys.version
> 2.5.2 (r252:60911, Jul 25 2008, 23:18:13) [GCC 4.3.1]
> 
> I'd be glad to try to run a stripped down version of your full plugin if
> you could tar up the plugin directory.
> 
> Ron Bentley



More information about the Qgis-user mailing list