[GRASS-user] Problem with GRASS 6.4RC6 and wxPython 2.8.11 on CentOS 5.5 x86_64

Mathieu Baudier mbaudier at argeo.org
Fri Jun 4 09:13:42 EDT 2010


Hello,

I'm working on the RPM packaging of GRASS 6.4 for Enterprise Linux
(http://wiki.osgeo.org/wiki/Enterprise_Linux_GIS).

We rely on the EPEL repository for many libraries and since their
upgrade of wxGTK / wxPython to 2.8.11 the wx UI of GRASS is broken.

We get the stacktrace below:

...
  File "/usr/lib64/grass-6.4.0RC6/etc/wxpython/gui_modules/wxgui_utils.py",
line 73, in __init__
    super(LayerTree, self).__init__(parent, id, pos, size,
style=style, ctstyle=ctstyle)
  File "/usr/lib64/python2.4/site-packages/wx-2.8-gtk2-unicode/wx/lib/mixins/treemixin.py",
line 488, in __init__
    super(DragAndDrop, self).__init__(*args, **kwargs)
TypeError: __init__() got an unexpected keyword argument 'ctstyle'

(complete stack at the end of the mail)

This may also be due to the update of other component when updating to
CentOS 5.5, but I rather suspect the wx update.
Anyhow the wx UI was working on CentOS 5.4 with wxGTK 2.8.9 / wxPython 2.8.7 .

Can you please help me analyze this issue further?

Thanks in advance!

Mathieu



Welcome to GRASS 6.4.0RC6 (2010)
GRASS homepage:                          http://grass.osgeo.org/
This version running thru:               Bash Shell (/bin/bash)
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

GRASS 6.4.0RC6 (EasternBalkans2010):~ >
WARNING: Vector digitizer is not available (No module named grass6_wxvdigit).

Note that the vector digitizer is currently not working under MS
Windows (hopefully this will be fixed soon). Please keep an eye out
for updated versions of GRASS.
Traceback (most recent call last):
  File "/usr/lib64/grass-6.4.0RC6/etc/wxpython/wxgui.py", line 1819, in ?
    sys.exit(main())
  File "/usr/lib64/grass-6.4.0RC6/etc/wxpython/wxgui.py", line 1812, in main
    app = GMApp(workspaceFile)
  File "/usr/lib64/grass-6.4.0RC6/etc/wxpython/wxgui.py", line 1737, in __init__
    wx.App.__init__(self, False)
  File "/usr/lib64/python2.4/site-packages/wx-2.8-gtk2-unicode/wx/_core.py",
line 7978, in __init__
    self._BootstrapApp()
  File "/usr/lib64/python2.4/site-packages/wx-2.8-gtk2-unicode/wx/_core.py",
line 7552, in _BootstrapApp
    return _core_.PyApp__BootstrapApp(*args, **kwargs)
  File "/usr/lib64/grass-6.4.0RC6/etc/wxpython/wxgui.py", line 1755, in OnInit
    workspace = self.workspaceFile)
  File "/usr/lib64/grass-6.4.0RC6/etc/wxpython/wxgui.py", line 185, in __init__
    self.NewDisplay(show=False)
  File "/usr/lib64/grass-6.4.0RC6/etc/wxpython/wxgui.py", line 1236,
in NewDisplay
    auimgr=self._auimgr, showMapDisplay=show)
  File "/usr/lib64/grass-6.4.0RC6/etc/wxpython/gui_modules/wxgui_utils.py",
line 73, in __init__
    super(LayerTree, self).__init__(parent, id, pos, size,
style=style, ctstyle=ctstyle)
  File "/usr/lib64/python2.4/site-packages/wx-2.8-gtk2-unicode/wx/lib/mixins/treemixin.py",
line 488, in __init__
    super(DragAndDrop, self).__init__(*args, **kwargs)
TypeError: __init__() got an unexpected keyword argument 'ctstyle'


More information about the grass-user mailing list