https://bugzilla.wikimedia.org/show_bug.cgi?id=69354
Bug ID: 69354 Summary: Login with unicode username fails Product: Pywikibot Version: unspecified Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: login.py Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: eran.roz@outlook.com Web browser: --- Mobile Platform: ---
This is probably due to recent changes in the user agent string.
File "core/pywikibot/data/api.py", line 337, in submit body=paramstring) File "core/pywikibot/comms/http.py", line 164, in request username=quote(username), File "/usr/lib/python2.7/urllib.py", line 1268, in quote return ”.join(map(quoter, s)) KeyError: u'\u05e2'