Bugs item #1887151, was opened at 2008-02-05 18:54
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=188715…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: General
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: NicDumZ — Nicolas Dumazet (nicdumz)
Assigned to: Nobody/Anonymous (nobody)
Summary: getUrl crashes when lent(text) does not match content-length
Initial Comment:
I was running my script in a virtual console, so I can't copy/paste the stack dump
here.
However, it was, roughly :
Warning! len(text) does not match content-length: 9789 != 13259
Traceback:
page.get() in my script
-> wikipedia.py:607
-> wikipedia.py:656
-> wikipedia.py:4038 : "self.conn.close()"
AttributeError: 'Site' object has no attribute 'conn'
This came from the old persistant_http config, a patch is included.
Cheers !
Nicolas Dumazet — NicDumZ.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=188715…