Page 1 of 1

Command Scripting Error Message

Posted: Tue Mar 23, 2010 3:09 pm
by drw
Recently, I've been getting an error message pop up saying "In time_basis with no time basis" when I run a basic command script to load a model before running it. For example:

SPECIAL>NOINTERACTION
SPECIAL>LOADMODEL|c:\xyz.mdl
SIMULATE>RUNNAME|mar23_dw_01
MENU>RUN|O

would throw the message on the "LOADMODEL", but after you click ok then the model wil go on to simulate correctly.

The other wierd thing if you go File->Open Model and choose the script it will throw the errow message. If however you go File->Edit File, choose the appropriate file and then go File->Run Commands it runs with no error message.

Any thoughts as to what could be the problem?

Currently using Vensim DSS 5.9e.

Thanks a lot
Dave

Posted: Wed Mar 24, 2010 9:33 am
by bob@vensim.com
I can't replicate the problem but it is most likely related to the timing on the display of an onscreen graph or table. If this is a model you can email to me I would be happy to take a look at it.

Posted: Mon Mar 29, 2010 9:23 am
by drw
Thanks for the kind offer Bob, but unfortunately it is a proprietary model which I cannot post.

The error is kind of weird though, as I can run the scripts fine on all my colleagues PCs. It also appears to be intermittent, as the day after I posted last week it it seemed to have corrected itself, but by Friday the error came back.

I have also tried it on other completely different models, and some it happens on, and others it doesn't (e.g. rabfox.mdl).

I tried reinstalling Vensim on the off-chance that something may have been corrupted, but that unfortunately didn't resolve it.