Message386824
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:25 | hroncok | set | recipients:
+ hroncok, gregory.p.smith, vstinner, eric.smith, torsava, izbyshev, pablogsal, nanjekyejoannah |
2021-02-11 08:08:25 | hroncok | set | messageid: <1613030905.85.0.429813754192.issue43113@roundup.psfhosted.org> |
2021-02-11 08:08:25 | hroncok | link | issue43113 messages |
2021-02-11 08:08:25 | hroncok | create | |
|