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

When mongocryptd spawn fails, the driver does not indicate what it tried to spawn

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 3.12, 4.0
    • Affects Version/s: None
    • Component/s: Encryption

      SO question: https://stackoverflow.com/questions/61666257/pymongo-errors-encryptionerror-winerror-2-the-system-cannot-find-the-file-spe/61666883#61666883

      It seems that when pymongo tries to spawn mongocryptd and the spawn fails, the driver surfaces the reason why the spawn failed ("couldn't find the file") but it does not say which file it was looking for (in this case presumably mongocryptd).

      Since mongocryptd spawning is not explicitly requested/managed by the user, users have no idea what the driver was looking for that it couldn't find, and hence don't know what they need to fix. The error message is not directly actionable.

            Assignee:
            william.zhou@mongodb.com William Zhou
            Reporter:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: