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

#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&gt;
GRASS GIS <http://grass.osgeo.org>

#1439: v.in.ogr error message not useful
------------------------+---------------------------------------------------
Reporter: arencambre | Owner: grass-dev@…
     Type: defect | Status: new
Priority: major | Milestone: 6.4.2
Component: Vector | Version: 6.4.1
Keywords: | Platform: MSWindows 7
      Cpu: x86-64 |
------------------------+---------------------------------------------------
Changes (by neteler):

  * version: unspecified => 6.4.1
  * milestone: => 6.4.2

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1439#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>

#1439: v.in.ogr error message not useful
------------------------+---------------------------------------------------
Reporter: arencambre | Owner: grass-dev@…
     Type: defect | Status: new
Priority: major | Milestone: 6.4.2
Component: Vector | Version: 6.4.1
Keywords: | Platform: MSWindows 7
      Cpu: x86-64 |
------------------------+---------------------------------------------------

Comment(by arencambre):

Note that #1445 is related to this. This issue is about GRASS declining to
show an error; #1445 is about the error's underlying cause, which I
suspect is a bug.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1439#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>