Opened 9 years ago

Closed 6 years ago

#2610 closed defect (fixed)

GRASS Gis v 6.4.4. KeyError: 'version' when start

Reported by: gisandforestry Owned by: grass-dev@…
Priority: normal Milestone: 6.4.6
Component: Startup Version: 6.4.4
Keywords: Cc:
CPU: x86-64 Platform: Linux

Description

I use manjaro linux, I have one ssd for my primary disk and a second disk for my data. I store the Grass Data on my second drive. When I try to start Grass I get the following error.

GRASS 6.4.4 (Hellas):~ > ERROR: MAPSET Hellas - permission denied
Traceback (most recent call last):
File "/opt/grass64/etc/wxpython/wxgui.py", line 140, in <module>
  sys.exit(main())
File "/opt/grass64/etc/wxpython/wxgui.py", line 133, in main
  app = GMApp(workspaceFile)
File "/opt/grass64/etc/wxpython/wxgui.py", line 45, in __init__
  wx.App.__init__(self, False)
File "/usr/lib64/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py", line 8628, in __init__
 self._BootstrapApp()
File "/usr/lib64/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py", line 8196, in _BootstrapApp
 return _core_.PyApp__BootstrapApp(*args, **kwargs)
File "/opt/grass64/etc/wxpython/wxgui.py", line 79, in OnInit
 workspace = self.workspaceFile)
File "/opt/grass64/etc/wxpython/lmgr/frame.py", line 83, in __init__
 self.baseTitle = _("GRASS GIS %s Layer Manager") % grass.version()['version']
KeyError: 'version'

Change History (5)

comment:1 by martinl, 9 years ago

Milestone: 7.0.16.4.5

comment:2 by martinl, 9 years ago

It should be already fixed in SVN, probably it's time for 6.4.5RC1...

comment:3 by martinl, 9 years ago

Milestone: 6.4.5

Ticket retargeted after milestone closed

comment:4 by martinl, 9 years ago

Milestone: 6.4.6

comment:5 by wenzeslaus, 6 years ago

Resolution: fixed
Status: newclosed

Works as expected in trunk (7.5) from command line and according to comment:2. Closing as fixed.

$ sudo chown -R root:root ~/grassdata/worldlocation/user1/
...
$ grass75 ~/grassdata/worldlocation/user1/
Cleaning up temporary files...
ERROR: MAPSET user1 - permission denied
Starting GRASS GIS...
ERROR: Path '.../grassdata/worldlocation/user1' not accessible.
You are not the owner of '.../grassdata/worldlocation/user1'.
Exiting...
Note: See TracTickets for help on using tickets.