[GRASS-user] GUI startup problems

Hamish hamish_b at yahoo.com
Thu Jul 4 00:23:03 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.


> g.gui works correctly, and also X0 is there
> actually I could export the jpeg as I wanted
> so... the error causes no problem but it's there
> maybe will fix it installing the next version or updates
> yes, its GRASS 6.4.3 and i have the repositories of ubuntugis enabled
> thanks for the tips!!! :)

maybe try removing the ~/.grassrc6 file? does your user name, or mapset
path have accented letters in it? It doesn't like that much.


More information about the grass-user mailing list