https://bugzilla.wikimedia.org/show_bug.cgi?id=72699
Bug ID: 72699 Summary: exception in atexit Product: Pywikibot Version: core (2.0) Hardware: All OS: All Status: NEW Severity: minor Priority: Unprioritized Component: General Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: jayvdb@gmail.com Web browser: --- Mobile Platform: ---
There is a bug somewhere in the shutdown routines. It looks like the assumption is that info() exists and is callable, and sometimes on 2.6 at least it isnt always a safe bet to make.
https://travis-ci.org/wikimedia/pywikibot-core/jobs/39409037
Error in atexit._run_exitfuncs: Traceback (most recent call last): File "/opt/python/2.6.9/lib/python2.6/atexit.py", line 24, in _run_exitfuncs func(*targs, **kargs) File "/opt/python/2.6.9/lib/python2.6/multiprocessing/util.py", line 258, in _exit_function info('process shutting down') TypeError: 'NoneType' object is not callable Error in atexit._run_exitfuncs: Traceback (most recent call last): File "/opt/python/2.6.9/lib/python2.6/atexit.py", line 24, in _run_exitfuncs func(*targs, **kargs) File "/opt/python/2.6.9/lib/python2.6/multiprocessing/util.py", line 258, in _exit_function info('process shutting down') TypeError: 'NoneType' object is not callable Error in sys.exitfunc: Traceback (most recent call last): File "/opt/python/2.6.9/lib/python2.6/atexit.py", line 24, in _run_exitfuncs func(*targs, **kargs) File "/opt/python/2.6.9/lib/python2.6/multiprocessing/util.py", line 258, in _exit_function info('process shutting down') TypeError: 'NoneType' object is not callable