Bittornado fails to load due to depreciated wxPython

Bug #206898 reported by Michael Carpenter
22
Affects Status Importance Assigned to Milestone
bittornado (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: bittornado

ahsile@mc-beast:/usr/bin$ lsb_release -rd
Description: Ubuntu hardy (development branch)
Release: 8.04

ahsile@mc-beast:/usr/bin$ apt-cache policy bittornado
bittornado:
  Installed: 0.3.18-5
  Candidate: 0.3.18-5
  Version table:
 *** 0.3.18-5 0
        500 http://ca.archive.ubuntu.com hardy/main Packages
        100 /var/lib/dpkg/status

ahsile@mc-beast:/usr/bin$ /usr/bin/btdownloadgui.bittornado
/usr/bin/btdownloadgui.bittornado:20: DeprecationWarning: The wxPython compatibility package is no longer automatically generated or actively maintained. Please switch to the wx package as soon as possible.
  from wxPython.wx import *
wxPython is either not installed or has not been installed properly.

Revision history for this message
Cameron Dale (camrdale) wrote :

I don't have this problem using wxPython 2.6, but it may be a 2.8 problem. Could you please check which versions you have:

apt-cache policy python-wxgtk2.6 python-wxgtk2.8

Thanks,
Cameron

Revision history for this message
Michael Carpenter (mcarpent) wrote :

Just reinstalled bittornado, and it works fine. I'm quite certain that wxPython 2.8 came down as a dependency before, but it didn't this time. Not sure if it was a bittornado dependency, or something else.

After installing 2.8 again manually....

Setting up libwxbase2.8-0 (2.8.7.1-0ubuntu3) ...
Setting up libwxgtk2.8-0 (2.8.7.1-0ubuntu3) ...
Setting up python-wxgtk2.8 (2.8.7.1-0ubuntu3) ...
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
ahsile@mc-beast:~$ /usr/bin/btdownloadgui.bittornado
/usr/bin/btdownloadgui.bittornado:20: DeprecationWarning: The wxPython compatibility package is no longer automatically generated or actively maintained. Please switch to the wx package as soon as possible.
  from wxPython.wx import *
wxPython is either not installed or has not been installed properly.
ahsile@mc-beast:~$

And continues to work fine again after removing it.

Revision history for this message
NicDumZ (nicdumz) wrote :

Same behavior here.

The temporary fix is to remove python-wxgtk2.8

Revision history for this message
Juan Carlos Inostroza (jci) wrote :

I can confirm that removing the python-wxgtk2.8 solves the problem.

Revision history for this message
Cameron Dale (camrdale) wrote :

I've confirmed this. The severity should probably be upgraded as it seems, now that Hardy is released, more and more people are becoming affected. I'm working on a more permanent fix for it.

Changed in bittornado:
status: New → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package bittornado - 0.3.18-6

---------------
bittornado (0.3.18-6) unstable; urgency=low

  * Migrate from the old 'from wxPython.wx import *' to the
    new 'import wx' namespace (LP: #206898)
    (quilt patch 21_remove_deprecated_wxPython_usage.dpatch)
    - add python-wxgtk2.8 as an alternative depends
  * Fix an issue with the makemetafile error-handling (Closes: #476652)
    (quilt patch 22_fix_makemetafile_error-handling.dpatch)
    - thanks to Mario Lang for the fix.
  * Remove the Windows-only UPnP options (Closes: #315026)
    (quilt patch 23_remove_UPnP_options.dpatch)
  * Clarify the use of the 'ip' parameter (Closes: #323784)
    (quilt patch 24_clarify_ip_parameter.dpatch)
  * Fix a bug in the error handling of btdownloadcurses/headless
    (quilt patch 25_errors_in_error_handling.dpatch)
  * Fix some minor packaging issues
  * Switch to quilt for patches
  * Fix some lintian warnings
    - upgrade Standards-Version to 3.7.3 (no changes)
    - use non-XS VCS headers
    - move Homepage field to source package headers
    - remove the unused binary-arch target

 -- Ubuntu Archive Auto-Sync <email address hidden> Mon, 05 May 2008 10:16:44 +0100

Changed in bittornado:
status: Confirmed → Fix Released
Revision history for this message
Chol (chol83) wrote :

I have installed the Ubuntu 8.10 Beta, with python-wxgtk2.6 and no 2.8. Using bittornado 0.3.18-6, I get "wxPython is either not installed or has not been installed properly."

Changed in bittornado:
status: Fix Released → Incomplete
Revision history for this message
Cameron Dale (camrdale) wrote :

The problem you are now describing is not related to what this bug report originally referred to. You could report a new bug for this issue, but I suspect it is related to bug #275587 and #274619 in the python-wxgtk2.6 package. You could read through that report here:

https://bugs.launchpad.net/ubuntu/+source/wxwidgets2.6/+bug/275587

and do the test I described there to determine if it is the same bug. If not, please report a new one, otherwise you can just add a comment to #274619 indicating that you are also affected in Hardy.

Changed in bittornado:
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.