Opened 12 years ago

Closed 10 years ago

#1630 closed defect (fixed)

g.gui error on startup of March 24th 6.4.3 snapshot

Reported by: epatton Owned by: grass-dev@…
Priority: normal Milestone: 6.4.3
Component: wxGUI Version: svn-releasebranch64
Keywords: wxGUI, startup Cc:
CPU: x86-64 Platform: Linux


I just installed a fresh version of the Grass 6.4.3svn March24th generic weekly snapshot. After typing 'grass64' on startup, I receive the following error after the Grass 6.4.3 splash screen:

 Traceback (most recent call last):
  File "/usr/local/grass6.4.3svn-x86_64-unknown-linux-gnu-24_03_2012/etc/wxpython/", line 139, in <module>
  File "/usr/local/grass6.4.3svn-x86_64-unknown-linux-gnu-24_03_2012/etc/wxpython/", line 132, in main
    app = GMApp(workspaceFile)
  File "/usr/local/grass6.4.3svn-x86_64-unknown-linux-gnu-24_03_2012/etc/wxpython/", line 45, in __init__
    wx.App.__init__(self, False)
  File "/usr/lib64/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/", line 7978, in __init__
  File "/usr/lib64/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/", line 7552, in _BootstrapApp
    return _core_.PyApp__BootstrapApp(*args, **kwargs)
  File "/usr/local/grass6.4.3svn-x86_64-unknown-linux-gnu-24_03_2012/etc/wxpython/", line 78, in OnInit
    workspace = self.workspaceFile)
  File "/usr/local/grass6.4.3svn-x86_64-unknown-linux-gnu-24_03_2012/etc/wxpython/lmgr/", line 194, in __init__
    self.NewDisplay(show = False)
  File "/usr/local/grass6.4.3svn-x86_64-unknown-linux-gnu-24_03_2012/etc/wxpython/lmgr/", line 1399, in NewDisplay
    auimgr = self._auimgr, showMapDisplay = show)
  File "/usr/local/grass6.4.3svn-x86_64-unknown-linux-gnu-24_03_2012/etc/wxpython/lmgr/", line 154, in __init__
    Map = self.Map, auimgr = self.auimgr)
  File "/usr/local/grass6.4.3svn-x86_64-unknown-linux-gnu-24_03_2012/etc/wxpython/mapdisp/", line 123, in __init__
  File "/usr/local/grass6.4.3svn-x86_64-unknown-linux-gnu-24_03_2012/etc/wxpython/mapdisp/", line 217, in Update
  File "/usr/local/grass6.4.3svn-x86_64-unknown-linux-gnu-24_03_2012/etc/wxpython/mapdisp/", line 667, in Update
  File "/usr/local/grass6.4.3svn-x86_64-unknown-linux-gnu-24_03_2012/etc/wxpython/mapdisp/", line 660, in SetCenter
    center = self.GetCenterString(self.mapFrame.GetMap())
  File "/usr/local/grass6.4.3svn-x86_64-unknown-linux-gnu-24_03_2012/etc/wxpython/mapdisp/", line 655, in GetCenterString
    return "%.*f; %.*f" % (precision, region['center_easting'], precision, region['center_northing'])
KeyError: 'center_easting'

The last Grass snapshot I was using, Feb18th, worked fine with no problems, and nothing in my system has changed in the meantime. Any help would be most appreciated.

~ Eric.

Change History (4)

comment:1 by neteler, 12 years ago

Please post the output of

g.region -p

comment:2 by grruddy, 12 years ago

I am getting a similar error. I installed GRASS 6.4.2 on a SLES 10 system with no problem. Now, I am attempting to install GRASS 6.4.2 on a RHEL 6 system, but am getting the following error upon startup.

GRASS 6.4.2 > Traceback (most recent call last):

File "/usr/local/intel64/nehalem/gcc/grass-6.4.2/grass-6.4.2/etc/wxpython/", line 1721, in <module>


File "/usr/local/intel64/nehalem/gcc/grass-6.4.2/grass-6.4.2/etc/wxpython/", line 1714, in main

app = GMApp(workspaceFile)

File "/usr/local/intel64/nehalem/gcc/grass-6.4.2/grass-6.4.2/etc/wxpython/", line 1605, in init

wx.App.init(self, False)

File "/usr/local/wx/wxWidgets-", line 7981, in init


File "/usr/local/wx/wxWidgets-", line 7555, in _BootstrapApp

return _core_.PyAppBootstrapApp(*args, kwargs)

File "/usr/local/intel64/nehalem/gcc/grass-6.4.2/grass-6.4.2/etc/wxpython/", line 1657, in OnInit

workspace = self.workspaceFile)

File "/usr/local/intel64/nehalem/gcc/grass-6.4.2/grass-6.4.2/etc/wxpython/", line 128, in init


File "/usr/local/intel64/nehalem/gcc/grass-6.4.2/grass-6.4.2/etc/wxpython/", line 232, in _createMenuBar

self.menubar = menu.Menu(parent = self, data = menudata.ManagerData())

File "/usr/local/intel64/nehalem/gcc/grass-6.4.2/grass-6.4.2/etc/wxpython/gui_modules/", line 202, in init

MenuData.init(self, filename)

File "/usr/local/intel64/nehalem/gcc/grass-6.4.2/grass-6.4.2/etc/wxpython/gui_modules/", line 49, in init

self.tree = etree.parse(filename)

File "/usr/lib64/python2.6/xml/etree/", line 862, in parse

tree.parse(source, parser)

File "/usr/lib64/python2.6/xml/etree/", line 586, in parse


File "/usr/lib64/python2.6/xml/etree/", line 1245, in feed

self._parser.Parse(data, 0)

SystemError: Objects/listobject.c:126: bad argument to internal function

The only difference I can identify is that I am using GCC 4.7.0 and that my wxPython installation is installed in a seperate site-packages location than the system version of Python 2.6.6. This seperate site-packages location has been added to the PYTHONPATH, and the initial launch page appears allowing me to select my Location and mapset. However, once the splash screen appears, this error is triggered. Any ideas what may be causing this?

comment:3 by neteler, 12 years ago

I can use current 6.4.svn successfully on Fedora 17 and ScientificLinux 6.2. Can you please retry?

comment:4 by neteler, 10 years ago

Resolution: fixed
Status: newclosed

Assuming a sporadic mishap, the issue was never reported again. Closing, feel free to reopen if it occurs again.

Note: See TracTickets for help on using tickets.