[wxPython] installing 2.2.2

Hi,

I finally upgraded from 2.1.15 to 2.2.2 and now I can't get wxPython to work.
I resisted this long because I knew something like this would happen =). I
built/installed/rebuilt everything without errors but when I try to run a
wxPython program it crashes with the following:

Traceback (innermost last):
  File "demo.py", line 12, in ?
    from wxPython.wx import *
  File "/usr/freeware/lib/python1.5/site-packages/wxPython/__init__.py", line
20, in ?
    import wxc
ImportError: 264094:python: rld: Fatal Error: unresolvable symbol in
/usr/freeware/lib/python1.5/site-packages/wxPython/wxc.so:
__record_needed_destruction

I can compile and run the C++ demo apps fine so I don't believe that wxGTK is
the problem.

I'm using:
sgi irix 6.5
gtk 1.2.8
wxGTK, wxPython 2.2.2

-Mike

···

_______________________________________________
wxPython-users mailing list
wxPython-users@lists.sourceforge.net
http://lists.sourceforge.net/mailman/listinfo/wxpython-users

I finally upgraded from 2.1.15 to 2.2.2 and now I can't get wxPython to

work.

I resisted this long because I knew something like this would happen =).

I

built/installed/rebuilt everything without errors but when I try to run a
wxPython program it crashes with the following:

Traceback (innermost last):
  File "demo.py", line 12, in ?
    from wxPython.wx import *
  File "/usr/freeware/lib/python1.5/site-packages/wxPython/__init__.py",

line

20, in ?
    import wxc
ImportError: 264094:python: rld: Fatal Error: unresolvable symbol in
/usr/freeware/lib/python1.5/site-packages/wxPython/wxc.so:
__record_needed_destruction

Well there's a new one... The only thing I can think of is if this symbol
is coming from some C++ runtime library and you're not getting it because
Python and/or wxPython were not linked with the C++ compiler driver. (Since
it worked with 2.1.15 then my guess is that wxPython itself was linked
different then.) Since the build proicess is different now you might try
building 2.1.15 again to see how how it was linked and then force distutils
to link differently for 2.2.2 as described in BUILD.unix.txt.

You might also try Python 2.0 as its configure may have already taken care
of the problem. It did for me on Solaris.

I can compile and run the C++ demo apps fine so I don't believe that wxGTK

is

···

the problem.

I'm using:
sgi irix 6.5
gtk 1.2.8
wxGTK, wxPython 2.2.2

--
Robin Dunn
Software Craftsman
robin@AllDunn.com
http://wxPython.org Java give you jitters?
http://wxPROs.com Relax with wxPython!

_______________________________________________
wxPython-users mailing list
wxPython-users@lists.sourceforge.net
http://lists.sourceforge.net/mailman/listinfo/wxpython-users