Rubin16 created this task.
Rubin16 added projects: Pywikibot, Pywikibot-Scripts.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION
== Pywikibot framework v6.0.0.dev0 -- Logging header ===
COMMAND: ['./scripts/reflinks.py', '-always',
'-start:Социально-экономический_институт_СГТУ', '-v', 'debug']
DATE: 2021-03-07 16:05:35.276676 UTC
VERSION: [https] r-pywikibot-core (bc28c3b, g14368, 2021/03/07, 13:36:15,
n/a)
SYSTEM: posix.uname_result(sysname='Linux', nodename='tools-sgebastion-08',
release='4.19.0-0.bpo.14-amd64', version='#1 SMP Debian 4.19.171-2~deb9u1
(2021-02-08)', machine='x86_64')
CONFIG FILE DIR:
/mnt/nfs/labstore-secondary-tools-project/rubin16/pywikibot-core
=========================================================
Python 3.5.3 (default, Nov 18 2020, 21:09:16)
[GCC 6.3.0 20170516]
Found 1 wikipedia:ru processes running, including this one.
Retrieving 50 pages from wikipedia:ru.
WARNING: Http response status 404
HTTP error (404) for http://hakasia.roskazna.ru/page/10586 on
[[Социально-экономический институт СГТУ им. Гагарина Ю. А.]]
Dropped throttle(s).
0 pages read
0 pages written
0 pages skipped
Execution time: 3 seconds
Script terminated by exception:
ERROR: LookupError: unknown encoding: Win-1251
Traceback (most recent call last):
File "pwb.py", line 363, in <module>
if not main():
File "pwb.py", line 358, in main
file_package)
File "pwb.py", line 75, in run_python_file
main_mod.__dict__)
File "./scripts/reflinks.py", line 767, in <module>
main()
File "./scripts/reflinks.py", line 763, in main
bot.run()
File
"/mnt/nfs/labstore-secondary-tools-project/rubin16/pywikibot-core/pywikibot/bot.py",
line 1484, in run
self.treat(page)
File "./scripts/reflinks.py", line 535, in treat
ref.url, use_fake_user_agent=self._use_fake_user_agent)
File
"/mnt/nfs/labstore-secondary-tools-project/rubin16/pywikibot-core/pywikibot/tools/__init__.py",
line 1478, in wrapper
return obj(*__args, **__kw)
File
"/mnt/nfs/labstore-secondary-tools-project/rubin16/pywikibot-core/pywikibot/comms/http.py",
line 417, in fetch
response.encoding = _decide_encoding(response, charset)
File
"/mnt/nfs/labstore-secondary-tools-project/rubin16/pywikibot-core/pywikibot/comms/http.py",
line 472, in _decide_encoding
return _try_decode(response.content, header_encoding)
File
"/mnt/nfs/labstore-secondary-tools-project/rubin16/pywikibot-core/pywikibot/comms/http.py",
line 456, in _try_decode
content.decode(encoding)
LookupError: unknown encoding: Win-1251
Dropped throttle(s).
Closing network session.
CRITICAL: Exiting due to uncaught exception <class 'LookupError'>
Network session closed.
TASK DETAIL
https://phabricator.wikimedia.org/T276715
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Rubin16
Cc: Aklapper, pywikibot-bugs-list, Rubin16, Jyoo1011, JohnsonLee01, SHEKH,
Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89,
Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs