[Gfoss] QGis Python

Patti Giuseppe geognu a infinito.it
Ven 12 Dic 2008 17:48:07 CET


Per vedere se fosse veramente il caso sfortunato: ieri ho speso una 
mezz'oretta ad installare debian lenny in una partizione separata. 
Installo qgis dai repo, tutto fila liscio, installo i plugin 
e.....inovvidisco ;-) su debian ho esattamente lo stesso errore che su 
Arch....indipendentemente dal plugin! E adesso?


Patti Giuseppe ha scritto:
> Non riuscendo pił a far partire QGis, dopo vari smacchinamenti sono
> riuscito ad installare sulla mia ArchLinux box sia python 2.6 (di
> default nel package manager) che la 2.5 (a manina), poi ho aggiunto alla
> 2.5 (compilando anche questi a manina) i moduli sip e PyQt4. A questo
> punto QGis parte, il plugin installer funziona, ma appena carico un
> plugin ho errori come questo (es. per il plugin ImageMap):
>
>
> Couldn't load plugin imagemap_plugin due an error when calling its
> initGui() method
>
> Traceback (most recent call last):
>  File "", line 1, in
>  File
> "/home/beppe/.qgis//python/plugins/imagemap_plugin/imagemapplugin.py",
> line 26, in initGui
>    self.action = QAction(QIcon(":/imagemapicon.xpm"), "Image Map",
> self.iface.mainWindow())
> AttributeError: mainWindow
>
> Python version:
> 2.5.2 (r252:60911, Jul  8 2008, 21:21:10)
> [GCC 4.3.1 20080626 (prerelease)]
>
> Python path:
> ['/usr/share/qgis/python', '/home/beppe/.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/lib/python2.5/site-packages']
>
>
>
>
>



Maggiori informazioni sulla lista Gfoss