[GRASS-dev] [GRASS GIS] #1675: Grass GIS wxPython startup error

GRASS GIS trac at osgeo.org
Fri Jun 15 07:18:32 PDT 2012


#1675: Grass GIS wxPython startup error
---------------------+------------------------------------------------------
 Reporter:  grruddy  |       Owner:  grass-dev@…              
     Type:  defect   |      Status:  new                      
 Priority:  normal   |   Milestone:  6.4.3                    
Component:  wxGUI    |     Version:  6.4.2                    
 Keywords:           |    Platform:  Linux                    
      Cpu:  x86-64   |  
---------------------+------------------------------------------------------

Comment(by neteler):

 Relevant part of error copied here:
 {{{
 Welcome to GRASS 6.4.2 (2012)
 GRASS homepage:                          http://grass.osgeo.org/
 This version running thru:               TC Shell (/bin/tcsh)
 Help is available with the command:      g.manual -i
 See the licence terms with:              g.version -c
 If required, restart the GUI with:       g.gui wxpython
 When ready to quit enter:                exit

 Mapset <PERMANENT> in Location <spearfish60>
 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)
 UnicodeDecodeError: 'utf8' codec can't decode byte 0xc6 in position 1:
 invalid continuation byte
 *** glibc detected *** python: double free or corruption (out):
 0x0000000001776a50 ***
 ======= Backtrace: =========
 /lib64/libc.so.6[0x3a16275296]
 /lib64/libexpat.so.1(XML_ParserFree+0x32)[0x3a19e04d12]
 /usr/lib64/python2.6/site-
 packages/_xmlplus/parsers/pyexpat.so(+0x791b)[0x7fc4084e491b]
 /usr/lib64/libpython2.6.so.1.0[0x3a2887f3eb]
 /usr/lib64/libpython2.6.so.1.0[0x3a28858074]
 /usr/lib64/libpython2.6.so.1.0[0x3a2886ce42]
 /usr/lib64/libpython2.6.so.1.0[0x3a2890435b]
 /usr/lib64/libpython2.6.so.1.0[0x3a2890436b]
 ======= Memory map: ========
 ...
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1675#comment:1>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list