C:\pwb\GIT\core>pwb.py checkimages -simulate -cat:Wikipedia:Dateiüberprüfung_(2016-04-01) Traceback (most recent call last): File "C:\pwb\GIT\core\pwb.py", line 256, in <module> if not main(): File "C:\pwb\GIT\core\pwb.py", line 250, in main run_python_file(filename, [filename] + args, argvu, file_package) File "C:\pwb\GIT\core\pwb.py", line 121, in run_python_file main_mod.__dict__) File ".\scripts\checkimages.py", line 1788, in <module> ret = main() File ".\scripts\checkimages.py", line 1703, in main catName = str(arg[5:]) UnicodeEncodeError: 'ascii' codec can't encode character u'\xfc' in position 15: ordinal not in range(128) <type 'exceptions.UnicodeEncodeError'> CRITICAL: Closing network session.
Description
Description
Details
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
[bugfix] bugfixes and improvements for checkimages | pywikibot/core | master | +131 -150 |
Event Timeline
Comment Actions
For some reason, checkimages.py runs str(arg[5:]), which of course fails if arg is non-ascii. I'm not sure why it does that -- we can probably just remove those str()s.
Comment Actions
Change 281131 had a related patch set uploaded (by Xqt):
[bugfix] bugfixes and improvements for checkimages
Comment Actions
Change 281673 had a related patch set uploaded (by Xqt):
[bugfix] bugfixes and improvements for checkimages