Command Scripting Error Message

Use this forum to post Vensim related questions.
Post Reply
drw
Member
Posts: 43
Joined: Wed Mar 25, 2009 1:10 pm

Command Scripting Error Message

Post 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
bob@vensim.com
Senior Member
Posts: 1107
Joined: Wed Mar 12, 2003 2:46 pm

Post 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.
drw
Member
Posts: 43
Joined: Wed Mar 25, 2009 1:10 pm

Post 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.
Post Reply