Opened 4 years ago

Closed 4 years ago

#5895 closed defect (fixed)

OMEdit does not open result files

Reported by: andrea.bartolini Owned by: adeas31
Priority: blocker Milestone: 1.16.0
Component: OMEdit Version: v1.16.0-dev
Keywords: Cc: 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 4 years ago.

Download all attachments as: .zip

Change History (4)

Changed 4 years ago by andrea.bartolini

comment:1 Changed 4 years ago by andrea.bartolini

  • Cc Andrea.Bartolini added

comment:2 Changed 4 years ago by casella

@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 Changed 4 years ago by adeas31

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.