[Qgis-developer] Plugin ziplayers: error

Giovanni Manghi giovanni.manghi at gmail.com
Wed Dec 21 04:15:21 EST 2011


it usually give this error with whatever vector is not a shapefile
(postgis, in memory, etc.)

-- Giovanni --


On Wed, 2011-12-21 at 10:07 +0100, Paolo Cavallini wrote:
> Hi all.
> 
> Consistently got an error when some elements are selected.
> Thanks.
> 
> 
> 
> ===
> 
> 
> 
> Errore durante l'esecuzione di codice Python:
> 
> Traceback (most recent call last):
>   File
> "/home/paolo/.qgis/python/plugins/ziplayers/logic/ziplayerswidget.py",
> line 61, in __signal_bbMain_clicked
>     self.__createZips(lstIdLayer)
>   File
> "/home/paolo/.qgis/python/plugins/ziplayers/logic/ziplayerswidget.py",
> line 92, in __createZips
>     lstIdLayer, self.ui.textEditStatus.append, self.__pb)
>   File
> "/home/paolo/.qgis/python/plugins/ziplayers/logic/cziplayers.py", line
> 222, in createZipLayer
>     self.__createShapefileZip(dirWork, id, nameZip)
>   File
> "/home/paolo/.qgis/python/plugins/ziplayers/logic/cziplayers.py", line
> 188, in __createShapefileZip
>     self.__zipShapefile(dirWork, fileInfoShape, nameZip)
> TypeError: __zipShapefile() takes exactly 5 arguments (4 given)
> 
> Versione Python:
> 2.7.2+ (default, Nov 30 2011, 22:33:30) 
> [GCC 4.6.2]
> 
> 
> Versione di QGIS:
> 1.9.90-Alpha Alpha, 7442047
> 
> Percorso Python: ['/home/paolo/.qgis/python/plugins/cswclient',
> '/home/paolo/.qgis/python/plugins/elevation',
> '/usr/share/qgis/python', '/home/paolo/.qgis/python',
> '/home/paolo/.qgis/python/plugins', '/usr/share/qgis/python/plugins',
> '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2',
> '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old',
> '/usr/lib/python2.7/lib-dynload',
> '/usr/local/lib/python2.7/dist-packages',
> '/usr/lib/python2.7/dist-packages',
> '/usr/lib/python2.7/dist-packages/PIL',
> '/usr/lib/python2.7/dist-packages/gst-0.10',
> '/usr/lib/python2.7/dist-packages/gtk-2.0',
> '/usr/lib/pymodules/python2.7', '~/.qgis/python', '.',
> '/home/paolo/.qgis/python/plugins/ziplayers/logic',
> '/home/paolo/.qgis/python/plugins/ziplayers/gui', '.',
> '/usr/share/qgis/python/plugins/fTools/tools']
> 
> -- 
> Paolo Cavallini
> See: http://www.faunalia.it/pc
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer




More information about the Qgis-developer mailing list