[GRASSGUI] Re: ImportError: No module named aui

Tim Michelsen timmichelsen at gmx-topmail.de
Tue Jul 24 18:30:18 EDT 2007


Hello!
> I uninstal wx 2.6 and 2.8 and install aganin only 2.8 it help to run 
> wxpython
I did what you said. The Grass splash scren came up and went away.

Why do I not see the WxGrass-Windows?

Here's the error log:

/usr/lib/python2.4/site-packages/numpy/core/__init__.py:5: 
RuntimeWarning: Python C API version mismatch for module multiarray: 
This Python has API version 1013, module multiarray has version 1012.
   import multiarray
/usr/lib/python2.4/site-packages/numpy/core/__init__.py:6: 
RuntimeWarning: Python C API version mismatch for module umath: This 
Python has API version 1013, module umath has version 1012.
   import umath
/usr/lib/python2.4/site-packages/numpy/core/__init__.py:9: 
RuntimeWarning: Python C API version mismatch for module _sort: This 
Python has API version 1013, module _sort has version 1012.
   import _sort
/usr/lib/python2.4/site-packages/numpy/core/numeric.py:252: 
RuntimeWarning: Python C API version mismatch for module _dotblas: This 
Python has API version 1013, module _dotblas has version 1012.
   from _dotblas import dot, vdot, inner, alterdot, restoredot
/usr/lib/python2.4/site-packages/numpy/core/__init__.py:19: 
RuntimeWarning: Python C API version mismatch for module scalarmath: 
This Python has API version 1013, module scalarmath has version 1012.
   import scalarmath
/usr/lib/python2.4/site-packages/numpy/lib/function_base.py:25: 
RuntimeWarning: Python C API version mismatch for module _compiled_base: 
This Python has API version 1013, module _compiled_base has version 1012.
   from _compiled_base import _insert, add_docstring
/usr/lib/python2.4/site-packages/numpy/linalg/linalg.py:25: 
RuntimeWarning: Python C API version mismatch for module lapack_lite: 
This Python has API version 1013, module lapack_lite has version 1012.
   from numpy.linalg import lapack_lite
/usr/lib/python2.4/site-packages/numpy/fft/fftpack.py:28: 
RuntimeWarning: Python C API version mismatch for module fftpack_lite: 
This Python has API version 1013, module fftpack_lite has version 1012.
   import fftpack_lite as fftpack
/usr/lib/python2.4/site-packages/numpy/random/__init__.py:3: 
RuntimeWarning: Python C API version mismatch for module mtrand: This 
Python has API version 1013, module mtrand has version 1012.
   from mtrand import *
/usr/lib/python2.4/site-packages/_xmlplus/parsers/expat.py:4: 
RuntimeWarning: Python C API version mismatch for module pyexpat: This 
Python has API version 1013, module pyexpat has version 1012.
   from pyexpat import *
Error in sys.excepthook:
Traceback (most recent call last):
   File "/var/lib/python-support/python2.5/apport_python_hook.py", line 
30, in apport_excepthook
     import apport.report, apport.fileutils
   File "/var/lib/python-support/python2.4/apport/__init__.py", line 1, 
in <module>
     from apport.report import Report
   File "/var/lib/python-support/python2.4/apport/report.py", line 20, 
in <module>
     from problem_report import ProblemReport
ImportError: Bad magic number in 
/usr/lib/python2.4/site-packages/problem_report.pyc

Original exception was:
Traceback (most recent call last):
   File "/usr/lib/grass/etc/wx/wxgui.py", line 918, in <module>
     app = GMApp(0)
   File 
"/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 
7757, in __init__
     self._BootstrapApp()
   File 
"/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 
7354, in _BootstrapApp
     return _core_.PyApp__BootstrapApp(*args, **kwargs)
   File "/usr/lib/grass/etc/wx/wxgui.py", line 900, in OnInit
     mainframe = GMFrame(parent=None, id=wx.ID_ANY, title="")
   File "/usr/lib/grass/etc/wx/wxgui.py", line 188, in __init__
     self.NewDisplay()
   File "/usr/lib/grass/etc/wx/wxgui.py", line 582, in NewDisplay
     auimgr=self._auimgr)
   File 
"/usr/local/src/gis/grass/addons/gui/gui_modules/wxgui_utils.py", line 
135, in __init__
     Map=self.Map, auimgr=self.auimgr)
   File "/usr/local/src/gis/grass/addons/gui/gui_modules/mapdisp.py", 
line 1323, in __init__
     self.AddToolbar(toolb)
   File "/usr/local/src/gis/grass/addons/gui/gui_modules/mapdisp.py", 
line 1407, in AddToolbar
     self.maptoolbar = toolbars.MapToolbar(self, self.Map)
   File "/usr/local/src/gis/grass/addons/gui/gui_modules/toolbars.py", 
line 78, in __init__
     self.InitToolbar(self.mapdisplay, self.toolbar, self.ToolbarData())
   File "/usr/local/src/gis/grass/addons/gui/gui_modules/toolbars.py", 
line 42, in InitToolbar
     self.CreateTool(parent, toolbar, *tool)
   File "/usr/local/src/gis/grass/addons/gui/gui_modules/toolbars.py", 
line 58, in CreateTool
     shortHelp, longHelp)
   File 
"/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_controls.py", 
line 3715, in AddLabelTool
     shortHelp, longHelp, clientData)
   File 
"/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_controls.py", 
line 3637, in DoAddTool
     return _controls_.ToolBarBase_DoAddTool(*args, **kwargs)
ValueError: invalid null reference in method 'ToolBarBase_DoAddTool', 
expected argument 4 of type 'wxBitmap const &'




More information about the grass-gui mailing list