thomasoa / andrews-deal

Automatically exported from code.google.com/p/andrews-deal
Other
10 stars 7 forks source link

Misleading error message 'couldn't read file "foo.tcl": no such file or directory' #4

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a file (say foo.tcl) that contains a syntax error
2. Execute deal.exe foo.tcl
3. Observe the error shown below

What is the expected output? What do you see instead?

Expected output is "Error processing file foo.tcl" or something more
descriptive.

What version of the product are you using? On what operating system?
3.16 on Windows Vista Home edition under Cygwin

Please provide any additional information below.

Here is an example output:

Tcl stack dump of error info:
couldn't read file "camel.tcl": no such file or directory
    while executing
"source camel.tcl"

Original issue reported on code.google.com by rajendra...@gmail.com on 5 Oct 2008 at 11:06

GoogleCodeExporter commented 9 years ago
Looks like this bug is invalid - the repro I suggested did not work and the 
problem
was on account of the fact that the file was a symbolic link

Original comment by rajendra...@gmail.com on 5 Oct 2008 at 11:17

GoogleCodeExporter commented 9 years ago
Also, the correct command is to use the -i filag:

   deal.exe -i foo.tcl

Original comment by thomasoa on 6 Oct 2008 at 12:59