Hello,
I'm having an issue where Vensim DSS is randomly crashing when I run command scripts (generated using Python) to do multiple runs. It appears this bug was introduced in the 7.x series of Vensim. I do not have have this problem as of the 6.4E release.
Vensim will execute a seemingly random number of the command lines before closing without completing the entire script. I have not been able to identify the source of the issue.
Vensim crashing when running command scripts
-
- Member
- Posts: 43
- Joined: Wed Dec 13, 2017 5:16 pm
- Vensim version: DSS
-
- Super Administrator
- Posts: 4590
- Joined: Wed Mar 05, 2003 3:10 am
Re: Vensim crashing when running command scripts
Can you email an example that crashes to us, vensim@vensim.com?
Advice to posters seeking help (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
-
- Super Administrator
- Posts: 4590
- Joined: Wed Mar 05, 2003 3:10 am
Re: Vensim crashing when running command scripts
The only thing we've done was to fix a couple of bugs with the FILE>COPY command, do you used that in your scripts?
Advice to posters seeking help (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
-
- Member
- Posts: 43
- Joined: Wed Dec 13, 2017 5:16 pm
- Vensim version: DSS
Re: Vensim crashing when running command scripts
I will e-mail along the model in a minute.
I should be clearer here - the problem is not completely elminated in 6.4E. Vensim still occasionally will crash when running scripts. But it is much, much less frequent than when running any of the 7.x series models.
We do not use FILE>COPY command.
We use the following commands (the full script will be included in the file I e-mail your way in a minute):
SPECIAL>LOADMODEL
SIMULATE>RUNNAME
SIMULATE>SETVAL
MENU>RUN
MENU>VDF2TAB
I am also going to check now to see if the error may have to do with the character count as part of the script export names.
I should be clearer here - the problem is not completely elminated in 6.4E. Vensim still occasionally will crash when running scripts. But it is much, much less frequent than when running any of the 7.x series models.
We do not use FILE>COPY command.
We use the following commands (the full script will be included in the file I e-mail your way in a minute):
SPECIAL>LOADMODEL
SIMULATE>RUNNAME
SIMULATE>SETVAL
MENU>RUN
MENU>VDF2TAB
I am also going to check now to see if the error may have to do with the character count as part of the script export names.
-
- Super Administrator
- Posts: 4590
- Joined: Wed Mar 05, 2003 3:10 am
Re: Vensim crashing when running command scripts
One more question. Are you running this from within a shared folder (such as Dropbox, Google Drive, OneDrive etc)?
Advice to posters seeking help (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
-
- Member
- Posts: 43
- Joined: Wed Dec 13, 2017 5:16 pm
- Vensim version: DSS
Re: Vensim crashing when running command scripts
It's a good question but no, we specifically removed these from shared folders to avoid the crash from syncing that we've seen before.