Page MenuHomePhabricator

Adding ability to write files to sister wikis where file exists at Commons—implement 'reupload-shared' right
Open, MediumPublic

Description

I have tried with both upload.py and imagetransfer.py to get images to English Wikisource where the filename exists at Wikicommons, and fail, being told that the image already exists at Commons.

Example for imagetransfer.py

billinghurst@tools-sgebastion-07:~$ python3 scripts/imagetransfer.py -lang:en -family:wikisource "File:The humanizing of commerce and industry; the Joseph Fisher lecture in commerce, delivered in Adelaide, 9th May, 1919 (IA humanizingofcomm00mussrich).pdf"

------------------------------------------------------------
0. Found image: [[File:The humanizing of commerce and industry; the Joseph Fisher lecture in commerce, delivered in Adelaide, 9th May, 1919 (IA humanizingofcomm00mussrich).pdf]]
============================================================
The image is already shared on commons:commons.

1 pages read
0 pages written
0 pages skipped

As a wiki admin I have the right reupload-shared—Override files on the shared media repository locally—at the target wiki (enWS) so I should be able to write but I cannot see an option to force this to occur. This is needed to transfer files that cannot be hosted at Commons, and having to delete it first is problematic.

Noting that the use of -tolang; and -tofamily: failed

billinghurst@tools-sgebastion-07:~$ python3 scripts/imagetransfer.py -tolang:en -tofamily:wikisource "File:The humanizing of commerce and industry; the Joseph Fisher lecture in commerce, delivered in Adelaide, 9th May, 1919 (IA humanizingofcomm00mussrich).pdf"

Traceback (most recent call last):
  File "scripts/imagetransfer.py", line 364, in <module>
    main()
  File "scripts/imagetransfer.py", line 359, in main
    bot = ImageTransferBot(generator=gen, **options)
  File "scripts/imagetransfer.py", line 161, in __init__
    self.opt.target = pywikibot.Site(self.opt.target)
  File "/data/project/shared/pywikibot/stable/pywikibot/tools/__init__.py", line 1475, in wrapper
    return obj(*__args, **__kw)
  File "/data/project/shared/pywikibot/stable/pywikibot/__init__.py", line 1125, in Site
    fam = Family.load(fam)
  File "/data/project/shared/pywikibot/stable/pywikibot/tools/__init__.py", line 1475, in wrapper
    return obj(*__args, **__kw)
  File "/data/project/shared/pywikibot/stable/pywikibot/family.py", line 574, in load
    raise UnknownFamily('Family %s does not exist' % fam)
pywikibot.exceptions.UnknownFamily: Family en does not exist
CRITICAL: Exiting due to uncaught exception <class 'pywikibot.exceptions.UnknownFamily'>


Especially for imagetransfer which has the specific advertised purpose to move from Commons to fail is counter intuitive.

Event Timeline

Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. · View Herald Transcript
Billinghurst renamed this task from Adding ability to write files where exists at Commons to Adding ability to write files to sister wikis where file exists at Commons—implement 'reupload-shared' right.Apr 3 2021, 12:21 PM
This comment was removed by Xqt.
Xqt triaged this task as Medium priority.Apr 3 2021, 2:15 PM

Noting that the use of -tolang; and -tofamily: failed

I'll check this. In meantime you may use -tosite option instead, e.g. -tosite:wikipedia:en in your case

Change 676729 had a related patch set uploaded (by Xqt; author: Xqt):

[pywikibot/core@master] [bugfix] Fix usage of -tofamily -tolang options in imagetransfer.py

https://gerrit.wikimedia.org/r/676729

@Billinghurst: The source "File:The humanizing of commerce and industry; the Joseph Fisher lecture in commerce, delivered in Adelaide, 9th May, 1919 (IA humanizingofcomm00mussrich).pdf" does not exist. Take "File:The humanizing of commerce and industry, the Joseph Fisher lecture in commerce, delivered in Adelaide, 9th May, 1919.pdf" instead and input the new Name (without "File:") if ask for Enter a better name, or press enter to accept: . What is the result then?

See also: T267535

Oops, my late night search failed to find this, I thought that I had requested similar before. We can probably merge.

(Noting that I have already shifted the previously mentioned file and deleted at Commons as it was a copyright violation)

It would see that File: is needed

  • -tosite: without "File:"
billinghurst@tools-sgebastion-07:~$ python3 scripts/imagetransfer.py -tosite:wikisource:en testfile.pdf

1 pages read
0 pages written
0 pages skipped
Execution time: 0 seconds
Read operation time: 0.0 seconds
Script terminated successfully.
  • -tosite with "File:
billinghurst@tools-sgebastion-07:~$ python3 scripts/imagetransfer.py -tosite:wikisource:en file:testfile.pdf -user:billinghurst -keepname
------------------------------------------------------------
0. Found image: [[File:Testfile.pdf]]
============================================================
The image is already shared on commons:commons.

1 pages read
0 pages written
0 pages skipped
Execution time: 0 seconds
Read operation time: 0.0 seconds
Script terminated successfully.

So I am not certain what the first example is reading, though without the file: apparently nothing is attempted/seen

Change 676729 merged by jenkins-bot:

[pywikibot/core@master] [bugfix] Fix bugs in imagetransfer.py

https://gerrit.wikimedia.org/r/676729

Here is a -verbose output with and without the mention of file

python3 scripts/imagetransfer.py -tosite:wikisource:en -interwiki -keepname "File:The inequality of human races (1915).djvu" -user:Billinghurst -verbose

python3 scripts/imagetransfer.py -tosite:wikisource:en -interwiki -keepname "The inequality of human races (1915).djvu" -user:Billinghurst -verbose

python3 scripts/imagetransfer.py -tosite:wikisource:en -interwiki -keepname File:The_inequality_of_human_races_\(1915\).djvu -user:Billinghurst

Pywikibot framework v6.1.0 -- Logging header

COMMAND: ['scripts/imagetransfer.py', '-tosite:wikisource:en', '-interwiki', '-keepname', 'The inequality of human races (1915).djvu', '-user:Billinghurst', '-verbose']
DATE: 2021-04-20 06:03:45.901850 UTC
VERSION: [https] r-pywikibot-core.git (b1d5b4f, g1, 2021/04/17, 19:35:28, n/a)
SYSTEM: posix.uname_result(sysname='Linux', nodename='tools-sgebastion-07', 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: /home/billinghurst/.pywikibot
PACKAGES:

OpenSSL (/usr/lib/python3/dist-packages/OpenSSL) = 16.2.0
__main__ (scripts/imagetransfer.py) = ??
_bz2 (/usr/lib/python3.5/lib-dynload/_bz2.cpython-35m-x86_64-linux-gnu.so) = ??
_cffi_backend (/usr/lib/python3/dist-packages/_cffi_backend.cpython-35m-x86_64-linux-gnu.so) = 1.9.1
_constant_time (/usr/lib/python3/dist-packages/cryptography/hazmat/bindings/_constant_time.abi3.so) = ??
_ctypes (/usr/lib/python3.5/lib-dynload/_ctypes.cpython-35m-x86_64-linux-gnu.so) = 1.1.0
_cython_0_25_2 ([path unknown]) = ??
_decimal (/usr/lib/python3.5/lib-dynload/_decimal.cpython-35m-x86_64-linux-gnu.so) = 1.70
_frozen_importlib (/usr/lib/python3.5/importlib/_bootstrap.py) = ??
_frozen_importlib_external (/usr/lib/python3.5/importlib/_bootstrap_external.py) = ??
_hashlib (/usr/lib/python3.5/lib-dynload/_hashlib.cpython-35m-x86_64-linux-gnu.so) = ??
_json (/usr/lib/python3.5/lib-dynload/_json.cpython-35m-x86_64-linux-gnu.so) = ??
_lzma (/usr/lib/python3.5/lib-dynload/_lzma.cpython-35m-x86_64-linux-gnu.so) = ??
_opcode (/usr/lib/python3.5/lib-dynload/_opcode.cpython-35m-x86_64-linux-gnu.so) = ??
_openssl (/usr/lib/python3/dist-packages/cryptography/hazmat/bindings/_openssl.abi3.so) = ??
_ssl (/usr/lib/python3.5/lib-dynload/_ssl.cpython-35m-x86_64-linux-gnu.so) = ??
_sysconfigdata_m (/usr/lib/python3.5/plat-x86_64-linux-gnu/_sysconfigdata_m.py) = ??
_tkinter (/usr/lib/python3.5/lib-dynload/_tkinter.cpython-35m-x86_64-linux-gnu.so) = ??
blinker (/usr/lib/python3/dist-packages/blinker) = 1.3
bs4 (/usr/lib/python3/dist-packages/bs4) = 4.5.3
certifi (/usr/lib/python3/dist-packages/certifi) = 2016.02.28
chardet (/usr/lib/python3/dist-packages/chardet) = 3.0.4
cryptography (/usr/lib/python3/dist-packages/cryptography) = 1.7.1
ctypes (/usr/lib/python3.5/ctypes) = 1.1.0
decimal (/usr/lib/python3.5/decimal.py) = 1.70
email (/usr/lib/python3.5/email) = ??
encodings (/usr/lib/python3.5/encodings) = ??
html (/usr/lib/python3.5/html) = ??
http (/usr/lib/python3.5/http) = ??
idlelib (/usr/lib/python3.5/idlelib) = ??
idna (/usr/lib/python3/dist-packages/idna) = ??
importlib (/usr/lib/python3.5/importlib) = ??
ipaddress (/usr/lib/python3.5/ipaddress.py) = 1.0
json (/usr/lib/python3.5/json) = 2.0.9
logging (/usr/lib/python3.5/logging) = 0.5.1.2
lxml (/usr/lib/python3/dist-packages/lxml) = ??
mpl_toolkits (/usr/lib/python3/dist-packages/mpl_toolkits) = ??
oauthlib (/usr/lib/python3/dist-packages/oauthlib) = 2.0.1
pkg_resources (/usr/lib/python3/dist-packages/pkg_resources) = ??
platform (/usr/lib/python3.5/platform.py) = 1.0.7
pyasn1 (/usr/lib/python3/dist-packages/pyasn1) = 0.1.9
re (/usr/lib/python3.5/re.py) = 2.2.1
requests (/usr/lib/python3/dist-packages/requests) = 2.21.0
requests_oauthlib (/usr/lib/python3/dist-packages/requests_oauthlib) = 0.7.0
simplejson (/usr/lib/python3/dist-packages/simplejson) = 3.10.0
six (/usr/lib/python3/dist-packages/six.py) = 1.10.0
termios (/usr/lib/python3.5/lib-dynload/termios.cpython-35m-x86_64-linux-gnu.so) = ??
tkinter (/usr/lib/python3.5/tkinter) = ??
urllib (/usr/lib/python3.5/urllib) = ??
urllib3 (/usr/lib/python3/dist-packages/urllib3) = 1.24.1
xml (/usr/lib/python3.5/xml) = ??

MODULES:

2021-04-20 01:01:24.603282 /data/project/shared/pywikibot/stable/mwparserfromhell/utils.py
2021-04-20 01:01:21.047009 /data/project/shared/pywikibot/stable/pywikibot/families/wikisource_family.py
2021-04-20 01:01:24.603282 /data/project/shared/pywikibot/stable/mwparserfromhell/compat.py
2021-04-20 01:01:21.043009 /data/project/shared/pywikibot/stable/pywikibot/daemonize.py
2021-04-20 01:01:21.055010 /data/project/shared/pywikibot/stable/pywikibot/site/_generators.py
2021-04-20 01:01:24.603282 /data/project/shared/pywikibot/stable/mwparserfromhell/parser/builder.py
2021-04-20 01:01:21.055010 /data/project/shared/pywikibot/stable/pywikibot/throttle.py
2021-04-20 01:01:21.055010 /data/project/shared/pywikibot/stable/pywikibot/tools/formatter.py
2021-04-20 01:01:21.043009 /data/project/shared/pywikibot/stable/pywikibot/bot.py
2021-04-20 01:01:21.043009 /data/project/shared/pywikibot/stable/pywikibot/data/__init__.py
2021-04-20 01:01:21.051009 /data/project/shared/pywikibot/stable/pywikibot/site/_decorators.py
2021-04-20 01:01:21.055010 /data/project/shared/pywikibot/stable/pywikibot/tools/_logging.py
2021-04-20 01:01:21.051009 /data/project/shared/pywikibot/stable/pywikibot/plural.py
2021-04-20 01:01:21.055010 /data/project/shared/pywikibot/stable/pywikibot/userinterfaces/terminal_interface_unix.py
2021-04-20 01:01:21.051009 /data/project/shared/pywikibot/stable/pywikibot/site/_apisite.py
2021-04-20 01:01:21.055010 /data/project/shared/pywikibot/stable/pywikibot/tools/chars.py
2021-04-20 01:01:24.603282 /data/project/shared/pywikibot/stable/mwparserfromhell/__init__.py
2021-04-20 01:01:24.603282 /data/project/shared/pywikibot/stable/mwparserfromhell/string_mixin.py
2021-04-20 01:01:21.043009 /data/project/shared/pywikibot/stable/pywikibot/comms/http.py
2021-04-20 01:01:21.051009 /data/project/shared/pywikibot/stable/pywikibot/page/_decorators.py
2021-04-20 01:01:21.047009 /data/project/shared/pywikibot/stable/pywikibot/exceptions.py
2021-04-20 01:01:21.051009 /data/project/shared/pywikibot/stable/pywikibot/site/_extensions.py
2021-04-20 01:01:24.603282 /data/project/shared/pywikibot/stable/mwparserfromhell/wikicode.py
2021-04-20 01:01:21.043009 /data/project/shared/pywikibot/stable/pywikibot/config2.py
2021-04-20 01:01:21.055010 /data/project/shared/pywikibot/stable/pywikibot/userinterfaces/__init__.py
2021-04-20 01:01:21.055010 /data/project/shared/pywikibot/stable/pywikibot/userinterfaces/transliteration.py
2021-04-20 01:01:21.055010 /data/project/shared/pywikibot/stable/pywikibot/textlib.py
2021-04-20 01:01:24.603282 /data/project/shared/pywikibot/stable/mwparserfromhell/nodes/template.py
2021-04-20 01:01:21.051009 /data/project/shared/pywikibot/stable/pywikibot/site/_datasite.py
2021-04-20 01:01:21.039009 /data/project/shared/pywikibot/stable/pywikibot/__metadata__.py
2021-04-20 01:01:21.051009 /data/project/shared/pywikibot/stable/pywikibot/site/_basesite.py
2021-04-20 01:01:21.059010 /data/project/shared/pywikibot/stable/pywikibot/xmlreader.py
2021-04-20 01:01:21.055010 /data/project/shared/pywikibot/stable/pywikibot/specialbots/__init__.py
2021-04-20 01:01:21.055010 /data/project/shared/pywikibot/stable/pywikibot/site/_interwikimap.py
2021-04-20 01:01:24.603282 /data/project/shared/pywikibot/stable/mwparserfromhell/nodes/__init__.py
2021-04-20 01:01:21.055010 /data/project/shared/pywikibot/stable/pywikibot/site/_tokenwallet.py
2021-04-20 01:01:21.047009 /data/project/shared/pywikibot/stable/pywikibot/login.py
2021-04-20 01:01:24.603282 /data/project/shared/pywikibot/stable/mwparserfromhell/nodes/text.py
2021-04-20 01:01:21.055010 /data/project/shared/pywikibot/stable/pywikibot/tools/_unidata.py
2021-04-20 01:01:21.055010 /data/project/shared/pywikibot/stable/pywikibot/userinterfaces/gui.py
2021-04-20 01:01:24.603282 /data/project/shared/pywikibot/stable/mwparserfromhell/parser/contexts.py
2021-04-20 01:01:21.051009 /data/project/shared/pywikibot/stable/pywikibot/page/_revision.py
2021-04-20 01:01:21.047009 /data/project/shared/pywikibot/stable/pywikibot/logging.py
2021-04-20 01:01:21.051009 /data/project/shared/pywikibot/stable/pywikibot/page/_collections.py
2021-04-20 01:01:24.603282 /data/project/shared/pywikibot/stable/mwparserfromhell/nodes/heading.py
2021-04-20 01:01:21.051009 /data/project/shared/pywikibot/stable/pywikibot/page/__init__.py
2021-04-20 01:01:21.039009 /data/project/shared/pywikibot/stable/pywikibot/__init__.py
2021-04-20 01:01:24.603282 /data/project/shared/pywikibot/stable/mwparserfromhell/nodes/tag.py
2021-04-20 01:01:24.603282 /data/project/shared/pywikibot/stable/mwparserfromhell/parser/tokenizer.py
2021-04-20 01:01:21.043009 /data/project/shared/pywikibot/stable/pywikibot/data/api.py
2021-04-20 01:01:21.051009 /data/project/shared/pywikibot/stable/pywikibot/proofreadpage.py
2021-04-20 01:01:21.051009 /data/project/shared/pywikibot/stable/pywikibot/pagegenerators.py
2021-04-20 01:01:24.603282 /data/project/shared/pywikibot/stable/mwparserfromhell/nodes/wikilink.py
2021-04-20 01:01:24.603282 /data/project/shared/pywikibot/stable/mwparserfromhell/parser/tokens.py
2021-04-20 01:01:21.055010 /data/project/shared/pywikibot/stable/pywikibot/userinterfaces/terminal_interface.py
2021-04-20 01:01:24.603282 /data/project/shared/pywikibot/stable/mwparserfromhell/nodes/extras/parameter.py
2021-04-20 01:01:21.055010 /data/project/shared/pywikibot/stable/pywikibot/site/_siteinfo.py
2021-04-20 01:01:24.603282 /data/project/shared/pywikibot/stable/mwparserfromhell/nodes/external_link.py
2021-04-20 01:01:21.047009 /data/project/shared/pywikibot/stable/pywikibot/echo.py
2021-04-20 01:01:24.603282 /data/project/shared/pywikibot/stable/mwparserfromhell/smart_list.py
2021-04-20 01:01:21.043009 /data/project/shared/pywikibot/stable/pywikibot/comms/__init__.py
2021-04-20 01:01:24.603282 /data/project/shared/pywikibot/stable/mwparserfromhell/nodes/comment.py
2021-04-20 01:01:24.603282 /data/project/shared/pywikibot/stable/mwparserfromhell/nodes/html_entity.py
2021-04-20 01:01:21.047009 /data/project/shared/pywikibot/stable/pywikibot/family.py
2021-04-20 01:01:21.047009 /data/project/shared/pywikibot/stable/pywikibot/date.py
2021-04-20 01:01:21.059010 /data/project/shared/pywikibot/stable/pywikibot/version.py
2021-04-20 01:01:21.039009 /data/project/shared/pywikibot/stable/pywikibot/backports.py
2021-04-20 01:01:24.603282 /data/project/shared/pywikibot/stable/mwparserfromhell/parser/__init__.py
2021-04-20 01:01:21.039009 /data/project/shared/pywikibot/stable/pywikibot/_wbtypes.py
2021-04-20 01:01:21.055010 /data/project/shared/pywikibot/stable/pywikibot/specialbots/_unlink.py
2021-04-20 01:01:21.047009 /data/project/shared/pywikibot/stable/pywikibot/i18n.py
2021-04-20 01:01:21.047009 /data/project/shared/pywikibot/stable/pywikibot/diff.py
2021-04-20 01:01:21.055010 /data/project/shared/pywikibot/stable/pywikibot/site/_namespace.py
2021-04-20 01:01:24.603282 /data/project/shared/pywikibot/stable/mwparserfromhell/nodes/extras/__init__.py
2021-04-20 01:01:24.603282 /data/project/shared/pywikibot/stable/mwparserfromhell/nodes/extras/attribute.py
2021-04-20 01:01:21.055010 /data/project/shared/pywikibot/stable/pywikibot/userinterfaces/terminal_interface_base.py
2021-04-20 01:01:21.055010 /data/project/shared/pywikibot/stable/pywikibot/site/_obsoletesites.py
2021-04-20 01:01:21.047009 /data/project/shared/pywikibot/stable/pywikibot/editor.py
2021-04-20 01:01:24.603282 /data/project/shared/pywikibot/stable/mwparserfromhell/nodes/argument.py
2021-04-20 01:01:21.055010 /data/project/shared/pywikibot/stable/pywikibot/tools/__init__.py
2021-04-20 01:01:21.051009 /data/project/shared/pywikibot/stable/pywikibot/site/__init__.py
2021-04-20 01:01:21.043009 /data/project/shared/pywikibot/stable/pywikibot/bot_choice.py
2021-04-20 01:01:21.055010 /data/project/shared/pywikibot/stable/pywikibot/specialbots/_upload.py
2021-04-20 01:01:24.603282 /data/project/shared/pywikibot/stable/mwparserfromhell/definitions.py

Pywikibot framework v6.1.0 -- Logging header

COMMAND: ['scripts/imagetransfer.py', '-tosite:wikisource:en', '-interwiki', '-keepname', 'The inequality of human races (1915).djvu', '-user:Billinghurst', '-verbose']
DATE: 2021-04-20 06:03:46.196540 UTC
VERSION: [https] r-pywikibot-core.git (b1d5b4f, g1, 2021/04/17, 19:35:28, n/a)
SYSTEM: posix.uname_result(sysname='Linux', nodename='tools-sgebastion-07', 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: /home/billinghurst/.pywikibot
PACKAGES:

OpenSSL (/usr/lib/python3/dist-packages/OpenSSL) = 16.2.0
__main__ (scripts/imagetransfer.py) = ??
_bz2 (/usr/lib/python3.5/lib-dynload/_bz2.cpython-35m-x86_64-linux-gnu.so) = ??
_cffi_backend (/usr/lib/python3/dist-packages/_cffi_backend.cpython-35m-x86_64-linux-gnu.so) = 1.9.1
_constant_time (/usr/lib/python3/dist-packages/cryptography/hazmat/bindings/_constant_time.abi3.so) = ??
_ctypes (/usr/lib/python3.5/lib-dynload/_ctypes.cpython-35m-x86_64-linux-gnu.so) = 1.1.0
_cython_0_25_2 ([path unknown]) = ??
_decimal (/usr/lib/python3.5/lib-dynload/_decimal.cpython-35m-x86_64-linux-gnu.so) = 1.70
_frozen_importlib (/usr/lib/python3.5/importlib/_bootstrap.py) = ??
_frozen_importlib_external (/usr/lib/python3.5/importlib/_bootstrap_external.py) = ??
_hashlib (/usr/lib/python3.5/lib-dynload/_hashlib.cpython-35m-x86_64-linux-gnu.so) = ??
_json (/usr/lib/python3.5/lib-dynload/_json.cpython-35m-x86_64-linux-gnu.so) = ??
_lzma (/usr/lib/python3.5/lib-dynload/_lzma.cpython-35m-x86_64-linux-gnu.so) = ??
_opcode (/usr/lib/python3.5/lib-dynload/_opcode.cpython-35m-x86_64-linux-gnu.so) = ??
_openssl (/usr/lib/python3/dist-packages/cryptography/hazmat/bindings/_openssl.abi3.so) = ??
_ssl (/usr/lib/python3.5/lib-dynload/_ssl.cpython-35m-x86_64-linux-gnu.so) = ??
_sysconfigdata_m (/usr/lib/python3.5/plat-x86_64-linux-gnu/_sysconfigdata_m.py) = ??
_tkinter (/usr/lib/python3.5/lib-dynload/_tkinter.cpython-35m-x86_64-linux-gnu.so) = ??
blinker (/usr/lib/python3/dist-packages/blinker) = 1.3
bs4 (/usr/lib/python3/dist-packages/bs4) = 4.5.3
certifi (/usr/lib/python3/dist-packages/certifi) = 2016.02.28
chardet (/usr/lib/python3/dist-packages/chardet) = 3.0.4
cryptography (/usr/lib/python3/dist-packages/cryptography) = 1.7.1
ctypes (/usr/lib/python3.5/ctypes) = 1.1.0
decimal (/usr/lib/python3.5/decimal.py) = 1.70
email (/usr/lib/python3.5/email) = ??
encodings (/usr/lib/python3.5/encodings) = ??
html (/usr/lib/python3.5/html) = ??
http (/usr/lib/python3.5/http) = ??
idlelib (/usr/lib/python3.5/idlelib) = ??
idna (/usr/lib/python3/dist-packages/idna) = ??
importlib (/usr/lib/python3.5/importlib) = ??
ipaddress (/usr/lib/python3.5/ipaddress.py) = 1.0
json (/usr/lib/python3.5/json) = 2.0.9
logging (/usr/lib/python3.5/logging) = 0.5.1.2
lxml (/usr/lib/python3/dist-packages/lxml) = ??
mpl_toolkits (/usr/lib/python3/dist-packages/mpl_toolkits) = ??
oauthlib (/usr/lib/python3/dist-packages/oauthlib) = 2.0.1
pkg_resources (/usr/lib/python3/dist-packages/pkg_resources) = ??
platform (/usr/lib/python3.5/platform.py) = 1.0.7
pyasn1 (/usr/lib/python3/dist-packages/pyasn1) = 0.1.9
re (/usr/lib/python3.5/re.py) = 2.2.1
requests (/usr/lib/python3/dist-packages/requests) = 2.21.0
requests_oauthlib (/usr/lib/python3/dist-packages/requests_oauthlib) = 0.7.0
simplejson (/usr/lib/python3/dist-packages/simplejson) = 3.10.0
six (/usr/lib/python3/dist-packages/six.py) = 1.10.0
termios (/usr/lib/python3.5/lib-dynload/termios.cpython-35m-x86_64-linux-gnu.so) = ??
tkinter (/usr/lib/python3.5/tkinter) = ??
urllib (/usr/lib/python3.5/urllib) = ??
urllib3 (/usr/lib/python3/dist-packages/urllib3) = 1.24.1
xml (/usr/lib/python3.5/xml) = ??

MODULES:

2021-04-20 01:01:24.603282 /data/project/shared/pywikibot/stable/mwparserfromhell/utils.py
2021-04-20 01:01:21.047009 /data/project/shared/pywikibot/stable/pywikibot/families/wikisource_family.py
2021-04-20 01:01:24.603282 /data/project/shared/pywikibot/stable/mwparserfromhell/compat.py
2021-04-20 01:01:21.043009 /data/project/shared/pywikibot/stable/pywikibot/daemonize.py
2021-04-20 01:01:21.055010 /data/project/shared/pywikibot/stable/pywikibot/site/_generators.py
2021-04-20 01:01:24.603282 /data/project/shared/pywikibot/stable/mwparserfromhell/parser/builder.py
2021-04-20 01:01:21.055010 /data/project/shared/pywikibot/stable/pywikibot/throttle.py
2021-04-20 01:01:21.055010 /data/project/shared/pywikibot/stable/pywikibot/tools/formatter.py
2021-04-20 01:01:21.043009 /data/project/shared/pywikibot/stable/pywikibot/bot.py
2021-04-20 01:01:21.043009 /data/project/shared/pywikibot/stable/pywikibot/data/__init__.py
2021-04-20 01:01:21.051009 /data/project/shared/pywikibot/stable/pywikibot/site/_decorators.py
2021-04-20 01:01:21.055010 /data/project/shared/pywikibot/stable/pywikibot/tools/_logging.py
2021-04-20 01:01:21.051009 /data/project/shared/pywikibot/stable/pywikibot/plural.py
2021-04-20 01:01:21.055010 /data/project/shared/pywikibot/stable/pywikibot/userinterfaces/terminal_interface_unix.py
2021-04-20 01:01:21.051009 /data/project/shared/pywikibot/stable/pywikibot/site/_apisite.py
2021-04-20 01:01:21.055010 /data/project/shared/pywikibot/stable/pywikibot/tools/chars.py
2021-04-20 01:01:24.603282 /data/project/shared/pywikibot/stable/mwparserfromhell/__init__.py
2021-04-20 01:01:24.603282 /data/project/shared/pywikibot/stable/mwparserfromhell/string_mixin.py
2021-04-20 01:01:21.043009 /data/project/shared/pywikibot/stable/pywikibot/comms/http.py
2021-04-20 01:01:21.051009 /data/project/shared/pywikibot/stable/pywikibot/page/_decorators.py
2021-04-20 01:01:21.047009 /data/project/shared/pywikibot/stable/pywikibot/exceptions.py
2021-04-20 01:01:21.051009 /data/project/shared/pywikibot/stable/pywikibot/site/_extensions.py
2021-04-20 01:01:24.603282 /data/project/shared/pywikibot/stable/mwparserfromhell/wikicode.py
2021-04-20 01:01:21.043009 /data/project/shared/pywikibot/stable/pywikibot/config2.py
2021-04-20 01:01:21.055010 /data/project/shared/pywikibot/stable/pywikibot/userinterfaces/__init__.py
2021-04-20 01:01:21.055010 /data/project/shared/pywikibot/stable/pywikibot/userinterfaces/transliteration.py
2021-04-20 01:01:21.055010 /data/project/shared/pywikibot/stable/pywikibot/textlib.py
2021-04-20 01:01:24.603282 /data/project/shared/pywikibot/stable/mwparserfromhell/nodes/template.py
2021-04-20 01:01:21.051009 /data/project/shared/pywikibot/stable/pywikibot/site/_datasite.py
2021-04-20 01:01:21.039009 /data/project/shared/pywikibot/stable/pywikibot/__metadata__.py
2021-04-20 01:01:21.051009 /data/project/shared/pywikibot/stable/pywikibot/site/_basesite.py
2021-04-20 01:01:21.059010 /data/project/shared/pywikibot/stable/pywikibot/xmlreader.py
2021-04-20 01:01:21.055010 /data/project/shared/pywikibot/stable/pywikibot/specialbots/__init__.py
2021-04-20 01:01:21.055010 /data/project/shared/pywikibot/stable/pywikibot/site/_interwikimap.py
2021-04-20 01:01:24.603282 /data/project/shared/pywikibot/stable/mwparserfromhell/nodes/__init__.py
2021-04-20 01:01:21.055010 /data/project/shared/pywikibot/stable/pywikibot/site/_tokenwallet.py
2021-04-20 01:01:21.047009 /data/project/shared/pywikibot/stable/pywikibot/login.py
2021-04-20 01:01:24.603282 /data/project/shared/pywikibot/stable/mwparserfromhell/nodes/text.py
2021-04-20 01:01:21.055010 /data/project/shared/pywikibot/stable/pywikibot/tools/_unidata.py
2021-04-20 01:01:21.055010 /data/project/shared/pywikibot/stable/pywikibot/userinterfaces/gui.py
2021-04-20 01:01:24.603282 /data/project/shared/pywikibot/stable/mwparserfromhell/parser/contexts.py
2021-04-20 01:01:21.051009 /data/project/shared/pywikibot/stable/pywikibot/page/_revision.py
2021-04-20 01:01:21.047009 /data/project/shared/pywikibot/stable/pywikibot/logging.py
2021-04-20 01:01:21.051009 /data/project/shared/pywikibot/stable/pywikibot/page/_collections.py
2021-04-20 01:01:24.603282 /data/project/shared/pywikibot/stable/mwparserfromhell/nodes/heading.py
2021-04-20 01:01:21.051009 /data/project/shared/pywikibot/stable/pywikibot/page/__init__.py
2021-04-20 01:01:21.039009 /data/project/shared/pywikibot/stable/pywikibot/__init__.py
2021-04-20 01:01:24.603282 /data/project/shared/pywikibot/stable/mwparserfromhell/nodes/tag.py
2021-04-20 01:01:24.603282 /data/project/shared/pywikibot/stable/mwparserfromhell/parser/tokenizer.py
2021-04-20 01:01:21.043009 /data/project/shared/pywikibot/stable/pywikibot/data/api.py
2021-04-20 01:01:21.051009 /data/project/shared/pywikibot/stable/pywikibot/proofreadpage.py
2021-04-20 01:01:21.051009 /data/project/shared/pywikibot/stable/pywikibot/pagegenerators.py
2021-04-20 01:01:24.603282 /data/project/shared/pywikibot/stable/mwparserfromhell/nodes/wikilink.py
2021-04-20 01:01:24.603282 /data/project/shared/pywikibot/stable/mwparserfromhell/parser/tokens.py
2021-04-20 01:01:21.055010 /data/project/shared/pywikibot/stable/pywikibot/userinterfaces/terminal_interface.py
2021-04-20 01:01:24.603282 /data/project/shared/pywikibot/stable/mwparserfromhell/nodes/extras/parameter.py
2021-04-20 01:01:21.055010 /data/project/shared/pywikibot/stable/pywikibot/site/_siteinfo.py
2021-04-20 01:01:24.603282 /data/project/shared/pywikibot/stable/mwparserfromhell/nodes/external_link.py
2021-04-20 01:01:21.047009 /data/project/shared/pywikibot/stable/pywikibot/echo.py
2021-04-20 01:01:24.603282 /data/project/shared/pywikibot/stable/mwparserfromhell/smart_list.py
2021-04-20 01:01:21.043009 /data/project/shared/pywikibot/stable/pywikibot/comms/__init__.py
2021-04-20 01:01:24.603282 /data/project/shared/pywikibot/stable/mwparserfromhell/nodes/comment.py
2021-04-20 01:01:24.603282 /data/project/shared/pywikibot/stable/mwparserfromhell/nodes/html_entity.py
2021-04-20 01:01:21.047009 /data/project/shared/pywikibot/stable/pywikibot/family.py
2021-04-20 01:01:21.047009 /data/project/shared/pywikibot/stable/pywikibot/date.py
2021-04-20 01:01:21.059010 /data/project/shared/pywikibot/stable/pywikibot/version.py
2021-04-20 01:01:21.039009 /data/project/shared/pywikibot/stable/pywikibot/backports.py
2021-04-20 01:01:24.603282 /data/project/shared/pywikibot/stable/mwparserfromhell/parser/__init__.py
2021-04-20 01:01:21.039009 /data/project/shared/pywikibot/stable/pywikibot/_wbtypes.py
2021-04-20 01:01:21.055010 /data/project/shared/pywikibot/stable/pywikibot/specialbots/_unlink.py
2021-04-20 01:01:21.047009 /data/project/shared/pywikibot/stable/pywikibot/i18n.py
2021-04-20 01:01:21.047009 /data/project/shared/pywikibot/stable/pywikibot/diff.py
2021-04-20 01:01:21.055010 /data/project/shared/pywikibot/stable/pywikibot/site/_namespace.py
2021-04-20 01:01:24.603282 /data/project/shared/pywikibot/stable/mwparserfromhell/nodes/extras/__init__.py
2021-04-20 01:01:24.603282 /data/project/shared/pywikibot/stable/mwparserfromhell/nodes/extras/attribute.py
2021-04-20 01:01:21.055010 /data/project/shared/pywikibot/stable/pywikibot/userinterfaces/terminal_interface_base.py
2021-04-20 01:01:21.055010 /data/project/shared/pywikibot/stable/pywikibot/site/_obsoletesites.py
2021-04-20 01:01:21.047009 /data/project/shared/pywikibot/stable/pywikibot/editor.py
2021-04-20 01:01:24.603282 /data/project/shared/pywikibot/stable/mwparserfromhell/nodes/argument.py
2021-04-20 01:01:21.055010 /data/project/shared/pywikibot/stable/pywikibot/tools/__init__.py
2021-04-20 01:01:21.051009 /data/project/shared/pywikibot/stable/pywikibot/site/__init__.py
2021-04-20 01:01:21.043009 /data/project/shared/pywikibot/stable/pywikibot/bot_choice.py
2021-04-20 01:01:21.055010 /data/project/shared/pywikibot/stable/pywikibot/specialbots/_upload.py
2021-04-20 01:01:24.603282 /data/project/shared/pywikibot/stable/mwparserfromhell/definitions.py

Python 3.5.3 (default, Apr 5 2021, 09:00:41)
[GCC 6.3.0 20170516]
Found 1 wikisource:en processes running, including this one.
Found 1 wikisource:en processes running, including this one.
Dropped throttle(s).

1 pages read
0 pages written
0 pages skipped
Execution time: 0 seconds
Read operation time: 0.0 seconds
Script terminated successfully.
Dropped throttle(s).
Closing network session.
Network session closed.