Azrael_CereVor created this task.
Azrael_CereVor added a project: Pywikibot.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION
(python3.9) $ python pwb.py generate_family_file.py
http://192.168.0.175/mywiki MyWiki
Generating family file from http://192.168.0.175/mywiki
Private wiki detected. Login is required.
Please enter your username? bot
WARNING: Http response status 404
Traceback (most recent call last):
File "/home/myhome/GIT/pywikibot_from_gerrit/core/pwb.py", line 414, in
<module>
if not main():
File "/home/myhome/GIT/pywikibot_from_gerrit/core/pwb.py", line 406, in
main
run_python_file(filename,
File "/home/myhome/GIT/pywikibot_from_gerrit/core/pwb.py", line 106, in
run_python_file
exec(compile(source, filename, 'exec', dont_inherit=True),
File "./generate_family_file.py", line 301, in <module>
main()
File "./generate_family_file.py", line 297, in main
FamilyFileGenerator(*sys.argv[1:]).run()
File "./generate_family_file.py", line 130, in run
self.wikis[w.lang] = w
AttributeError: 'MWSite' object has no attribute 'lang'
CRITICAL: Exiting due to uncaught exception <class 'AttributeError'>
mediawiki v.1.36.1 on ubuntu 20.04
pywikibot core from https://gerrit.wikimedia.org/r/pywikibot/core commit
9eb956fd79d2f00ad530f139590e3f7b84663036
<https://phabricator.wikimedia.org/rPWBC9eb956fd79d2f00ad530f139590e3f7b84663036>
python 3.9
May be a duplicate of T153891 generate_family_file.py crashes for a private
wiki <https://phabricator.wikimedia.org/T153891>
TASK DETAIL
https://phabricator.wikimedia.org/T289406
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Azrael_CereVor
Cc: Aklapper, pywikibot-bugs-list, Pywikibugs, Azrael_CereVor, 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]