lcompilers / lpython

Python compiler
https://lpython.org/
Other
1.5k stars 163 forks source link

Unhandled Exception on non-existent file #2481

Open rebcabin opened 9 months ago

rebcabin commented 9 months ago
(lp) ┌─(~/Documents/GitHub/lpython/integration_tests)───────────────────────────────────────(brian@MacBook-Pro:s001)─┐
└─(11:07:00 on vector-backend)──> lpython bindc03.py                                              ──(Mon,Feb05)─┘
Internal Compiler Error: Unhandled exception
Traceback (most recent call last):
  File "/Users/brian/Dropbox/Mac/Documents/GitHub/lpython/src/bin/lpython.cpp", line 1738
    throw LCompilers::LCompilersException("No such file or directory: " + arg_file);
LCompilersException: No such file or directory: bindc03.py
(lp) ┌─(~/Documents/GitHub/lpython/integration_tests)───────────────────────────────────────(brian@MacBook-Pro:s00
rebcabin commented 8 months ago

Seems like a good first issue for someone to learn the error-reporting system.

syheliel commented 8 months ago

Hi. I create a simple fix for this. Would you like take a look?

binshabenny commented 8 months ago

It seems that the bindc03.py file is not present in the current directory.#2481

kmr-srbh commented 8 months ago

@Shaikh-Ubaid This issue can be closed because #2536 was merged.