Bugs item #2901213, was opened at 2009-11-20 16:42 Message generated for change (Settings changed) made by mauro742 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2901213...
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: None Group: None Status: Open Resolution: None
Priority: 8
Private: No Submitted By: Mauro (mauro742) Assigned to: Nobody/Anonymous (nobody) Summary: login.py fails (again)
Initial Comment: python login.py Password for user *** on wikipedia:it: Logging in to wikipedia:it as *** Result: 411 Length Required Traceback (most recent call last): File "login.py", line 393, in <module> main() File "login.py", line 389, in main loginMan.login() File "login.py", line 278, in login cookiedata = self.getCookie(api) File "login.py", line 170, in getCookie response, data = self.site.postData(address, self.site.urlEncode(predata), sysop=self.sysop) File "/home/mauro742/MauroBot/wikipedia.py", line 5482, in postData f = MyURLopener.open(request) File "/usr/lib/python2.5/urllib2.py", line 387, in open response = meth(req, response) File "/usr/lib/python2.5/urllib2.py", line 498, in http_response 'http', request, response, code, msg, hdrs) File "/usr/lib/python2.5/urllib2.py", line 419, in error result = self._call_chain(*args) File "/usr/lib/python2.5/urllib2.py", line 360, in _call_chain result = func(*args) File "/home/mauro742/MauroBot/wikipedia.py", line 8232, in http_error_302 self, req, fp, code, msg, headers) File "/usr/lib/python2.5/urllib2.py", line 582, in http_error_302 return self.parent.open(new) File "/usr/lib/python2.5/urllib2.py", line 387, in open response = meth(req, response) File "/usr/lib/python2.5/urllib2.py", line 498, in http_response 'http', request, response, code, msg, hdrs) File "/usr/lib/python2.5/urllib2.py", line 425, in error return self._call_chain(*args) File "/usr/lib/python2.5/urllib2.py", line 360, in _call_chain result = func(*args) File "/usr/lib/python2.5/urllib2.py", line 506, in http_error_default raise HTTPError(req.get_full_url(), code, msg, hdrs, fp) urllib2.HTTPError: HTTP Error 411: Length Required
python version.py Pywikipedia [http] trunk/pywikipedia (r7670, 2009/11/20, 15:20:25) Python 2.5.2 (r252:60911, Jan 4 2009, 21:59:32) [GCC 4.3.2]
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2901213...