Hi you all,
I am having troubles in moving my GISBASE dir between two linux boxes.
At grass startup, once I select the gisbase dir, every mapset I try to access results in this error message “this is not a valid mapset”.
Creating a new location works.
Is there any trick to fix this issue? I guess it’s something trivial but I don’t know what it can be, moreover I did it before and everything worked fine.
GRASS 6.3.0.1 from gfoss repos (grass_6.3.0.1~gfossit20090217-1_amd64.deb)
The linux boxes are up with debian lenny amd64 (though the one I am migrating to is a quad core intel xeon and the other one a dual core amd64)
regards
r
On 08/04/09 13:58, Cassiel wrote:
Hi you all,
I am having troubles in moving my GISBASE dir between two linux boxes.
At grass startup, once I select the gisbase dir, every mapset I try to access results in this error message "this is not a valid mapset".
I would guess that this might be a permissions issue. How did you move your dirs ?
Moritz
2009/4/8 Moritz Lennert <mlennert@club.worldonline.be>
On 08/04/09 13:58, Cassiel wrote:
Hi you all,
I am having troubles in moving my GISBASE dir between two linux boxes.
At grass startup, once I select the gisbase dir, every mapset I try to access results in this error message “this is not a valid mapset”.
I would guess that this might be a permissions issue. How did you move your dirs ?
Moritz
I moved using a removable hd.
Permissions are ok… I also tried a chmod -R 777 (desperate isn’t it?) but didn’t worked.
Could it be a locale mismatch?
regards
r
Check the WINDOW file, and the owner...
Maxi
Cassiel wrote:
2009/4/8 Moritz Lennert <mlennert@club.worldonline.be <mailto:mlennert@club.worldonline.be>>
On 08/04/09 13:58, Cassiel wrote:
Hi you all,
I am having troubles in moving my GISBASE dir between two
linux boxes.
At grass startup, once I select the gisbase dir, every mapset
I try to access results in this error message "this is not a
valid mapset".
I would guess that this might be a permissions issue. How did you
move your dirs ?
Moritz
I moved using a removable hd.
Permissions are ok... I also tried a chmod -R 777 (desperate isn't it?) but didn't worked.
Could it be a locale mismatch?
regards
r
------------------------------------------------------------------------
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user
Hi,
each and every location dir belong to my user, which in turn is the same on every machine I am allowed to log in.
WINDOWS file are there with the same permissions
… I can’t figure out why this worked in past and now it seems broken
Other hints?
Thanx
r
2009/4/8 Massimiliano Cannata massimiliano.cannata@supsi.ch
Check the WINDOW file, and the owner…
Maxi
On 09/04/09 11:17, Cassiel wrote:
Hi,
each and every location dir belong to my user, which in turn is the
same on every machine I am allowed to log in.
WINDOWS file are there with the same permissions
... I can't figure out why this worked in past and now it seems
broken
Other hints?
In your first post you wrote:
At grass startup, once I select the gisbase dir, every mapset I try
to access results in this error message "this is not a valid mapset".
If this is the exact error message, then the only place I can find this in the source code is in lib/init/gis_set.tcl as a result of a failed CheckMapset, which is just:
proc CheckMapset {} {
global database location mapset
if { $mapset == "" } { return 0; }
if { [file exists "$database/$location/$mapset/WIND"] } {
return 1
}
return 0
}
So, it fails either if the mapset variable is empty, or if there is no WIND file in the mapset (or at least if file exists returns 0 - don't know in which cases it does this).
Are you sure that the gis-database is correclty defined ?
Have you tried accessing the mapsets directly on the command line without going through the GUI ?
Moritz