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
https://bugzilla.wikimedia.org/show_bug.cgi?id=72699
--- Comment #1 from John Mark Vandenberg jayvdb@gmail.com --- I know that this error has happened many times in the past.
It would be great to find which travis logs include this error, to triage it better.
This shows many other similar logs https://www.google.com/search?q=%22_run_exitfuncs%22+%22process%20shutting%2...
But adding search term "pywikibot" and there are zero results.
https://bugzilla.wikimedia.org/show_bug.cgi?id=72699
John Mark Vandenberg jayvdb@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://www.google.com/sear | |ch?q=%22_run_exitfuncs%22+% | |22process%20shutting%20down | |%22+site%3Atravis-ci.org
https://bugzilla.wikimedia.org/show_bug.cgi?id=72699
--- Comment #2 from John Mark Vandenberg jayvdb@gmail.com --- Most of the travis logs from other projects are python 2.7, so it likely also happens under python 2.7
https://bugzilla.wikimedia.org/show_bug.cgi?id=72699
--- Comment #3 from John Mark Vandenberg jayvdb@gmail.com --- Here is the same error on py27, in the shutdown after install Pillow https://travis-ci.org/wikimedia/pywikibot-core/jobs/39760334
pywikipedia-bugs@lists.wikimedia.org