Vensim hangs when switching to Text view

Use this forum to post Vensim related questions.
Post Reply
Phill
Senior Member
Posts: 156
Joined: Wed Jun 04, 2014 2:18 pm
Vensim version: DSS

Vensim hangs when switching to Text view

Post 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?
Attachments
formatting.PNG
formatting.PNG (1.63 KiB) Viewed 2960 times
tomfid
Administrator
Posts: 3806
Joined: Wed May 24, 2006 4:54 am

Re: Vensim hangs when switching to Text view

Post by tomfid »

Can you post or email the model? What Vensim version are you using?
Phill
Senior Member
Posts: 156
Joined: Wed Jun 04, 2014 2:18 pm
Vensim version: DSS

Re: Vensim hangs when switching to Text view

Post 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
Phill
Senior Member
Posts: 156
Joined: Wed Jun 04, 2014 2:18 pm
Vensim version: DSS

Re: Vensim hangs when switching to Text view

Post 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
Attachments
syntax error.PNG
syntax error.PNG (24.67 KiB) Viewed 2944 times
Phill
Senior Member
Posts: 156
Joined: Wed Jun 04, 2014 2:18 pm
Vensim version: DSS

Re: Vensim hangs when switching to Text view

Post 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.
tomfid
Administrator
Posts: 3806
Joined: Wed May 24, 2006 4:54 am

Re: Vensim hangs when switching to Text view

Post by tomfid »

I found the ALLOC problem only in the 32 bit version, so this is strange.
Phill
Senior Member
Posts: 156
Joined: Wed Jun 04, 2014 2:18 pm
Vensim version: DSS

Re: Vensim hangs when switching to Text view

Post 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
tomfid
Administrator
Posts: 3806
Joined: Wed May 24, 2006 4:54 am

Re: Vensim hangs when switching to Text view

Post 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).
Phill
Senior Member
Posts: 156
Joined: Wed Jun 04, 2014 2:18 pm
Vensim version: DSS

Re: Vensim hangs when switching to Text view

Post by Phill »

I have the fix and everything is working properly now. Thanks very much for your help.

Phill
Post Reply