bd808 created this task. bd808 added projects: Pywikibot, Toolforge. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION Following tutorial at https://wikitech.wikimedia.org/wiki/Help:Toolforge/Pywikibot#Using_the_shared_Pywikibot_files_(recommended_setup) $ become bd808-test2 $ export PYTHONPATH=/data/project/shared/pywikibot/stable:/data/project/shared/pywikibot/stable/scripts $ mkdir $HOME/.pywikibot $ python3 /data/project/shared/pywikibot/stable/generate_user_files.py Traceback (most recent call last): File "/data/project/shared/pywikibot/stable/generate_user_files.py", line 473, in <module> main() File "/data/project/shared/pywikibot/stable/generate_user_files.py", line 443, in main local_args = pywikibot.handle_args(args) File "/mnt/nfs/labstore-secondary-tools-project/pywikibot/public_html/core_stable/pywikibot/bot.py", line 878, in handle_args pywikibot.Site() File "/mnt/nfs/labstore-secondary-tools-project/pywikibot/public_html/core_stable/pywikibot/tools/__init__.py", line 1434, in wrapper return obj(*__args, **__kw) File "/mnt/nfs/labstore-secondary-tools-project/pywikibot/public_html/core_stable/pywikibot/__init__.py", line 1249, in Site _sites[key] = interface(code=code, fam=fam, user=user) File "/mnt/nfs/labstore-secondary-tools-project/pywikibot/public_html/core_stable/pywikibot/tools/__init__.py", line 1517, in wrapper return obj(*new_args, **new_kwargs) File "/mnt/nfs/labstore-secondary-tools-project/pywikibot/public_html/core_stable/pywikibot/site/__init__.py", line 1705, in __init__ BaseSite.__init__(self, code, fam, user) File "/mnt/nfs/labstore-secondary-tools-project/pywikibot/public_html/core_stable/pywikibot/tools/__init__.py", line 1517, in wrapper return obj(*new_args, **new_kwargs) File "/mnt/nfs/labstore-secondary-tools-project/pywikibot/public_html/core_stable/pywikibot/site/__init__.py", line 720, in __init__ if code.lower() != code: AttributeError: 'NoneType' object has no attribute 'lower' CRITICAL: Exiting due to uncaught exception <class 'AttributeError'> TASK DETAIL https://phabricator.wikimedia.org/T261771 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: bd808 Cc: Aklapper, pywikibot-bugs-list, bd808, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Nintendofan885, Zkhalido, Viztor, Wenyi, skpuneethumar, Zylc, Bstorm, 1978Gage2001, DSquirrelGM, Chicocvenancio, Tbscho, MayS, Freddy2001, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, Luke081515, mys_721tx, Jitrixis, Gryllida, jayvdb, Masti, scfc, Alchimista, coren, Rxy, Krenair
_______________________________________________ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs