https://bugzilla.wikimedia.org/show_bug.cgi?id=55318
Web browser: --- Bug ID: 55318 Summary: weblinkchecker.py error Product: Pywikibot Version: unspecified Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: General Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: legoktm.wikipedia@gmail.com Classification: Unclassified Mobile Platform: ---
Originally from: http://sourceforge.net/p/pywikipediabot/bugs/789/ Reported by: wikishizhao Created on: 2008-09-03 14:56:27 Subject: weblinkchecker.py error Original description: see:
Exception in thread 中華民國國旗 - http://law.moj.gov.tw/Scripts/Query1A.asp?no=1D0020020&K1=%E5%9C%8B%E6%9...: Traceback (most recent call last): File "/usr/lib/python2.5/threading.py", line 486, in __bootstrap_inner self.run() File "weblinkchecker.py", line 504, in run linkChecker = LinkChecker(self.url, HTTPignore = self.HTTPignore) File "weblinkchecker.py", line 302, in __init__ self.changeUrl(url) File "weblinkchecker.py", line 357, in changeUrl self.query = unicode(urllib.quote(self.query.encode(encoding), '=&')) UnicodeEncodeError: 'latin-1' codec can't encode characters in position 17-18: ordinal not in range(256)