[Swift-user] Re: Runtime error

Mihael Hategan hategan at mcs.anl.gov
Wed Jun 23 16:22:39 CDT 2010


Try file = diff_tbl.

If you say @diff_tbl, that is the file name and it is known before the
file is generated, which means the csv mapper does not see any reason to
wait.

Mihael

On Wed, 2010-06-23 at 14:00 -0500, Jonathan Monette wrote:
> Hello,
> I am getting a runtime exception for no such file of directory.  Here is 
> the exact error:
> 
> Swift svn swift-r3343 cog-r2757
> 
> RunID: 20100623-1340-76qi2b0c
> Progress:
> Execution failed:
>      java.lang.RuntimeException: diffs.tbl (No such file or directory)
> 
> There are several function calls before the one that fails but it seems 
> that none of the other calls run.  The diffs.tbl file is suppose to be 
> created in one of these function calls that isn't running.  The line I 
> believe that is causing the problems is:
> 
> DiffStruct diffs[] <csv_mapper; file = @diff_tbl, skip = 1, hdelim = "| ">;
> 
> If I comment out the function call that contains this line the script 
> runs perfectly.  But as soon as I un-comment this line it fails with the 
> runtime exception above.  Is the csv_mapper always the first thing to 
> run no matter what or is there some implementation detail I have 
> overlooked.   Any thoughts?
> 





More information about the Swift-user mailing list