[GRASS-user] Error when defining projection from a georeferenced file, help needed.

Hamish hamish_b at yahoo.com
Sat Apr 26 21:20:41 EDT 2008


Hi Andrew,

 
> After starting a new project using the "start new location with a
> georeferenced file" option, I get an error when I click "Define
> Location". I am using the North Carolina sample data and using the
> gdc.prj for the georeferenced file.

Maybe it works, I'm not sure - it might just concentrate on the layer
name not the extension - but I thought it wanted the .shp file for that,
not the .prj file that comes with it? (from within GRASS,  you can feed
it that definition with 'g.proj wkt=gdc.prj')


> The error is as follows:
> 
> /usr/bin/x-terminal-emulator: to set an icon, please use -name
> <profile>
> and set a profile icon
....
> I am new to Linux as well, so any insight on this error is much
> appreciated.

We saw this before with Ubuntu; a quick mailing list search finds:

http://thread.gmane.org/gmane.comp.gis.grass.user/22231
http://thread.gmane.org/gmane.comp.gis.grass.user/22290/focus=22306


I believe the problem is that the version of x-terminal-emulator ->
/usr/bin/gnome-terminal.wrapper on your system is broken. Probably fixed
with Hardy Heron?

Anyway there is a quick fix: before starting GRASS set the default
terminal to something other than gnome-terminal:

  export GRASS_TERMINAL=xterm
  grass62

or another like rxvt. ("aptitude install xterm" if you need it; put the
setting in ~/.bashrc if you want to make it permanent)

> Thanks for the help and look forward to being a part of the GRASS
> community.  

Welcome, you project sounds both interesting and worthwhile.



Hamish



      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ



More information about the grass-user mailing list