Import Error in current cvs head

Hi Robin,

Remade my cvs HEAD today for the first time in a week or so and got the
below error. I get the same for the StyledTextCtrl*.py files. If I do
something like python2.5 run.py RichTextCtrl.py or Dialog.py it works
fine (including the tooltips).

mlivingstone@constellation:~/workspace/wxWidgets/wxPython/demo$python2.5
demo.py
Traceback (most recent call last):
  File "demo.py", line 3, in <module>
    import Main
  File "/home/mlivingstone/workspace/wxWidgets/wxPython/demo/Main.py",
line 1775, in <module>
    import wx.lib.mixins.inspect
  File
"/usr/local/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/lib/mixins/inspect.py",
line 16, in <module>
    import wx.py
  File
"/usr/local/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/py/__init__.py",
line 8, in <module>
    import crust
  File
"/usr/local/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/py/crust.py",
line 15, in <module>
    import editwindow
  File
"/usr/local/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/py/editwindow.py",
line 8, in <module>
    from wx import stc
  File
"/usr/local/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/stc.py",
line 10, in <module>
    import _stc
ImportError: /usr/local/lib/libwx_gtk2ud_stc-2.8.so.0: symbol
_ZN8wxWindow12ApplyToolTipEP12_GtkTooltipsPKc, version WXUD_2.8 not
defined in file libwx_gtk2ud-2.8.so.0 with link time reference
[183730 refs]
mlivingstone@constellation:~/workspace/wxWidgets/wxPython/demo$

Mark Livingstone wrote:

Hi Robin,

Remade my cvs HEAD today for the first time in a week or so and got the
below error. I get the same for the StyledTextCtrl*.py files. If I do
something like python2.5 run.py RichTextCtrl.py or Dialog.py it works
fine (including the tooltips).

  File
"/usr/local/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/stc.py",
line 10, in <module>
    import _stc
ImportError: /usr/local/lib/libwx_gtk2ud_stc-2.8.so.0: symbol
_ZN8wxWindow12ApplyToolTipEP12_GtkTooltipsPKc, version WXUD_2.8 not
defined in file libwx_gtk2ud-2.8.so.0 with link time reference

Did the stc library get rebuilt after your update from CVS?

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!