[Qgis-user] RE: Shapefile structure viewer and editor plugin

Benoit de Cabissole benoit at exigesa.com
Sun Sep 5 23:41:47 PDT 2010


Hi Alister,

Interesting. It seems that your shapefile has an empty multipolyline in it
or it contains a line with no point?
If you don't mind, yes, send me that shapefile.

A new version 0.0.5 has been put in the contributed repo that should handle
this case.

I'm developing with the nightly builds (1.6 Trunk in OSGeo4W on XP) so I'm
not so surprised it crashes V1.5 on error.

Thanks for reporting the error.
Benoit


> -----Original Message-----
> From: qgis-user-bounces at lists.osgeo.org
> [mailto:qgis-user-bounces at lists.osgeo.org]On Behalf Of Alister Hood
> Sent: Monday, 06 September 2010 01:34
> To: qgis-user at lists.osgeo.org
> Subject: [Qgis-user] RE: Shapefile structure viewer and editor plugin
>
>
> Hi Benoit,
> I have found a shape file that causes QGIS 1.5 to crash when I try to
> start your plugin.  In the nightly builds it doesn't crash QGIS, but the
> plugin fails to start, with the error below.  I am on Windows XP.  I can
> send you the shape file if you are interested.
>
> Regards,
> Alister
>
>
> An error has occured while executing Python code:
>
> Traceback (most recent call last):
>   File "C:/Documents and
> Settings/alister.hood/.qgis/python/plugins\bccSHPV\bccSHPV.py", line
> 193, in cdlgInit
>     dialog = cdlgSHPV(self.iface, theLayer, iType, bSelected)
>   File "C:/Documents and
> Settings/alister.hood/.qgis/python/plugins\bccSHPV\cdlgSHPV.py", line
> 111, in __init__
>     self.DoLine()
>   File "C:/Documents and
> Settings/alister.hood/.qgis/python/plugins\bccSHPV\cdlgSHPV.py", line
> 1088, in DoLine
>     x    = xm[0]
> IndexError: list index out of range
>
> Python version:
> 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)]
>
>
> QGIS version:
> 1.6.0-Trunk Trunk, 14191
>
> Python path: ['C:\\Documents and
> Settings\\alister.hood\\.qgis\\python\\plugins\\elevation',
> 'C:/OSGeo4W/apps/qgis-dev/./python', 'C:/Documents and
> Settings/alister.hood/.qgis/python', 'C:/Documents and
> Settings/alister.hood/.qgis/python/plugins',
> 'C:/OSGeo4W/apps/qgis-dev/./python/plugins',
> 'C:\\OSGeo4W\\apps\\gdal-17\\pymod', 'H:\\',
> 'C:\\OSGeo4W\\bin\\python25.zip', 'C:\\OSGeo4W\\apps\\Python25\\DLLs',
> 'C:\\OSGeo4W\\apps\\Python25\\lib',
> 'C:\\OSGeo4W\\apps\\Python25\\lib\\plat-win',
> 'C:\\OSGeo4W\\apps\\Python25\\lib\\lib-tk',
> 'C:\\OSGeo4W\\apps\\qgis-dev\\bin', 'C:\\OSGeo4W\\apps\\Python25',
> 'C:\\OSGeo4W\\apps\\Python25\\lib\\site-packages',
> 'C:\\OSGeo4W\\apps\\Python25\\lib\\site-packages\\win32',
> 'C:\\OSGeo4W\\apps\\Python25\\lib\\site-packages\\win32\\lib',
> 'C:\\OSGeo4W\\apps\\Python25\\lib\\site-packages\\Pythonwin',
> 'C:\\OSGeo4W\\apps\\Python25\\lib\\site-packages\\wx-2.8-msw-unicode',
> 'C:\\Documents and
> Settings\\alister.hood\\.qgis\\python\\plugins\\cadtools\\tools',
> '~/.qgis/python',
> 'C:\\OSGeo4W\\apps\\qgis-dev\\python\\plugins\\fTools\\tools',
> '/usr/share/qgis/python/', '/usr/share/qgis/python/',
> '/usr/share/qgis/python']
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user




More information about the Qgis-user mailing list