Yes, this file works with 0.0.5 in nightly QGIS (It still crashes 1.5). Be warned - unless you choose to load a small selection the plugin takes a long time to load this file, due to the large amount of information in it :)
Alister ________________________________________________ Alister Hood Consultant Synergine Group Limited Unit 105, 23 Edwin Street, Mt Eden PO Box 8000 Symonds Street Auckland 1150, New Zealand Ph: +64 9 631 1777 DDI: +64 9 632 0223 Fax: +64 9 631 0070 Email: alister.h...@synergine.com -----Original Message----- From: Benoit de Cabissole [mailto:ben...@exigesa.com] Sent: Monday, 6 September 2010 6:42 p.m. To: Alister Hood; qgis-user@lists.osgeo.org Subject: RE: [Qgis-user] RE: Shapefile structure viewer and editor plugin 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-boun...@lists.osgeo.org > [mailto:qgis-user-boun...@lists.osgeo.org]on Behalf Of Alister Hood > Sent: Monday, 06 September 2010 01:34 > To: qgis-user@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@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/qgis-user _______________________________________________ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user