Opened 13 years ago
Closed 11 years ago
#1626 closed defect (fixed)
cannot overwrite existing vector with r.contour
Reported by: | cmbarton | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 7.0.0 |
Component: | Database | Version: | svn-trunk |
Keywords: | r.contour, sqlite | Cc: | |
CPU: | Unspecified | Platform: | Unspecified |
Description
Even if the --overwrite flag is set, attempting to overwrite an existing file with r.contour gives an SQLite error.
GRASS 7.0.svn (Global_latlon):~ > r.contour --overwrite input=CCSM4_1000may.currspeed@paleoclimate_currents output=CCSM4_1000may_currspeed step=4 DBMI-SQLite driver error: Error in sqlite3_prepare(): table CCSM4_1000may_currspeed already exists ERROR: Unable to create table: 'create table CCSM4_1000may_currspeed ( cat integer, level double precision )'
I haven't tested it, but this may be more widespread and affect any attempt to overwrite an existing vector file.
Michael
Change History (2)
comment:1 by , 11 years ago
comment:2 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Tested again, overwrite works. Closing, feel free to reopen if needed.
Note:
See TracTickets
for help on using tickets.
I'm not getting this error with current trunk (GRASS 7, r59147) on Ubuntu 12.04. I know currently only about #2172 (g.remove takes too long to remove vector on Windows) which influences also removal of old vector map.