On Wed, Oct 18, 2006 at 08:33:09PM -0000, 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.

You're right... I already had python-wxgtk2.6 installed at the point
when I installed bittorrent-gui, so I ended up with the problem
behavior.

The problem is that bittorrent-gui requires python-wxgtk2.4 _or_
python-wxgtk2.6.  However, as you pointed out, the code insists on
version 2.4:

> 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.

I think we should trust the code.  If it's asking for version 2.4,
it's probably doing so for a good reason.  The dependencies should
be changed so that bittorrent-gui requires python-wxgtk2.4 specifically,
not "python-wxgtk2.4 or python-wxgtk2.6".  That's just my take...

-- 
Missing package dependencies in bittorrent-gui
https://launchpad.net/bugs/66795

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to