[GRASS-user] GUI startup problems

Hamish hamish_b at yahoo.com
Wed Jul 3 04:34:04 PDT 2013

Chiara wrote:

> while starting grass, I get this message:
> Starting GRASS ...
> ERROR: G_getenv(): Variable LOCATION_NAME not set
> Traceback (most recent call last):
>      self._set_properties()
>    File "/usr/lib/grass64/etc/wxpython/gis_set.py", line 221, in 
> _set_properties
>      not os.path.isdir(os.path.join(self.gisdbase, location)):
>    File "/usr/lib/python2.7/posixpath.py", line 66, in join
>      if b.startswith('/'):
> AttributeError: 'NoneType' object has no attribute 'startswith'
> Error in GUI startup. If necessary, please
> report this error to the GRASS developers.
> Switching to text mode now.

no idea.. once you are in the GRASS text session, will the GUI
start with "g.gui" ?

> it is a while (3-4 weeks) bus I usually work with script so I do not 
> use the GUI but I would possibly do it soon using the d.out.file...
> I tried it but I cannot enable the graphic display wiht d.mon so
> maybe something weird is happening in my computer...
> I work on Ubuntu 12.04

what does 'd.mon -L' say about x0 - x7?
  x0   X-windows graphics display
is it there?

which version of GRASS? from the main ubuntu packages or UbuntuGIS's ppa or "GRASS Team" ppa?

note d.out.file only works with "d.mon start=x0", not the wxGUI.


More information about the grass-user mailing list