Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-6301

[Python] atexit: pyarrow.lib.ArrowKeyError: 'No type extension with name arrow.py_extension_type found'

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.14.1
    • 0.15.0
    • Python
    • linux, virtualenv, uwsgi, cpython 2.7

    Description

      On interrupt, I am frequently seeing the atexit function failing in pyarrow 0.14.1.

       ^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.

      Attachments

        Issue Links

          Activity

            People

              wesm Wes McKinney
              david.alphus David Alphus
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m