BUG: Mac Vensim 8.0.7 crashes when units check is not OK

Use this forum to post Vensim related questions.
Post Reply
aalto-comnet
Member
Posts: 37
Joined: Fri Dec 07, 2018 9:20 am
Vensim version: DSS

BUG: Mac Vensim 8.0.7 crashes when units check is not OK

Post by aalto-comnet »

Hi,

Mac Vensim 8.0.7, when I am trying a units check, if this is not OK, Vensim crashes. If units check is OK, the relevant message is showing.
Administrator
Super Administrator
Posts: 4573
Joined: Wed Mar 05, 2003 3:10 am

Re: BUG: Mac Vensim 8.0.7 crashes when units check is not OK

Post by Administrator »

Can you upload the model? It's not crashing for me when I try this, it's probably something about the model you are working on.
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
aalto-comnet
Member
Posts: 37
Joined: Fri Dec 07, 2018 9:20 am
Vensim version: DSS

Re: BUG: Mac Vensim 8.0.7 crashes when units check is not OK

Post by aalto-comnet »

I don't think it is about a specific model, since I tested that on several models that units are not OK. Vensim crashes for all of them. Even for a model for which units were OK and Vensim displayed the relevant message on units check, when I changed the units of a variable to make the check wrong on purpose, Vensim then crashed again.
Administrator
Super Administrator
Posts: 4573
Joined: Wed Mar 05, 2003 3:10 am

Re: BUG: Mac Vensim 8.0.7 crashes when units check is not OK

Post by Administrator »

Can you upload your settings file (it's called .vensimdp and is a hidden file in your profile folder).

As I said, I tried with a model and it worked fine. There is a chance that one of your models contains a unit with strange characters (which is why I asked for one).
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
aalto-comnet
Member
Posts: 37
Joined: Fri Dec 07, 2018 9:20 am
Vensim version: DSS

Re: BUG: Mac Vensim 8.0.7 crashes when units check is not OK

Post by aalto-comnet »

Hi,

This is the content of the .vensimdp file:

[vensim]
Units1=$,Dollar,Dollars,$s
Units2=Day,Days
Units3=Hour,Hours
Units4=Month,Months
Units5=Person,People,Persons
Units6=Unit,Units
Units7=Week,Weeks
Units8=Year,Years
ModelsOld0=/Users/aalto/Desktop/system dynamics/vensim online course/ex 7 epidemic/12-exercise-7-epidemic.mdl
ModelsOld1=/Users/aalto/Desktop/DELAY BATCH.mdl
ModelsOld2=/Users/aalto/Desktop/system dynamics/vensim online course/ex 4 project/7-exercise-4-project-5.mdl
ModelsOld3=/Users/aalto/Desktop/DELAY INFORMATION.mdl
ModelsOld4=/Users/aalto/Desktop/system dynamics/business dynamics models/CHAP09VE/SI_MODEL.MDL
ModelsOld5=/Users/aalto/Desktop/system dynamics/business dynamics models/CHAP09VE/SIRMODEL.MDL
ModelsOld6=/Users/aalto/Desktop/system dynamics/business dynamics models/CHAP09VE/SIRMODE1.MDL
ModelsOld7=/Users/aalto/Desktop/system dynamics/vensim online course/ex 5 kaibab/8-exercise-5-kaibab-4.mdl
ModelsOld8=/Users/aalto/Desktop/system dynamics/vensim online course/ex 5 kaibab/8-exercise-5-kaibab-5.mdl
ModelsOld9=/Users/aalto/Desktop/system dynamics/vensim online course/ex 2 tank/4-exercise-2-tank.mdl
ModelsOld=/Users/aalto/Desktop/system dynamics/vensim online course/ex 2 tank/4-exercise-2-tank.mdl
print_options=1,1,0,0,
size_options=0,0,16,0,
XlsOptions=82,67,0,2,
print_dimensions=10,10,,,
print_text_hndl=,,,
printer_name=,,,
ErrDim=0,0,0,0,
SelDim=0,0,0,0,
EqedDim1=0,0,1025,639,
EqedDim2=0,,,,
VarDim=0,0,0,0,
DefaultFonts=Courier|10||0-0-0,Times New Roman|12||0-0-0,Times New Roman|7||0-0-0,Helvetica|9||0-0-0,
GraphFonts=Times New Roman|48||0-0-0,Times New Roman|16||0-0-0,Times New Roman|12||0-0-0,,
GraphLegendFonts=Times New Roman|12||0-0-0,Times New Roman|10||0-0-0,Times New Roman|8||0-0-0,,
PrintFonts=Times New Roman|8||0-0-0,Times New Roman|18||0-0-0,Times New Roman|12||0-0-0,Times New Roman|10||0-0-0,
DefaultFont2=Helvetica|12||0-0-0,Courier|12||0-0-0,Helvetica|9||0-0-0,,
DefaultVariableFace=Times New Roman,,,
GraphicsOptions=0,0,0,2,
NewGui=0,0,0,0,
ScreenOpt2=4,0,0,1,
OtherOpt=0,,,,
name_format=0,0,1,0,
size_centimeter=0,1,,,
MacroWarningNewOver=0,1,1,0,
history_comment=1,0,4,0,
raw_scaling_flag=0,1,0,0,
FSSettings=1,0,1,,
FSSettings2=2,,,,
compile_options=0,0,0,,
TimeSlop=0,0,0,,
MAX_X_GAP=0,,,,
GraphClr=16777215,0,8421504,,
GraphClr2=12632256,16777215,12632256,,
PltClr1=16711680,255,32768,8421504,
PltClr2=0,128,16776960,8388736,
PltClr3=8388608,65280,16711935,32896,
SketchClr=16711680,0,0,-1,
DefaultFixedFace=Courier,,,
AnalysisToolSet=,,,
SketchToolSet=,,,
Mode_Options=1,0,10,,
AdvancedOpt=0,0,0,,
NewModel=,,,
Screen_Options=0,,0,0,
PolarityOffset=14,0,0,,
SketchDefAppear=1,1,,0,
SketchOpt3=1,1,,,
ArrowheadSize=14,8,5,,
Init_rate_size=12,16,2,100,
GraphDiv=4,4,,,
Init_shape_size=40,80,40,,
TypeShape=,8,8,,
TypeShape2=3,8,,,
GraphMark1=49,50,51,52,
GraphMark2=53,54,55,56,
GraphMark3=57,58,66,67,
ShowAllWarnings=0
IconSize=1
IconLabels=1
UseOldIcons=0
Model=
Control Dlg=0-x=83,y=-1,w=598,h=343
Subscript Dlg=0-x=83,y=-1,w=584,h=279
BehaviourGraphSettings=240,144,,,
NewGui2=0,,,,
Administrator
Super Administrator
Posts: 4573
Joined: Wed Mar 05, 2003 3:10 am

Re: BUG: Mac Vensim 8.0.7 crashes when units check is not OK

Post by Administrator »

ok this crashes for me as well using your settings, I should be able to work out why fairly quickly.
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
Administrator
Super Administrator
Posts: 4573
Joined: Wed Mar 05, 2003 3:10 am

Re: BUG: Mac Vensim 8.0.7 crashes when units check is not OK

Post by Administrator »

ok, can you edit your file and change the lines
NewGui=0,0,0,0,
to
NewGui=1,0,0,0,
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
aalto-comnet
Member
Posts: 37
Joined: Fri Dec 07, 2018 9:20 am
Vensim version: DSS

Re: BUG: Mac Vensim 8.0.7 crashes when units check is not OK

Post by aalto-comnet »

Hi,

Yes, that seems to work! Thank you! :)
Post Reply