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

XMLWordPrintableJSON

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

      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
            Reporter:
            Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: