Comment 1 for bug 66795

Revision history for this message
Alex Sutcliffe (alex.sutcliffe) wrote :

Hi Quinn,
Can you tell which versions of Ubuntu and bittorrent-gui you're using?

I'm using edgy and 3.4.2-6ubuntu3. An apt-cache show gives

..
Depends: python (>= 2.4), python (<< 3), bittorrent (>= 3.4.2-1), python-wxgtk2.
4 | python-wxgtk2.6
..

When I first installed bittorrent-gui it pulled in python-wxgtk2.4 and it worked fine. However I was able to re-create the error by doing installing python-wxgtk2.6 and then removing python-wxgtk2.4. bittorrent-gui dependencies were still met but I got the same error as above.

Looking at /usr/bin/btcompletedirgui.bittorrent this seems to be the problem:

...

try:
        import wxversion
        wxversion.select('2.4')
        from wxPython.wx import *
except:
        print 'Could not load wxPython. In order to use this script,'
        print 'you must have wxPython installed. It is available in'
        print 'the package libwxgtk2.4-python.'
...

I'm afraid I don't know the correct way to resolve this.