Opened 16 years ago
Closed 12 years ago
#491 closed defect (fixed)
grass7: cannot start grass with -text and no existing .grassrc7
Reported by: | mlennert | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 7.0.0 |
Component: | Default | Version: | svn-trunk |
Keywords: | Cc: | martin, lucadelu | |
CPU: | Unspecified | Platform: | Unspecified |
Description
With no .grassrc7 file, starting grass7 with the -text parameter leads to the following error:
/home/mlennert/<UNKNOWN>/<UNKNOWN>/.gislock: No such file or directory ERREUR : /home/mlennert/SRC/GRASS/grass_trunk/dist.i486-pc-linux-gnu/etc/lock: mlennert is currently running GRASS in selected mapset (file /home/mlennert/<UNKNOWN>/<UNKNOWN>/.gislock found). Concurrent use not allowed.
Change History (6)
comment:1 by , 15 years ago
comment:2 by , 15 years ago
Cc: | added |
---|
comment:3 by , 15 years ago
the old interactive text forms have been removed in grass7. either pass the path to the mapset on the command line or if none is given and you've had a previous session the last session will be used if no command line args are given and GRASS_GUI: text
.
of course the error checking, messages, and new text startup workflow can always be improved, you're not looking at the final product.
Hamish
comment:4 by , 15 years ago
Ok, let me try it this way:
jive: 23:30:10 ~> /opt/GRASS70/bin/grass70 -text /home/martin/grassdata/world/PERMANENT [...] Hit RETURN to continue Starting GRASS GIS... </home/martin/grassdata/world/PERMANENT> is not a valid GRASS location
This doesn't come by surprise, since the entire $GISDBASE has yet to be created. Next try, adding "-c":
jive: 23:32:25 ~> /opt/GRASS70/bin/grass70 -c -text /home/martin/grassdata/world/PERMANENT [...] Hit RETURN to continue Starting GRASS GIS... The location <world> does not exist. Please create it first.
So, should I conclude that creating a new $GISBASE is currently impossible in 7.0 SVN trunk without using a GUI ?
Cheers, Martin.
comment:6 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
This ticket is 3 years old and I tried -c and -text. Both options are working fine and I can create a new database without any problem. I think this problem has been fixed now. Also, we don't even have .grassrc7 anymore.
Same here; GRASS configured to install in /opt/GRASS70/:
Platform is Debian Lenny, but as far as I understand this isn't relevant in this case.