Opened 13 years ago
Closed 11 years ago
#1630 closed defect (fixed)
g.gui error on startup of March 24th 6.4.3 snapshot
Reported by: | epatton | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 6.4.3 |
Component: | wxGUI | Version: | svn-releasebranch64 |
Keywords: | wxGUI, startup | Cc: | |
CPU: | x86-64 | Platform: | Linux |
Description
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.
Change History (4)
comment:1 by , 13 years ago
comment:2 by , 13 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/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_.PyAppBootstrapApp(*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?
comment:3 by , 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 , 11 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Assuming a sporadic mishap, the issue was never reported again. Closing, feel free to reopen if it occurs again.
Please post the output of
g.region -p