I can't get one of my bots ([[User:MedcabBot]]) to log in. When invoking login.py I get the traceback below. Any ideas why? When I change the usernames line to: usernames['wikipedia']['en'] = 'MiszaBot' it works, but not with 'MedcabBot'.
Regards, Misza
misza13@nightshade:~/bots/medcabbot python ~/pywikipedia/login.py Password for user MedcabBot on wikipedia:en: Logging in to wikipedia:en as MedcabBot Result: 411 Length Required Traceback (most recent call last): File "/home/misza13/pywikipedia/login.py", line 388, in <module> main() File "/home/misza13/pywikipedia/login.py", line 384, in main loginMan.login() File "/home/misza13/pywikipedia/login.py", line 273, in login cookiedata = self.getCookie(api) File "/home/misza13/pywikipedia/login.py", line 169, in getCookie response, data = self.site.postData(address, self.site.urlEncode(predata), sysop=self.sysop) File "/home/misza13/pywikipedia/wikipedia.py", line 5451, 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 "/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