Opened 8 years ago

Closed 5 years ago

#2693 closed defect (fixed)

Error with SQLite path update after moving grass data

Reported by: ffxi Owned by: grass-dev@…
Priority: normal Milestone: 7.6.0
Component: Default Version: 7.0.0
Keywords: sqlite update path move data Cc:
CPU: x86-64 Platform: Linux


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


When I type the command like : 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


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]( 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 neteler, 8 years ago


Ticket retargeted after 7.0.1 milestone closed

comment:2 by neteler, 8 years ago


Ticket retargeted after milestone closed

comment:3 by neteler, 8 years ago

Milestone: 7.0.3

Ticket retargeted after milestone closed

comment:4 by neteler, 8 years ago

Milestone: 7.0.4

Ticket retargeted after 7.0.3 milestone closed

comment:5 by martinl, 8 years ago


comment:6 by neteler, 7 years ago


comment:7 by neteler, 6 years ago


comment:8 by martinl, 5 years ago

Resolution: fixed
Status: newclosed

Unable to reproduce (with GRASS 7.6.0).

Note: See TracTickets for help on using tickets.