Bugs item #3411408, was opened at 2011-09-19 12:03 Message generated for change (Comment added) made by xqt You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3411408...
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: Closed Resolution: Fixed
Priority: 5 Private: No Submitted By: Dr. Trigon (drtrigon) Assigned to: xqt (xqt) Summary: Botlist broken
Initial Comment: DrTrigonBot complained about a
"HTTPError: HTTP Error 400: Bad Request"
that was originating from botlist.py. I was able to track this down to the point where "タチコマ robot" should be used in an URL as offset (line 96) which caused the error when puting in this bot name. As I can see a
urllib.quote(...)
should solve the problem as done in the attached file. Could please someone verify this (if there is time) and then commit this change to SVN.
Btw: I was not able to find something similar to "urllib.quote" in the bot framework so I had to import urllib.
Thanks a lot and Greetings DrTrigon
[look also at http://lists.wikimedia.org/pipermail/pywikipedia-l/2011-September/006967.htm...]
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2011-09-20 19:09
Message: fixed in r9535. thanks!
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3411408...
pywikipedia-bugs@lists.wikimedia.org