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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor - P4
    • Resolution: Fixed
    • None
    • 3.12, 4.0
    • Encryption

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: