Rubin16 created this task.
Rubin16 added a subscriber: Rubin16.
Rubin16 added a project: pywikibot-core.
TASK DESCRIPTION
When I am running reflinks.py, the bot always crashes after the same article
https://ru.wikipedia.org/wiki/%D0%90%D0%BB%D0%BB%D0%B5%D1%8F_%D0%93%D0%B5%D…
I don't see anything bad in the article and it seems to be a script problem.
Traceback:
No changes were needed on [[Alleya polkovodcev (Yaroslavl')]] ***
No changes were needed on [[Alleya Geroev (Sankt-Peterburg)]] ***
Traceback (most recent call last):
File "core/pwb.py", line 222, in <module>
run_python_file(filename, argv, argvu, file_package)
File "core/pwb.py", line 81, in run_python_file
main_mod.__dict__)
File "core/scripts/reflinks.py", line 846, in <module>
main()
File "core/scripts/reflinks.py", line 843, in main
bot.run()
File "core/scripts/reflinks.py", line 605, in run
compressed = io.StringIO(f.read())
TypeError: initial_value must be unicode or None, not str
CRITICAL: Waiting for 1 network thread(s) to finish. Press ctrl-c to abort
TASK DETAIL
https://phabricator.wikimedia.org/T86462
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign
<username>.
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Rubin16
Cc: Aklapper, Rubin16, jayvdb, pywikipedia-bugs