Ipatrol claimed this task. Ipatrol added a comment.
The cause of the unprintable error problem appears to be that exceptions.error </diffusion/PWBC/browse/master/pywikibot/exceptions.py$116> contains the UnicodeMixin </diffusion/PWBC/browse/master/pywikibot/tools/__init__.py$153-164> class to provide forward compatibility, but it can cause this mangling when one is using a terminal that is not classified as supporting UTF-8 (see http://bugs.python.org/issue8313). I can write a patch which would add a ##__repr__()## method to the exception, which I will do so shortly, unless someone thinks the problem is something else. TASK DETAIL https://phabricator.wikimedia.org/T124922 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Ipatrol Cc: Ipatrol, Aklapper, Yann, StudiesWorld, pywikibot-bugs-list, zhuyifei1999 _______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
