[GRASS-user] debian lenny : /usr/lib/grass64/etc/prompt.sh: line 2:
g.gisenv: command not found
Eduard Ruffert
ruffert at mkm.de
Mon Jun 28 06:37:29 EDT 2010
Hi.
I installed the package Version: 6.4.0~rc6-1~gfossit50+1
on debian lenny (Linux version 2.6.26-2-amd64 (Debian 2.6.26-21lenny4)
(dannf at debian.org) (gcc version 4.1.3 20080704 (prerelease) (Debian
4.1.2-25)) #1 SMP Tue Mar 9 22:29:
32 UTC 2010).
When I start grass and select my location (which was created by a
previous version of grass 6.4. - RC3) the shell and gui start just
fine, but the shell has the error message
Cleaning up temporary files ...
Starting GRASS ...
GISDBASE='/data/z/gis/grass/locations';
LOCATION_NAME='longlatWGS84_EPSG4326_all';
MAPSET='PERMANENT';
__________ ___ __________ _______________
/ ____/ __ \/ | / ___/ ___/ / ____/ _/ ___/
/ / __/ /_/ / /| | \__ \\_ \ / / __ / / \__ \
/ /_/ / _, _/ ___ |___/ /__/ / / /_/ // / ___/ /
\____/_/ |_/_/ |_/____/____/ \____/___//____/
Welcome to GRASS 6.4.0RC6 (2010)
GRASS homepage: http://grass.osgeo.org/
This version running thru: Bash Shell (/bin/bash)
Help is available with the command: g.manual -i
See the licence terms with: g.version -c
If required, restart the GUI with: g.gui oldtcltk
When ready to quit enter: exit
/usr/lib/grass64/etc/prompt.sh: line 2: g.gisenv: command not found
/usr/lib/grass64/etc/prompt.sh: line 2: g.gisenv: command not found
/usr/lib/grass64/etc/prompt.sh: line 2: g.gisenv: command not found
GRASS 6.4.0RC6 (longlatWGS84_EPSG4326_all):~ >
No commands are recognised in the shell (as stated in the error
message). so e.g.
g.list type=vect also fails.
BUT strangely, issuing the command from the gui works (oldtcltk and tcltk)!
My problem is that I need the shell for scripted gis operations.
The info "current GRASS environment settings" using the gui shows
g.gisenv
DIGITIZER='none';
GISDBASE='/data/z/gis/grass/locations';
GML_OGR_PATH='/usr/bin/ogr2ogr';
MAPSET='PERMANENT';
LOCATION_NAME='longlatWGS84_EPSG4326_all';
DEBUG='0';
MONITOR='x0';
GRASS_GUI='oldtcltk';
I can't find anything about this problem on Google.
Please help.
Eduard
More information about the grass-user
mailing list