Rubin16 created this task.
Rubin16 added a project: Pywikibot.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION
@PAWS:~$ pwb.py reflinks -start:Mark_of_the_Unicorn -verbose
Python 3.6.9 (default, Jul 17 2020, 12:50:27)
[GCC 8.4.0]
LOADING SITE wikipedia:ru VERSION: 1.36.0-wmf.10
LOADING SITE wikipedia:ru VERSION: 1.36.0-wmf.10
Found 1 wikipedia:ru processes running, including this one.
WARNING: /srv/paws/pwb/scripts/reflinks.py:499: ResourceWarning: unclosed
file <_io.BufferedReader name='404-links.txt'>
dead_links = codecs.open(listof404pages, 'r', 'latin_1').read()
Retrieving 50 pages from wikipedia:ru.
No changes were needed on [[Mark of the Unicorn]]
Traceback (most recent call last):
File "/srv/paws/pwb/pwb.py", line 360, in <module>
if not main():
File "/srv/paws/pwb/pwb.py", line 355, in main
file_package)
File "/srv/paws/pwb/pwb.py", line 74, in run_python_file
main_mod.__dict__)
File "/srv/paws/pwb/scripts/reflinks.py", line 818, in <module>
main()
File "/srv/paws/pwb/scripts/reflinks.py", line 814, in main
bot.run()
File "/srv/paws/pwb/scripts/reflinks.py", line 654, in run
elif not self.MIME.search(content_type):
TypeError: cannot use a string pattern on a bytes-like object
Dropped throttle(s).
Closing network session.
CRITICAL: Exiting due to uncaught exception <class 'TypeError'>
Network session closed.
@PAWS:~$
TASK DETAIL
https://phabricator.wikimedia.org/T264575
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Rubin16
Cc: Aklapper, pywikibot-bugs-list, Rubin16, JohnsonLee01, SHEKH, Dijkstra,
Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa,
Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs