[ https://issues.apache.org/jira/browse/ARROW-6301?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bryan Cutler updated ARROW-6301: -------------------------------- Summary: [Python] atexit: pyarrow.lib.ArrowKeyError: 'No type extension with name arrow.py_extension_type found' (was: atexit: pyarrow.lib.ArrowKeyError: 'No type extension with name arrow.py_extension_type found') > [Python] atexit: pyarrow.lib.ArrowKeyError: 'No type extension with name > arrow.py_extension_type found' > ------------------------------------------------------------------------------------------------------- > > Key: ARROW-6301 > URL: https://issues.apache.org/jira/browse/ARROW-6301 > Project: Apache Arrow > Issue Type: Bug > Components: Python > Affects Versions: 0.14.1 > Environment: linux, virtualenv, uwsgi, cpython 2.7 > Reporter: David Alphus > Priority: Minor > > On interrupt, I am frequently seeing the atexit function failing in pyarrow > 0.14.1. > {code:java} > ^CSIGINT/SIGQUIT received...killing workers... > killing the spooler with pid 22640 > Error in atexit._run_exitfuncs: > Traceback (most recent call last): > File "/home/alpha/.virtualenvs/wsgi/lib/python2.7/atexit.py", line 24, in > _run_exitfuncs > func(*targs, **kargs) > File "pyarrow/types.pxi", line 1860, in > pyarrow.lib._unregister_py_extension_type > check_status(UnregisterPyExtensionType()) > File "pyarrow/error.pxi", line 91, in pyarrow.lib.check_status > raise ArrowKeyError(message) > ArrowKeyError: 'No type extension with name arrow.py_extension_type found' > Error in sys.exitfunc: > Traceback (most recent call last): > File "/home/alpha/.virtualenvs/wsgi/lib/python2.7/atexit.py", line 24, in > _run_exitfuncs > func(*targs, **kargs) > File "pyarrow/types.pxi", line 1860, in > pyarrow.lib._unregister_py_extension_type > File "pyarrow/error.pxi", line 91, in pyarrow.lib.check_status > pyarrow.lib.ArrowKeyError: 'No type extension with name > arrow.py_extension_type found' > spooler (pid: 22640) annihilated > worker 1 buried after 1 seconds > goodbye to uWSGI.{code} -- This message was sent by Atlassian Jira (v8.3.2#803003)