[GRASS-dev] [GRASS GIS] #1630: g.gui error on startup of March 24th 6.4.3 snapshot

#1630: g.gui error on startup of March 24th 6.4.3 snapshot
----------------------------+-----------------------------------------------
Reporter: epatton | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.3
Component: wxGUI | Version: svn-releasebranch64
Keywords: wxGUI, startup | Platform: Linux
      Cpu: x86-64 |
----------------------------+-----------------------------------------------
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/wxgui.py", line 139, in <module>
     sys.exit(main())
   File "/usr/local/grass6.4.3svn-x86_64-unknown-linux-
gnu-24_03_2012/etc/wxpython/wxgui.py", line 132, in main
     app = GMApp(workspaceFile)
   File "/usr/local/grass6.4.3svn-x86_64-unknown-linux-
gnu-24_03_2012/etc/wxpython/wxgui.py", line 45, in __init__
     wx.App.__init__(self, False)
   File "/usr/lib64/python2.6/dist-
packages/wx-2.8-gtk2-unicode/wx/_core.py", line 7978, in __init__
     self._BootstrapApp()
   File "/usr/lib64/python2.6/dist-
packages/wx-2.8-gtk2-unicode/wx/_core.py", 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/wxgui.py", line 78, in OnInit
     workspace = self.workspaceFile)
   File "/usr/local/grass6.4.3svn-x86_64-unknown-linux-
gnu-24_03_2012/etc/wxpython/lmgr/frame.py", 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/frame.py", 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/layertree.py", 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/frame.py", line 123, in __init__
     self.statusbarManager.Update()
   File "/usr/local/grass6.4.3svn-x86_64-unknown-linux-
gnu-24_03_2012/etc/wxpython/mapdisp/statusbar.py", line 217, in Update
     item.Update()
   File "/usr/local/grass6.4.3svn-x86_64-unknown-linux-
gnu-24_03_2012/etc/wxpython/mapdisp/statusbar.py", line 667, in Update
     self.SetCenter()
   File "/usr/local/grass6.4.3svn-x86_64-unknown-linux-
gnu-24_03_2012/etc/wxpython/mapdisp/statusbar.py", 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/statusbar.py", 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.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1630&gt;
GRASS GIS <http://grass.osgeo.org>

#1630: g.gui error on startup of March 24th 6.4.3 snapshot
----------------------------+-----------------------------------------------
Reporter: epatton | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.3
Component: wxGUI | Version: svn-releasebranch64
Keywords: wxGUI, startup | Platform: Linux
      Cpu: x86-64 |
----------------------------+-----------------------------------------------

Comment(by neteler):

Please post the output of

g.region -p

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1630#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>

#1630: g.gui error on startup of March 24th 6.4.3 snapshot
----------------------------+-----------------------------------------------
Reporter: epatton | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.3
Component: wxGUI | Version: svn-releasebranch64
Keywords: wxGUI, startup | Platform: Linux
      Cpu: x86-64 |
----------------------------+-----------------------------------------------

Comment(by grruddy):

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/wxgui.py",
line 1721, in <module>
     sys.exit(main())
   File
"/usr/local/intel64/nehalem/gcc/grass-6.4.2/grass-6.4.2/etc/wxpython/wxgui.py",
line 1714, in main
     app = GMApp(workspaceFile)
   File
"/usr/local/intel64/nehalem/gcc/grass-6.4.2/grass-6.4.2/etc/wxpython/wxgui.py",
line 1605, in __init__
     wx.App.__init__(self, False)
   File "/usr/local/wx/wxWidgets-2.8.12.1/site-
packages/lib64/python/wx-2.8-gtk2-unicode/wx/_core.py", line 7981, in
__init__
     self._BootstrapApp()
   File "/usr/local/wx/wxWidgets-2.8.12.1/site-
packages/lib64/python/wx-2.8-gtk2-unicode/wx/_core.py", line 7555, in
_BootstrapApp
     return _core_.PyApp__BootstrapApp(*args, **kwargs)
   File
"/usr/local/intel64/nehalem/gcc/grass-6.4.2/grass-6.4.2/etc/wxpython/wxgui.py",
line 1657, in OnInit
     workspace = self.workspaceFile)
   File
"/usr/local/intel64/nehalem/gcc/grass-6.4.2/grass-6.4.2/etc/wxpython/wxgui.py",
line 128, in __init__
     self._createMenuBar()
   File
"/usr/local/intel64/nehalem/gcc/grass-6.4.2/grass-6.4.2/etc/wxpython/wxgui.py",
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/menudata.py",
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/menudata.py",
line 49, in __init__
     self.tree = etree.parse(filename)
   File "/usr/lib64/python2.6/xml/etree/ElementTree.py", line 862, in parse
     tree.parse(source, parser)
   File "/usr/lib64/python2.6/xml/etree/ElementTree.py", line 586, in parse
     parser.feed(data)
   File "/usr/lib64/python2.6/xml/etree/ElementTree.py", 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?

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1630#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>

#1630: g.gui error on startup of March 24th 6.4.3 snapshot
----------------------------+-----------------------------------------------
Reporter: epatton | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.3
Component: wxGUI | Version: svn-releasebranch64
Keywords: wxGUI, startup | Platform: Linux
      Cpu: x86-64 |
----------------------------+-----------------------------------------------

Comment(by neteler):

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

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1630#comment:3&gt;
GRASS GIS <http://grass.osgeo.org>

#1630: g.gui error on startup of March 24th 6.4.3 snapshot
----------------------+-----------------------------------------------------
  Reporter: epatton | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: normal | Milestone: 6.4.3
Component: wxGUI | Version: svn-releasebranch64
Resolution: fixed | Keywords: wxGUI, startup
  Platform: Linux | Cpu: x86-64
----------------------+-----------------------------------------------------
Changes (by neteler):

  * status: new => closed
  * resolution: => fixed

Comment:

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

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1630#comment:4&gt;
GRASS GIS <http://grass.osgeo.org>