[GRASS-dev] [bug #5182] (grass) parser: allows for '@' in map names

Request Tracker grass-bugs at intevation.de
Mon Oct 2 16:20:12 EDT 2006

this bug's URL: http://intevation.de/rt/webrt?serial_num=5182

Subject: parser: allows for '@' in map names

1. A command that creates a vector map:

$ v.random out=map1 at bogus n=10
$ g.list vect
vector files available in mapset breach:
map1 at bogus

It works, but it shouldn't. You can't do anything with the vector created, not
even remove it:

$ g.remove vect=map1 at bogus
G__open(r): mapset (breach) doesn't match xmapset (bogus)
ERROR: Vector map <map1 at bogus> not found

2. A command that creates a vector and a table:

$ v.mkgrid map=map2 at bogus grid=1,1 position=region
dbmi: Protocol error
ERROR: Cannot create table: create table map2 at bogus ( cat integer, row
       integer, col integer, rown varchar(1), coln varchar(1))

Vector is created though, in error.

3. Creating rasters:

$ r.random.cells dist=1 out=map3 at bogus
WARNING: opencell: map3 at bogus - bad mapset
ERROR: r.random.cells: unable to open new raster map [map3 at bogus]

The map is not created, but the module attempts to create it, only it fails to
in the very end. While it shouldn't even try creating it.


-------------------------------------------- Managed by Request Tracker

More information about the grass-dev mailing list