Opened 10 years ago
Closed 6 years ago
#2693 closed defect (fixed)
Error with SQLite path update after moving grass data
Reported by: | ffxi | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 7.6.0 |
Component: | Default | Version: | 7.0.0 |
Keywords: | sqlite update path move data | Cc: | |
CPU: | x86-64 | Platform: | Linux |
Description
The Sqlite path is not completely updated after moving/renaming data :
Eg. /home/test/oldPath -> /home/test/newPath
At every grass init, I use "db.connect" to connect to the correct DB, using
"$GISDBASE/$LOCATION_NAME/$MAPSET/sqlite.db"
When I type the command like :
v.info map="my_map"
The correct database path is returned : /home/test/newPath
When I type :
db.describe table="my_map"
I've got the right description.
But when I use a command like :
g.copy map=my_vector,tmp_vector
or
v.out.ogr input="my_map" output=/home/testShape format=ESRI_Shapefile
A SQLITE error mentioning the old path is returned: ERROR: Unable to open database < /home/test/oldPath >
$ grass70 --version GRASS GIS 7.0.0
OS : mac os 10.10.3 and Ubuntu 14.04
Grass installed using : Mac: [homebrew](https://github.com/OSGeo/homebrew-osgeo4mac/blob/master/Formula/grass-70.rb) Ubuntu : compiled from source.
Thanks, and sorry if this is a duplicate, i did not found a similar ticket.
Change History (8)
comment:1 by , 10 years ago
Milestone: | 7.0.1 → 7.0.2 |
---|
comment:5 by , 9 years ago
Milestone: | 7.0.4 → 7.0.5 |
---|
comment:6 by , 8 years ago
Milestone: | 7.0.5 → 7.0.6 |
---|
comment:7 by , 7 years ago
Milestone: | 7.0.6 → 7.0.7 |
---|
comment:8 by , 6 years ago
Milestone: | 7.0.7 → 7.6.0 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Unable to reproduce (with GRASS 7.6.0).
Ticket retargeted after 7.0.1 milestone closed