After upgrading the port lang/python to version 2.4, the port net/py-bittorrent is broken. This appears to be an incompatibility in bittorrent's zurllib.py file; the patch below has also been sent to the bittorrent development list. This problem, and the same solution, appears to also apply to the port net/bittornado. Fix: Apply the following patch to net/py-bittorrent: How-To-Repeat: $ btdownloadheadless.py 'http://people.freebsd.org/~scottl/5.3-torrent/5.3-RELEASE-i386-all.torrent' Traceback (most recent call last): File "/usr/local/bin/btdownloadheadless.py", line 163, in ? run(argv[1:]) File "/usr/local/bin/btdownloadheadless.py", line 158, in run download(params, h.chooseFile, h.display, h.finished, h.error, Event(), cols, h.newpath) File "/usr/local/lib/python2.4/site-packages/BitTorrent/download.py", line 120, in download h = urlopen(config['url']) File "/usr/local/lib/python2.4/urllib2.py", line 130, in urlopen return _opener.open(url, data) File "/usr/local/lib/python2.4/urllib2.py", line 364, in open response = meth(req, response) File "/usr/local/lib/python2.4/urllib2.py", line 468, in http_response code, msg, hdrs = response.code, response.msg, response.info() AttributeError: addinfourldecompress instance has no attribute 'code'
Responsible Changed From-To: freebsd-ports-bugs->lioux Over to maintainer.
State Changed From-To: open->closed Committed, thanks!