[GRASS-user] grass-user Digest, Vol 76, Issue 8

Christoph Sebald chr.sebald at googlemail.com
Tue Aug 7 04:18:00 PDT 2012


Help! Can any one tell me how to get this error fixed.


xxx at xxx-vbox-ubuntu:~$ grass65
Cleaning up temporary files ...
Starting GRASS ...
ERROR: G_getenv(): Variable LOCATION_NAME not set
Traceback (most recent call last):
  File "/usr/local/grass-6.5.svn/etc/wxpython/gis_set.py", line 878, in
<module>
    GRASSStartUp = StartUp(0)
  File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py",
line 7981, in __init__
    self._BootstrapApp()
  File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py",
line 7555, in _BootstrapApp
    return _core_.PyApp__BootstrapApp(*args, **kwargs)
  File "/usr/local/grass-6.5.svn/etc/wxpython/gis_set.py", line 853, in
OnInit
    StartUp = GRASSStartup()
  File "/usr/local/grass-6.5.svn/etc/wxpython/gis_set.py", line 162, in
__init__
    self._set_properties()
  File "/usr/local/grass-6.5.svn/etc/wxpython/gis_set.py", line 212, 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.
Hit RETURN to continue...

By pressing enter, it brings me right to ...

                            GRASS 6.5.svn

DATABASE: A directory (folder) on disk to contain all GRASS maps and data.

LOCATION: This is the name of a geographic location. It is defined by a
          co-ordinate system and a rectangular boundary.

MAPSET:   Each GRASS session runs under a particular MAPSET. This consists
of
          a rectangular REGION and a set of maps. Every LOCATION contains at
          least a MAPSET called PERMANENT, which is readable by all
sessions.

         The REGION defaults to the entire area of the chosen LOCATION.
         You may change it later with the command: g.region
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

LOCATION:   _________________________  (enter list for a list of locations)
MAPSET:     _________________________  (or mapsets within a location)

DATABASE:
_____________________________________________________________________



           AFTER COMPLETING ALL ANSWERS, HIT <ESC><ENTER> TO CONTINUE
                            (OR <Ctrl-C> TO CANCEL)


.... but does not work, despite setting the right location, mapset and
database.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20120807/3ad12bf8/attachment.html>


More information about the grass-user mailing list