Opened 13 years ago

Last modified 8 years ago

#1439 new defect

v.in.ogr error message not useful

Reported by: arencambre Owned by: grass-dev@…
Priority: major Milestone: 6.4.6
Component: Vector Version: 6.4.1
Keywords: Cc: aren@…
CPU: x86-64 Platform: MSWindows 7

Description

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.

Change History (3)

comment:1 by neteler, 13 years ago

Milestone: 6.4.2
Version: unspecified6.4.1

comment:2 by arencambre, 13 years ago

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.

comment:3 by neteler, 8 years ago

Milestone: 6.4.26.4.6
Note: See TracTickets for help on using tickets.