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

Exception appears after running any script that connects to MongoDB

      It seems that every script I run that uses a MongoClient with auto_encryption_opts succeeds but ends with an exception when mongocrypt tries to close.

      The exception is:
      Exception ignored in: <function MongoCrypt._del_ at 0x00000136DAFAAB00>
      Traceback (most recent call last):
        File "C:\git\insights\venv\lib\site-packages\pymongocrypt\mongocrypt.py", line 296, in _del_
        File "C:\git\insights\venv\lib\site-packages\pymongocrypt\mongocrypt.py", line 292, in close
      AttributeError: 'NoneType' object has no attribute 'mongocrypt_destroy'

            Assignee:
            shane.harvey@mongodb.com Shane Harvey
            Reporter:
            harel.danieli@eitanmedical.com Harel Danieli
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: