XZise added a comment.
Okay what command did you use to get the exception? And is it possible to run it in Python
3 maybe? The traceback itself isn't really helpful but afaics at some point in the
HTTP layer there was the UnicodeDecodeError and I don't think it's related to the
MediaWiki server itself. The problem is that I can't see where the error originally
came from and at least usually does Python 3 provide you all exceptions that lead to an
exception so this might help.
Python 3.4.3 (default, Mar 10 2015, 13:05:12)
[GCC 4.8.3 20140911 (Red Hat 4.8.3-7)] on linux
Type "help", "copyright", "credits" or "license"
for more information.
>> try:
... int('a')
... except Exception as e:
... ex = e
...
>> raise ex
Traceback (most recent call
last):
File "<stdin>", line 1, in <module>
File "<stdin>", line 2, in <module>
ValueError: invalid literal for int() with base 10: 'a'
Python 2.7.8 (default, Aug 28 2014, 16:47:22)
[GCC 4.8.3 20140624 (Red Hat 4.8.3-1)] on linux2
Type "help", "copyright", "credits" or "license"
for more information.
>> try:
... int('a')
... except Exception as e:
... ex = e
...
>> raise ex
Traceback (most recent call
last):
File "<stdin>", line 1, in <module>
ValueError: invalid literal for int() with base 10: 'a'
TASK DETAIL
https://phabricator.wikimedia.org/T99366
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: XZise
Cc: XZise, Aklapper, zhuyifei1999, jayvdb, pywikipedia-bugs