gbenson created this task.
gbenson added a project: Pywikibot.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION
Steps to Reproduce:
./generate_family_file.py https://privatewiki.example.com/wiki/
privatefamily
Actual Results:
Generating family file from https://privatewiki.example.com/wiki/
Private wiki detected. Login is required.
Please enter your username? Valid User
Traceback (most recent call last):
File "generate_family_file.py", line 227, in <module>
FamilyFileGenerator(*sys.argv[1:]).run()
File "generate_family_file.py", line 56, in run
self.wikis[w.lang] = w
AttributeError: 'MWSite' object has no attribute 'lang'
CRITICAL: Exiting due to uncaught exception <class 'AttributeError'>
You get some extra info if you force logging on:
VERBOSE:pywiki:MW 1.17+ detection failed: TypeError('Abstract Family class
Family cannot be instantiated; subclass it instead',)
TASK DETAIL
https://phabricator.wikimedia.org/T235768
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: gbenson
Cc: Aklapper, gbenson, pywikibot-bugs-list, Zkhalido, Viztor, DannyS712, Wenyi,
Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx,
jayvdb, Dalba, Masti, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs