Page 1 of 1

Vensim hangs when switching to Text view

Posted: Wed Aug 19, 2020 1:11 pm
by Phill
Hello,

When I try to change from Sketch to Text view in a model, the Text view opens, but a pop-up dialogue box saying 'Formatting (model name)' appears and never goes away. I can't use Text view because of this, although I can return to Sketch view and continue working. Can I suppress this dialogue?

Re: Vensim hangs when switching to Text view

Posted: Wed Aug 19, 2020 1:36 pm
by tomfid
Can you post or email the model? What Vensim version are you using?

Re: Vensim hangs when switching to Text view

Posted: Thu Aug 20, 2020 10:51 am
by Phill
Hello Tom,

I have emailed a copy of the model to vensim at vensim dot com.
I am using Vensim DSS 8.0.9 Double Precision (x64) on Windows 10

Re: Vensim hangs when switching to Text view

Posted: Fri Aug 21, 2020 11:45 am
by Phill
I now have the opposite problem! I upgraded to the latest version of DSS 8.1 x64. Now, the model opens directly in Text view, but when I try to change to Sketch view, I get a STOP dialogue, saying 'Syntax error'. Following advice, I eliminated all the 'Supplementary' tags in the model, but that hasn't made any difference.

Can anyone suggest what might be causing this problem?

Phill

Re: Vensim hangs when switching to Text view

Posted: Fri Aug 21, 2020 1:23 pm
by Phill
A quick update, just in case anyone else encounters this problem. The issue appears to be caused by an 'ALLOCATE BY PRIORITY' function in the model and if I delete that equation the model returns to normal functionality.

Re: Vensim hangs when switching to Text view

Posted: Fri Aug 21, 2020 1:31 pm
by tomfid
I found the ALLOC problem only in the 32 bit version, so this is strange.

Re: Vensim hangs when switching to Text view

Posted: Mon Aug 24, 2020 8:35 am
by Phill
I am using the x64 DSS 8.1 version on a new Windows 10 desktop PC and an older Windows 10 laptop. Both machines give the same syntax error and I found this morning that the 'ALLOCATE BY PRIORITY' file from the Vensim Function examples folder gives exactly the same error, again on both machines.

The other ALLOCATE example files work properly. Only ALLOCATE BY PRIORITY gives this error.

Phill

Re: Vensim hangs when switching to Text view

Posted: Tue Aug 25, 2020 5:04 pm
by tomfid
This is now fixed and will be available in the next release (sooner if you need it - email us with your license details).

Re: Vensim hangs when switching to Text view

Posted: Thu Aug 27, 2020 9:38 am
by Phill
I have the fix and everything is working properly now. Thanks very much for your help.

Phill