This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author hroncok
Recipients eric.smith, gregory.p.smith, hroncok, izbyshev, nanjekyejoannah, pablogsal, torsava, vstinner
Date 2021-02-11.08:08:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
At the very least, it's worth documenting in all places that can give you the exception, such as subprocess etc.

Whether it's worth to try to fix the exception message I don't really know. Confused users on one side, fragile complex heuristic on the other.

Honestly, I think it is worth it to at least try to brainstorm how to improve the message without making it needlessly complicated. I've attempted that with: Either demo or interpreter of demo. It's not perfect and maybe another file is missing. So let's go further:

FileNotFoundError: [Errno 2] No such file or directory while attempting to execute './demo'. This means './demo' or other files needed to run it don't exist.
Date User Action Args
2021-02-11 08:08:25hroncoksetrecipients: + hroncok, gregory.p.smith, vstinner, eric.smith, torsava, izbyshev, pablogsal, nanjekyejoannah
2021-02-11 08:08:25hroncoksetmessageid: <>
2021-02-11 08:08:25hroncoklinkissue43113 messages
2021-02-11 08:08:25hroncokcreate