[Qgis-developer] image show hide plugin error

Paolo Cavallini cavallini at faunalia.it
Sat Oct 9 12:51:46 EDT 2010


Just installed, I get an error:
===
Couldn't load plugin imgshowhide due an error when calling its initGui() method

Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/qgis/utils.py", line 147, in startPlugin
    plugins[packageName].initGui()
  File "/home/paolo/.qgis/python/plugins/imgshowhide/imgshowhide_qg.py", line 37, in
initGui
    self.__setDocWidget()
  File "/home/paolo/.qgis/python/plugins/imgshowhide/imgshowhide_qg.py", line 31, in
__setDocWidget
    widget = ShowHideImgWidget(self.__iface)
  File "/home/paolo/.qgis/python/plugins/imgshowhide/imgshowhidewidget.py", line 37,
in __init__
    self.__init()
  File "/home/paolo/.qgis/python/plugins/imgshowhide/imgshowhidewidget.py", line 51,
in __init
    self.__populateCatalogTable(lstLyrPolygon)
  File "/home/paolo/.qgis/python/plugins/imgshowhide/imgshowhidewidget.py", line 100,
in __populateCatalogTable
    if len(lstCatalog) > 0:
TypeError: object of type 'NoneType' has no len()

Python version:
2.6.6 (r266:84292, Sep 15 2010, 15:09:12)
[GCC 4.4.5 20100909 (prerelease)]


QGIS version:
1.6.0-Trunk Trunk, 14356M
===
Anyone confirms?
All the best.
-- 
Paolo Cavallini: http://www.faunalia.it/pc


More information about the Qgis-developer mailing list