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

Daniel Lee lee at isi-solutions.org
Mon Apr 2 15:25:51 EDT 2012


Hi Richard,

What's the command you're entering, or are you using your own script?

Best,
Daniel

--

B.Sc. Daniel Lee
Geschäftsführung für Forschung und Entwicklung
ISIS - International Solar Information Solutions GbR
Vertreten durch: Daniel Lee, Nepomuk Reinhard und Nils Räder

Deutschhausstr. 10
35037 Marburg
Festnetz: +49 6421 379 6256
Mobil: +49 176 6127 7269
E-Mail: Lee at isi-solutions.org
Web: http://www.isi-solutions.org

ISIS wird gefördert durch die Bundesrepublik Deutschland, Zuwendungsgeber:
Bundesministerium für Wirtschaft und Technologie aufgrund eines Beschlusses
des Deutschen Bundestages, sowie durch die Europäische Union,
Zuwendungsgeber: Europäischer Sozialfonds.
Zusätzliche Unterstützung erhält ISIS von dem Entrepreneurship Cluster
Mittelhessen, der Universität Marburg, dem Laboratory for Climatology and
Remote Sensing und dem GIS-Lab Marburg.




Am 2. April 2012 15:35 schrieb RichardC <richtcooper at hotmail.com>:

> 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.
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20120402/c01ff567/attachment.html


More information about the grass-user mailing list