[GRASS-user] Index error: Unable to show attribute table of shapefile

RichardC richtcooper at hotmail.com
Mon Apr 2 09:35:58 EDT 2012


Hi,

I'm receiving the following error on attempting to view shapefiles in GRASS
6.4.1 (on Ubuntu Lucid):


item = layer, log = self.goutput)
  File "/usr/lib/grass64/etc/wxpython/gui_modules/dbm.py",
line 653, in __init__

self.__createBrowsePage()
  File "/usr/lib/grass64/etc/wxpython/gui_modules/dbm.py",
line 698, in __createBrowsePage

self.mapDBInfo, layer)
  File "/usr/lib/grass64/etc/wxpython/gui_modules/dbm.py",
line 95, in __init__

keyColumn = self.LoadData(layer)
  File "/usr/lib/grass64/etc/wxpython/gui_modules/dbm.py",
line 247, in LoadData

self.AddDataRow(i, record, columns, keyId)
  File "/usr/lib/grass64/etc/wxpython/gui_modules/dbm.py",
line 286, in AddDataRow

if self.columns[columns[j]]['ctype'] != types.StringType:
IndexError
:
list index out of range


Any suggestions would be welcome.

Thanks,
Richard

--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Index-error-Unable-to-show-attribute-table-of-shapefile-tp4678952p4678952.html
Sent from the Grass - Users mailing list archive at Nabble.com.


More information about the grass-user mailing list