help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newly created scripts?


From: Thomas Weber
Subject: Re: Newly created scripts?
Date: Thu, 25 Feb 2010 13:09:00 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

On Wed, Feb 24, 2010 at 11:03:00AM -0500, John W. Eaton wrote:
> On 24-Feb-2010, Mikhail Zotov wrote:
> | When I run it for the first time, I get:
> | 
> | octave:1> testrun
> | error: no such file, `/path/to/testfile1.m'
> | error: called from:
> | error:   /path/to/testrun.m at line 13, column 2
> | 
> | The next run:
> | octave:2> testrun
> | warning: delete: no such file: testfile*
> | Nothing to delete
> | testfile1.m does not exist
> | i=1
> | testfile1.m created
> | i =  1
> | testfile1 evaluated
> | Nothing to delete
> | testfile2.m does not exist
> | i=2
> | testfile2.m created
> | error: `testfile2' undefined near line 2 column 1
> | error: called from:
> | error:   /path/to/testrun.m at line 26, column 3
> | I am sure all this worked in Octave releases prior to 3.2.x.  Is this
> | a new feature? If so, what can I do to overcome it?
> 
> I can't duplicate this rpoblem with the current sources, so I guess
> the problem has been fixed in teh development version of Octave.
> 
> But what are you really trying to do, and why are you using the diary
> and eval to do it?  Maybe there is a better way to do what you want
> that doesn't rely on such odd tricks.

Maybe the problem with the caching of files and the 1-2 seconds
granularity of timestamps on the file system that we already experienced
with dynare?

        Thomas


reply via email to

[Prev in Thread] Current Thread [Next in Thread]