Comment 3 for bug 275587

Revision history for this message
Pablo Olmos de Aguilera Corradini (pablox) wrote : Re: [Bug 275587] [NEW] Bad dependencies of bittornado-gui

2008/9/28 Cameron Dale <email address hidden>:
> On Sun, Sep 28, 2008 at 1:51 PM, Pablo Olmos de Aguilera Corradini
> <email address hidden> wrote:
>> When you install bittornado-gui* in Intrepid*. The command
>> btmaketorrentgui doesn't work giving the following error:
>>
>> wxPython is either not installed or has not been installed properly.
>>
>> It's necessary to install python-wxgtk2.8 to get the app to run. I think
>> the solution is to only add that package as a dependency of bittornado-
>> gui (sorry, I don't know how to do that u_u)
>
> bittornado-gui depends on "python-wxgtk2.6 or python-wxgtk2.8", which
> probably caused python-wxgtk2.6 to be installed. It should work with
> either one though (it does on my Debian machine anyway), so the
> dependencies are not the problem. Could you please uninstall
> python-wxgtk2.8 and try this command from the terminal:

Indeed. When I installed bittorrent-gui it asks me for python-wxgtk2.6

> python -c 'import wx'
>
> If that generates an error (it should), let me know what it says

~$ python -c 'import wx'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named wx
~$

> and
> then try this command:
>
> python -c 'import wxversion ; print wxversion.getInstalled()'

~$ python -c 'import wxversion ; print wxversion.getInstalled()'
['2.6-gtk2-unicode']
~$

> You can then reinstall python-wxgtk2.8 and try the commands again to
> see what the difference is.

~$ python -c 'import wx'
(shows no errors)
~$ python -c 'import wxversion ; print wxversion.getInstalled()'
['2.8-gtk2-unicode', '2.6-gtk2-unicode']
~$

> Thanks,
> Cameron

Regards,
--
Pablo Olmos de Aguilera Corradini
http://glatelier.wordpress.com