Can't create error message file: ex.err
- Posted by Juergen Luethje <j.lue at gmx.de> Sep 05, 2006
- 606 views
Hi all, when there is a run-time error in an Eu program, the interpreter normally not only produces an "ex.err" file, but also writes a short error message with the most important information in a console window. That's pretty nice. In situations where it's not possible to write an "ex.err" file (e.g. because the current directory is on a CD-ROM, or there are no more file handles available), we would expect that Euphoria still writes the cause of the error in a console window, no? I recently discovered that this doesn't seem to happen.
? 1/0
Running this code snippet when the current directory is on my hard drive, EXW.EXE 2.5 says (as expected): | C:\temp\test.exw:1 | attempt to divide by 0 | | --> See ex.err | | | Press Enter... Running this code snippet when the current directory is on a CD-ROM, EXW.EXE 2.5 says: | Can't create error message file: ex.err | | | Press Enter... OK, but what was the primary error? I have no information about it, since there is no "ex.err" file, and Euphoria also doesn't tell me something about it in the console window. I think Euphoria should display the information "Can't create error message file: ex.err" _additionally_ to the main error message, but not instead of it. Regards, Juergen -- Who is general fault, and why does he read my hard disk?