﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
5815	OMEdit not showing results	Adam Dershowitz	Adeel Asghar	"After a recent upgrade (both 1.16.0~dev-146 and 1.16.0~dev-154) I often can't see any results.
If I open a model (easy example:  Modelica->Blocks->Example->PID_Controller) and hit simulate, it compiles and finishes successfully.  


But, in the message browser I get this:

{{{
[1] 09:00:50 Scripting Error
Error opening the file /private/var/folders/s4/0j3cshj161126ygbpbzsdkmd4h24dl/T/OpenModelica_adershowitz/OMEdit/Modelica.Blocks.Examples.PID_Controller/Modelica.Blocks.Examples.PID_Controller_info.json. Unknown error


}}}

And the variables browser window shows just the name of the results file, but no variables below that.

If I then hit ""resimulate"" I get this in the message browser window:

{{{
[2] 09:04:55 Scripting Notification
Number is out of range:  1 
json_parser - syntax error found,  forcing abort, Line 1 Column 1 


}}}
The variables do then show up correctly.  

I have verified that the .mat and .json files are created.  So, I think that it is an issue of OMEdit just not always opening up the results for some reason?

This is on a Mac."	defect	closed	high	1.18.0	OMEdit		fixed		Martin Sjölund
