Last modified: 2014-11-02 17:16:13 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T74699, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 72699 - exception in atexit
exception in atexit
Status: NEW
Product: Pywikibot
Classification: Unclassified
General (Other open bugs)
core-(2.0)
All All
: Unprioritized minor
: ---
Assigned To: Pywikipedia bugs
https://www.google.com/search?q=%22_r...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-10-29 20:28 UTC by John Mark Vandenberg
Modified: 2014-11-02 17:16 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description John Mark Vandenberg 2014-10-29 20:28:39 UTC
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
Comment 1 John Mark Vandenberg 2014-10-31 23:03:17 UTC
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="_run_exitfuncs"+"process%20shutting%20down"+site%3Atravis-ci.org

But adding search term "pywikibot" and there are zero results.
Comment 2 John Mark Vandenberg 2014-11-01 03:17:46 UTC
Most of the travis logs from other projects are python 2.7, so it likely also happens under python 2.7
Comment 3 John Mark Vandenberg 2014-11-02 17:16:13 UTC
Here is the same error on py27, in the shutdown after install Pillow
https://travis-ci.org/wikimedia/pywikibot-core/jobs/39760334

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links