You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "David Alphus (Jira)" <ji...@apache.org> on 2019/08/20 14:51:00 UTC

[jira] [Created] (ARROW-6301) atexit: pyarrow.lib.ArrowKeyError: 'No type extension with name arrow.py_extension_type found'

David Alphus created ARROW-6301:
-----------------------------------

             Summary: 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


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)