[GRASS-user] 'ARNing: Cannot open driver 'dbf"

Raymond Fu raymond_fu at yahoo.com
Wed Dec 6 02:13:40 EST 2006


hi,
   
  I tried 
  GRASS 6.1.cvw(spearfish60):~ > eval 'g.gisenv'
  GISDBASE=/home/f1fuser
  LOCATION_NAME=spearfish60
  MAPSET=user1
  MONITOR=x1
  GRASS_GUI=tcltk
  GRASS 6.1.cvs (spearfish60):~>cd "$GISDBASE/$LOCATION_NAME/$MAPSET"
GRASS 6.1.cvs (spearfish60):// >ls dbf/
   
  nothing appears even the prompt "GRASS 6.1.cvs (spearfish60):// >" untill I click "Ctrl C".
   
  Anything wrong?
   
  Thanks in advance.
   
  Raymond

Hamish <hamish_nospam at yahoo.com> wrote:
  Raymond Fu wrote:
> actually, it is sample from spearfish60.
> when I type 
> GRASS 6.1.cvs(spearfish60):~>g.gisenv
> it display:
> GISDBASE=/home/xxx
> LOCATION_NAME=spearfish60
> MAPSET=user1
> MONITOR=x1
> GRASS_GUI=tcltk
> GRASS 6.1.cvs(spearfish60):~>cd$MAPSET
> GRASS 6.1.cvs(spearfish60):~> 
> 
> it change back to current directory.
> 
> do I need to set something before running the command?


$MAPSET is empty, so "cd$MAPSET" is the same as "cd"
(shell variables vs. GRASS variables)

try:

eval `g.gisenv`
cd "$GISDBASE/$LOCATION_NAME/$MAPSET"
ls dbf/


Hamish


 Send instant messages to your online friends http://uk.messenger.yahoo.com 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20061206/cfe9e188/attachment.html


More information about the grass-user mailing list