Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-1427

AttributeError: 'Cursor' object has no attribute '_Cursor__killed'

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 3.6
    • Fix Version/s: 3.6
    • Component/s: None
    • Labels:
      None

      Description

      test_exhaust (test_collection.TestCollection) ... Exception ignored in: <bound method Cursor.__del__ of <pymongo.cursor.Cursor object at 0x7fab1d0edf28>>
      Traceback (most recent call last):
        File "/home/behackett/work/mongo-python-driver/pymongo/cursor.py", line 239, in __del__
          self.__die()
        File "/home/behackett/work/mongo-python-driver/pymongo/cursor.py", line 296, in __die
          already_killed = self.__killed
      AttributeError: 'Cursor' object has no attribute '_Cursor__killed'
      ok
       
      ...
       
      test_find_with_sort (test_collection.TestCollection) ... Exception ignored in: <bound method Cursor.__del__ of <pymongo.cursor.Cursor object at 0x7fab1d155dd8>>
      Traceback (most recent call last):
        File "/home/behackett/work/mongo-python-driver/pymongo/cursor.py", line 239, in __del__
          self.__die()
        File "/home/behackett/work/mongo-python-driver/pymongo/cursor.py", line 296, in __die
          already_killed = self.__killed
      AttributeError: 'Cursor' object has no attribute '_Cursor__killed'
      Exception ignored in: <bound method Cursor.__del__ of <pymongo.cursor.Cursor object at 0x7fab1d155898>>
      Traceback (most recent call last):
        File "/home/behackett/work/mongo-python-driver/pymongo/cursor.py", line 239, in __del__
          self.__die()
        File "/home/behackett/work/mongo-python-driver/pymongo/cursor.py", line 296, in __die
          already_killed = self.__killed
      AttributeError: 'Cursor' object has no attribute '_Cursor__killed'
      Exception ignored in: <bound method Cursor.__del__ of <pymongo.cursor.Cursor object at 0x7fab1d155a20>>
      Traceback (most recent call last):
        File "/home/behackett/work/mongo-python-driver/pymongo/cursor.py", line 239, in __del__
          self.__die()
        File "/home/behackett/work/mongo-python-driver/pymongo/cursor.py", line 296, in __die
          already_killed = self.__killed
      AttributeError: 'Cursor' object has no attribute '_Cursor__killed'
      ok
       
      ...
       
      test_gridfs_find (test_gridfs.TestGridfs) ... Exception ignored in: <bound method GridOutCursor.__del__ of <gridfs.grid_file.GridOutCursor object at 0x7fab1d144a20>>
      Traceback (most recent call last):
        File "/home/behackett/work/mongo-python-driver/pymongo/cursor.py", line 239, in __del__
          self.__die()
        File "/home/behackett/work/mongo-python-driver/pymongo/cursor.py", line 296, in __die
          already_killed = self.__killed
      AttributeError: 'GridOutCursor' object has no attribute '_Cursor__killed'
      ok
       
      ...
       
      test_gridfs_find (test_gridfs_bucket.TestGridfs) ... Exception ignored in: <bound method GridOutCursor.__del__ of <gridfs.grid_file.GridOutCursor object at 0x7fab1d0f6630>>
      Traceback (most recent call last):
        File "/home/behackett/work/mongo-python-driver/pymongo/cursor.py", line 239, in __del__
          self.__die()
        File "/home/behackett/work/mongo-python-driver/pymongo/cursor.py", line 296, in __die
          already_killed = self.__killed
      AttributeError: 'GridOutCursor' object has no attribute '_Cursor__killed'
      ok
      

      This is related to PYTHON-1408.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: