Hywel Richards
2011-04-14 10:57:19 UTC
Hi,
Hope I am posting to the right place!
I have problems now with rpmforge packages for wxPython after a recent
update of wxGTK on CentOS 5.
Before I had:
wxPython-2.8.9.1-1.el5.rf
wxGTK-2.8.10-1.el5.rf
and things worked ok, e.g.
$ python
Python 2.4.3 (#1, Mar 5 2011, 21:25:56)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-50)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
UserWarning: wxPython/wxWidgets release number mismatch
warnings.warn("wxPython/wxWidgets release number mismatch")
Now I have:
wxPython-2.8.9.1-1.el5.rf
wxGTK-2.8.12-1.el5.rf
and get:
$ python
Python 2.4.3 (#1, Mar 5 2011, 21:25:56)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-50)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
File "<stdin>", line 1, in ?
ImportError: No module named wc
UserWarning: wxPython/wxWidgets release number mismatch
warnings.warn("wxPython/wxWidgets release number mismatch")
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File
"/usr/lib/python2.4/site-packages/wx-2.8-gtk2-unicode/wx/__init__.py",
line 45, in ?
from wx._core import *
File
"/usr/lib/python2.4/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line
14732, in ?
from _misc import *
File
"/usr/lib/python2.4/site-packages/wx-2.8-gtk2-unicode/wx/_misc.py", line
4, in ?
import _misc_
ImportError:
/usr/lib/python2.4/site-packages/wx-2.8-gtk2-unicode/wx/_misc_.so:
symbol _ZN7wxSound6CreateEiPKh, version WXU_2.8 not defined in file
libwx_gtk2u_adv-2.8.so.0 with link time reference
I managed to get things working again with:
yum downgrade wxGTK
but I assume that the wxPython packages need recompiling now.
Hywel.
Hope I am posting to the right place!
I have problems now with rpmforge packages for wxPython after a recent
update of wxGTK on CentOS 5.
Before I had:
wxPython-2.8.9.1-1.el5.rf
wxGTK-2.8.10-1.el5.rf
and things worked ok, e.g.
$ python
Python 2.4.3 (#1, Mar 5 2011, 21:25:56)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-50)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
import wx
/usr/lib/python2.4/site-packages/wx-2.8-gtk2-unicode/wx/_core.py:14448:UserWarning: wxPython/wxWidgets release number mismatch
warnings.warn("wxPython/wxWidgets release number mismatch")
Now I have:
wxPython-2.8.9.1-1.el5.rf
wxGTK-2.8.12-1.el5.rf
and get:
$ python
Python 2.4.3 (#1, Mar 5 2011, 21:25:56)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-50)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
import wc
Traceback (most recent call last):File "<stdin>", line 1, in ?
ImportError: No module named wc
import wx
/usr/lib/python2.4/site-packages/wx-2.8-gtk2-unicode/wx/_core.py:14448:UserWarning: wxPython/wxWidgets release number mismatch
warnings.warn("wxPython/wxWidgets release number mismatch")
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File
"/usr/lib/python2.4/site-packages/wx-2.8-gtk2-unicode/wx/__init__.py",
line 45, in ?
from wx._core import *
File
"/usr/lib/python2.4/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line
14732, in ?
from _misc import *
File
"/usr/lib/python2.4/site-packages/wx-2.8-gtk2-unicode/wx/_misc.py", line
4, in ?
import _misc_
ImportError:
/usr/lib/python2.4/site-packages/wx-2.8-gtk2-unicode/wx/_misc_.so:
symbol _ZN7wxSound6CreateEiPKh, version WXU_2.8 not defined in file
libwx_gtk2u_adv-2.8.so.0 with link time reference
I managed to get things working again with:
yum downgrade wxGTK
but I assume that the wxPython packages need recompiling now.
Hywel.