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

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

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6
    • Affects Version/s: 3.6
    • Component/s: None
    • None

      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.

            Assignee:
            shane.harvey@mongodb.com Shane Harvey
            Reporter:
            bernie@mongodb.com Bernie Hackett
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: