Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 322743 - net-p2p/bittorrent-5.2.2 fails to start - fails to find wx
Summary: net-p2p/bittorrent-5.2.2 fails to start - fails to find wx
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo net-p2p team
URL: N/A
Whiteboard:
Keywords:
Depends on:
Blocks: 336166
  Show dependency tree
 
Reported: 2010-06-04 12:10 UTC by Robert Bradbury
Modified: 2011-03-16 02:44 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (EmrgInfo.lst,4.26 KB, text/plain)
2010-06-04 12:11 UTC, Robert Bradbury
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Bradbury 2010-06-04 12:10:04 UTC
Bittorrent (which used to work fine) fails to start on my system.

See "Actual Results" for errors.

I've reinstalled bittorrent, wxpython and wxGTK without difficulty and it still generates the error.

In "/usr/lib/python2.6/site-packages" I have a wx.pth file which is a symlink to wx.pth-2.8 which contains wx-2.8-gtk2-unicode.  "python --version" yields "Python 2.6.5".

Reproducible: Always

Steps to Reproduce:
1. bittorrent

Actual Results:  
Errors are:
/usr/lib/python2.6/site-packages/BTL/hash.py:5: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
  import sha as shalib
Traceback (most recent call last):
  File "/usr/bin/bittorrent", line 183, in <module>
    from BitTorrent.GUI_wx.DownloadManager import MainLoop
  File "/usr/lib/python2.6/site-packages/BitTorrent/GUI_wx/__init__.py", line 29, in <module>
    import wx
ImportError: No module named wx

Expected Results:  
Bittorrent should startup and produce a window as it normally would.
Comment 1 Robert Bradbury 2010-06-04 12:11:39 UTC
Created attachment 234107 [details]
emerge --info
Comment 2 Robert Bradbury 2010-06-06 07:11:15 UTC
Going back to Bug #208894, Comment #6:

eselect wxwidgets set gtk2-unicode-release-2.6

Modify /etc/portage/package.mask:
>=dev-python/wxpython-2.8
then
emerge wxpython

seems to fix bittorrent.

I think this is an ebuild problem in that bittorrent would emerge fine with wxpython-2.8 installed.  The ebuild seems to require wxpython-2.6 but there doesn't seem to be anything to prevent one from upgrading to wxpython-2.8 and in the process breaking bittorrent.  Do the wxpython-2.8 ebuilds need to check to see if bittorrent is installed and warn that upgrading wxpython will break bittorrent?



Comment 3 Michael Weber (RETIRED) gentoo-dev 2010-06-07 04:50:12 UTC
(In reply to comment #2)
> ... Do the wxpython-2.8 ebuilds need to check
> to see if bittorrent is installed and warn that upgrading wxpython will break
> bittorrent?

No. But net-p2p/bittorrent should consider to depend on dev-python/wxpython:2.6
Comment 4 Ryan Hill (RETIRED) gentoo-dev 2011-03-16 02:44:58 UTC
We're dropping 5.x.  This shouldn't be a problem with 4.4.0.