[GRASS-dev] [GRASS GIS] #1439: v.in.ogr error message not useful

GRASS GIS trac at osgeo.org
Sun Sep 4 23:17:25 EDT 2011


#1439: v.in.ogr error message not useful
------------------------+---------------------------------------------------
 Reporter:  arencambre  |       Owner:  grass-dev@…              
     Type:  defect      |      Status:  new                      
 Priority:  major       |   Milestone:                           
Component:  Vector      |     Version:  unspecified              
 Keywords:              |    Platform:  MSWindows 7              
      Cpu:  x86-64      |  
------------------------+---------------------------------------------------
 If I run this command: '''v.in.ogr -o dsn="PG:dbname='de' host=localhost
 port=5432 user='postgres' password='''redacted''' sslmode=disable"
 layer="raw.TxDOT crash" output=pointdata5'''

 I get this response:
 {{{
 Over-riding projection check
 Layer: raw.TxDOT crash
 Counting polygons for 3379941 features...
 Importing map 3379941 features...
 DBMI-DBF driver error:
 ERROR: Cannot insert new row: insert into pointdata5 values ( 1,
 '14:50:00', '', 1, NULL, 30.511037, 2, NULL, NULL, NULL, 7, 0, NULL, 'N',
 '', NULL, 0, NULL, NULL, NULL, NULL, '', NULL, 0, 2, '100', '', NULL, 0,
 NULL, 0, NULL, NULL, NULL, '', 'N', NULL, 0, NULL, 'N/A', 8, NULL, 0,
 NULL, 0, 13, NULL, NULL, NULL, '', 'N', NULL, NULL, 'N', 0, NULL, 372, '',
 NULL, NULL, 0, 23, 23, NULL, NULL, 'N', 'N', '2003-12-29', NULL, 2, NULL,
 '', 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
 0, NULL, 0, 1, 0, 1, NULL, NULL, 5, 'Y', NULL, NULL, NULL, '', 2, '',
 NULL, '', 0, 2, NULL, 'N', 'W ANDERSON AVE', NULL, 3, '', 246, NULL, 0,
 NULL, NULL, 64, 0, 1, NULL, 0, NULL, NULL, NULL, '', 1, 0, NULL, 'N',
 NULL, 'N', 0, NULL, 1, NULL, 2003559823, 'Y', '', NULL, 0, NULL, '', 5,
 'Y', -97.679708, 0, 0, NULL )
 }}}

 This error is next to useless because it gives no indication ''why'' it's
 failing.

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1439>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list