-
Type: Bug
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: pymongocrypt
-
None
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'