[GRASS-user] v.external on a spatialite layer
Vincent Bain
bain at toraval.fr
Thu Nov 5 00:42:24 PST 2015
Hi,
Here is a grass6.4 (fresh build) related issue :
in order to put some spatialite data within a project, I used the
command v.external, which ran fine. When I try to show attribute table I
get the following error message :
Traceback (most recent call last):
File
"/usr/local/grass-6.4.6svn/etc/wxpython/lmgr/frame.py", line
1426, in OnShowAttributeTable
selection = selection)
File
"/usr/local/grass-6.4.6svn/etc/wxpython/dbmgr/manager.py",
line 648, in __init__
self._createBrowsePage()
File
"/usr/local/grass-6.4.6svn/etc/wxpython/dbmgr/manager.py",
line 695, in _createBrowsePage
self.mapDBInfo, layer)
File
"/usr/local/grass-6.4.6svn/etc/wxpython/dbmgr/manager.py",
line 93, in __init__
keyColumn = self.LoadData(layer)
File
"/usr/local/grass-6.4.6svn/etc/wxpython/dbmgr/manager.py",
line 253, in LoadData
self.AddDataRow(i, record, columns, keyId)
File
"/usr/local/grass-6.4.6svn/etc/wxpython/dbmgr/manager.py",
line 292, in AddDataRow
if self.columns[columns[j]]['ctype'] != types.StringType:
IndexError
:
list index out of range
Source data seems to be clean however. I cannot reproduce this error
within grass7.1
Has anyone any idea ?
---
Attached is a sample of the original data, if you want to try it out,
SRC is EPSG:2154
-------------- next part --------------
A non-text attachment was scrubbed...
Name: communes_38005osm.sqlite
Type: application/x-sqlite3
Size: 10240 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20151105/d6268a4c/attachment.bin>
More information about the grass-user
mailing list