C:\pwb\GIT\core>generate_user_files.py -family:wikipedia -user:Xqtest -debug Traceback (most recent call last): File "C:\pwb\GIT\core\generate_user_files.py", line 452, in <module> main() File "C:\pwb\GIT\core\generate_user_files.py", line 422, in main local_args = pywikibot.handle_args(args) File "C:\pwb\GIT\core\pywikibot\bot.py", line 907, in handle_args init_handlers() File "C:\pwb\GIT\core\pywikibot\bot.py", line 373, in init_handlers throttle = pywikibot.Site().throttle # initialize a Throttle obj File "C:\pwb\GIT\core\pywikibot\tools\_deprecate.py", line 404, in wrapper return obj(*__args, **__kw) File "C:\pwb\GIT\core\pywikibot\__init__.py", line 1201, in Site _sites[key] = interface(code=code, fam=fam, user=user) File "C:\pwb\GIT\core\pywikibot\tools\_deprecate.py", line 487, in wrapper return obj(*new_args, **new_kwargs) File "C:\pwb\GIT\core\pywikibot\site\_apisite.py", line 115, in __init__ super().__init__(code, fam, user) File "C:\pwb\GIT\core\pywikibot\tools\_deprecate.py", line 487, in wrapper return obj(*new_args, **new_kwargs) File "C:\pwb\GIT\core\pywikibot\site\_basesite.py", line 48, in __init__ if code.lower() != code: AttributeError: 'NoneType' object has no attribute 'lower' Error in atexit._run_exitfuncs: Traceback (most recent call last): File "C:\pwb\GIT\core\pywikibot\__init__.py", line 1277, in _flush debug('_flush() called', _logger) File "C:\pwb\GIT\core\pywikibot\logging.py", line 210, in debug logoutput(text, decoder, newline, DEBUG, layer, **kwargs) File "C:\pwb\GIT\core\pywikibot\logging.py", line 76, in logoutput _init() File "C:\pwb\GIT\core\pywikibot\logging.py", line 35, in _init init_routine() File "C:\pwb\GIT\core\pywikibot\bot.py", line 373, in init_handlers throttle = pywikibot.Site().throttle # initialize a Throttle obj File "C:\pwb\GIT\core\pywikibot\tools\_deprecate.py", line 404, in wrapper return obj(*__args, **__kw) File "C:\pwb\GIT\core\pywikibot\__init__.py", line 1201, in Site _sites[key] = interface(code=code, fam=fam, user=user) File "C:\pwb\GIT\core\pywikibot\tools\_deprecate.py", line 487, in wrapper return obj(*new_args, **new_kwargs) File "C:\pwb\GIT\core\pywikibot\site\_apisite.py", line 115, in __init__ super().__init__(code, fam, user) File "C:\pwb\GIT\core\pywikibot\tools\_deprecate.py", line 487, in wrapper return obj(*new_args, **new_kwargs) File "C:\pwb\GIT\core\pywikibot\site\_basesite.py", line 48, in __init__ if code.lower() != code: AttributeError: 'NoneType' object has no attribute 'lower' CRITICAL: Exiting due to uncaught exception <class 'AttributeError'> C:\pwb\GIT\core>
Description
Description
Details
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
[bugfix] Ignore throttle.pid if a Site object cannot be created | pywikibot/core | master | +16 -8 |
Event Timeline
Comment Actions
Change 705155 had a related patch set uploaded (by Xqt; author: Xqt):
[pywikibot/core@master] [bugfix] Ignore throttle.pid if a Site object cannot be created
Comment Actions
Change 705155 merged by jenkins-bot:
[pywikibot/core@master] [bugfix] Ignore throttle.pid if a Site object cannot be created