[GRASS-user] Show attribute table - wxgrass error?

Martin Landa landa.martin at gmail.com
Sun May 18 04:58:30 EDT 2008


Hi,

2008/5/18 Martin Landa <landa.martin at gmail.com>:
> 2008/5/17 Tomas Lanczos <lanczos at t-zones.sk>:
>>  File
>> "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/dbm.py",
>> line 226, in LoadData
>>
>> cat = self.columns[columnNames[j]]['ctype'] (value)
>> ValueError
>> :
>> invalid literal for int() with base 10: ''
>
> it seems that some of records in the table has empty values in key
> column (cat), can you check it?

should be fixed in devbr6/trunk, see

http://trac.osgeo.org/grass/changeset/31408

When loading invalid data (in this case: missing category value in key
column) ATM shouldn't crash, instead error message is printed.

Helps?

Martin

PS: Please update your contact from 'grassuser at grass.itc.it' to
'grass-user at lists.osgeo.org'.

-- 
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa *


More information about the grass-user mailing list