Billinghurst created this task.
Billinghurst added a project: Pywikibot.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION
**List of steps to reproduce** (step by step, including full links if
applicable):
Running command to extract work all get the same error
- python3 scripts/djvutext.py -djvu:The_Strand_Magazine_\(Volume_4\).djvu
-index::The_Strand_Magazine_\(Volume_4\).djvu
- python3 scripts/djvutext.py -djvu:The_Strand_Magazine_\(Volume_4\).djvu
-index::The_Strand_Magazine_\(Volume_4\).djvu -lang:en -family:wikisource
- python3 scripts/djvutext.py -djvu:The_Strand_Magazine_\(Volume_4\).djvu
-index::The_Strand_Magazine_\(Volume_4\).djvu -site:wikisource:en
**What happens?**:
billinghurst@tools-sgebastion-07:~/wikisource-bot$ python3
scripts/djvutext.py -djvu:The_Strand_Magazine_\(Volume_4\).djvu
-index::The_Strand_Magazine_\(Volume_4\).djvu -site:wikisource:en
uploading text from
/mnt/nfs/labstore-secondary-tools-project/wikisource-bot/The_Strand_Magazine_(Volume_4).djvu
to [[Index:The Strand Magazine (Volume 4).djvu]]
ERROR: Fatal error:
Traceback (most recent call last):
File "scripts/djvutext.py", line 204, in <module>
main()
File "scripts/djvutext.py", line 198, in main
bot = DjVuTextBot(djvu, index_page, pages=pages, site=site, **options)
File "scripts/djvutext.py", line 68, in __init__
super().__init__(site=index.site, **kwargs)
TypeError: __init__() got multiple values for keyword argument 'site'
**What should have happened instead?**:
It should start to extract the files and apply the layers at enWS
**Software version (if not a Wikimedia wiki), browser information,
screenshots, other information, etc**:
TASK DETAIL
https://phabricator.wikimedia.org/T292539
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Billinghurst
Cc: Aklapper, pywikibot-bugs-list, Billinghurst, 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]
To unsubscribe send an email to [email protected]