[Qgis-user] error loading python qgis plugin

Ron Bentley rtbentley at gmail.com
Sat Aug 23 07:21:03 PDT 2008


> 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

Michele,

Could you post the entire "def initGui" section, particularly the part 
where you instantiate self.action?

And, I'm sorry to hijack your thread, but you mentioned another problem:

 > I  have posted the same issue in the forum, without any reply

The forums seem to have been surrendered to the spammers -- at least the 
plugin forum.  Can the old-timers around here comment?  For those of us 
who have begun to watch the forum, is there any point in even tagging 
the spam?

Ron Bentley



More information about the Qgis-user mailing list