[Qgis-user] error loading python qgis plugin
Michele Ferretto
michele.ferretto at tiscali.it
Sat Aug 23 07:04:47 PDT 2008
I have posted the same issue in the forum, without any reply
I'can't load the python plugins, the log is:
Couldn't load plugin geocode due an error when calling its initGui() method
Traceback (most recent call last):
File "", line 1, in
File "/home/iron/.qgis//python/plugins/geocode/geocodeplugin.py", line
30, in initGui
self.iface.addToolBarIcon(self.action)
TypeError: argument 1 of QgisInterface.addToolBarIcon() has an invalid type
Python version:
2.5.2 (r252:60911, Jul 31 2008, 17:44:49)
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)]
Python path:
['/usr/share/qgis/python', '/home/iron/.qgis//python/plugins',
'/usr/share/qgis/python/plugins', '/usr/lib/python25.zip',
'/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/PIL',
'/var/lib/python-support/python2.5',
'/var/lib/python-support/python2.5/gtk-2.0',
'/var/lib/python-support/python2.5/HTMLgen']
It's the same for each plugin: is it a python path problem?
Thanks,
Michele
--
Dr. Michele Ferretto
RSN Biosphaera s.c.
via Angelini 1
38061 Ala loc. Pilcante (TN)
cell 3477633710
michele at cooperativabiosphaera.it
www.cooperativabiosphaera.it/staff/michele-ferretto
www.cooperativabiosphaera.it
More information about the Qgis-user
mailing list