Opened 5 years ago

Closed 5 years ago

#5895 closed defect (fixed)

OMEdit does not open result files

Reported by: Andrea Bartolini Owned by: Adeel Asghar
Priority: blocker Milestone: 1.16.0
Component: OMEdit Version: v1.16.0-dev
Keywords: Cc: Francesco Casella, Andrea Bartolini

Description

Steps to reproduce the issue:
1) unzip the attached file Test.zip, it contains the simulation result directory created by simulating the following model:

  model Test
    Real x;
  equation
    x=time;
  end Test;

2) open OMEdit and switch to the Plotting view,

3) try to open the Test_res.mat file via the File->Open Result File(s) command...

... OMEdit rises the following error:

  [1] 12:12:08 Scripting Error
  Error opening the file /home/andrea/Desktop/Test/Test_init.xml. Unknown error

The file header is present in the variables view, but the variables are not shown.

The same result file can be opened in the 1.14.1 version without problems, so I suppose that the file is not corrupted.

OMEdit - OpenModelica Connection Editor
Connected to OpenModelica 1.16.0~dev-251-gdb87929
Sysop: Ubuntu 18.04

Attachments (1)

Test.zip (25.0 KB ) - added by Andrea Bartolini 5 years ago.

Download all attachments as: .zip

Change History (4)

by Andrea Bartolini, 5 years ago

Attachment: Test.zip added

comment:1 by Andrea Bartolini, 5 years ago

Cc: Andrea Bartolini added

comment:2 by Francesco Casella, 5 years ago

@adeas31would you mind having a look? I guess it is a quick fix.

This is a regression, it happened with the nightly of the day the ticket was reported.

comment:3 by Adeel Asghar, 5 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.