Wheeler, Frederick W (Research)
2005-01-27 18:22:00 UTC
There is a BitTorrent/zurllib.py patch on this site,
http://lists.freebsd.org/pipermail/freebsd-ports-bugs/2004-December/047193.h
tml
This patch is also needed to get btdownloadcurses.py to work under the very
latest Cygwin, with python 2.4. I have tested this against the BitTorrent
CVS. Without the change I got diagnostics similar to those reported on the
above freebsd link. With the change btdownloadcurses.py works fine My own
cvs diffs are below.
cvs diff: Diffing .
cvs diff: Diffing BitTorrent
Index: BitTorrent/zurllib.py
===================================================================
RCS file: /cvsroot/bittorrent/BitTorrent/BitTorrent/zurllib.py,v
retrieving revision 1.3
diff -r1.3 zurllib.py
38c38,45
< return addinfourldecompress(fp, headers, url)
---
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/BitTorrent/
<*> To unsubscribe from this group, send an email to:
BitTorrent-***@yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
http://lists.freebsd.org/pipermail/freebsd-ports-bugs/2004-December/047193.h
tml
This patch is also needed to get btdownloadcurses.py to work under the very
latest Cygwin, with python 2.4. I have tested this against the BitTorrent
CVS. Without the change I got diagnostics similar to those reported on the
above freebsd link. With the change btdownloadcurses.py works fine My own
cvs diffs are below.
cvs diff: Diffing .
cvs diff: Diffing BitTorrent
Index: BitTorrent/zurllib.py
===================================================================
RCS file: /cvsroot/bittorrent/BitTorrent/BitTorrent/zurllib.py,v
retrieving revision 1.3
diff -r1.3 zurllib.py
38c38,45
< return addinfourldecompress(fp, headers, url)
---
resp = addinfourldecompress(fp, headers, url)
# As of Python 2.4 http_open response also has 'code' and 'msg'
# members, and HTTPErrorProcessor breaks if they don't exist.
resp.code = fp.code
resp.msg = fp.msg
return resp
Yahoo! Groups Links# As of Python 2.4 http_open response also has 'code' and 'msg'
# members, and HTTPErrorProcessor breaks if they don't exist.
resp.code = fp.code
resp.msg = fp.msg
return resp
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/BitTorrent/
<*> To unsubscribe from this group, send an email to:
BitTorrent-***@yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/