Opened 6 years ago

Last modified 3 years ago

#5501 assigned defect

Occuring of error while saving a modified model

Reported by: mehulsutariya09@… Owned by: Adrian Pop
Priority: high Milestone:
Component: Interactive Environment Version: v1.13.2
Keywords: Cc:

Description

Whenever I try to save my model after modifying its content; OMEdit show some abrupt behavior, for instance, the random line from my packages are shown or only a blank line is there and after that, It shows error at some random line

''Syntax Error: No viable alternative near token: ^''

; even if there is no change in that line.

Attachments (1)

script.mos (220 bytes ) - added by Adeel Asghar 6 years ago.

Download all attachments as: .zip

Change History (10)

comment:1 by Francesco Casella, 6 years ago

Resolution: invalid
Status: newclosed

You should try to provide a test case that allows to reproduce the problem, otherwise it's impossibl for us to fix it.

If you can attach such an example case, please reopen the ticket.

comment:2 by mehulsutariya09@…, 6 years ago

Resolution: invalid
Status: closedreopened

https://github.com/FOSSEE/OMChemSim
here in Simulator.mo, I try to modify the
Stream -> Material_Sreams
(add some line and try to save it)

comment:3 by Adeel Asghar, 6 years ago

Thanks for the example model.
What exactly have you tried to add?

comment:4 by mehulsutariya09@…, 6 years ago

actually, I try to add if else loop;
but the error is also there if I add some blank line!

by Adeel Asghar, 6 years ago

Attachment: script.mos added

comment:5 by Adeel Asghar, 6 years ago

Component: OMEditInteractive Environment
Milestone: Future1.14.0
Owner: changed from Adeel Asghar to Adrian Pop
Status: reopenedassigned

It seems like the dumping module makes the file corrupt. See attachment:script.mos

comment:6 by Francesco Casella, 5 years ago

Milestone: 1.14.01.16.0

Releasing 1.14.0 which is stable and has many improvements w.r.t. 1.13.2. This issue is rescheduled to 1.16.0

comment:7 by Francesco Casella, 4 years ago

Milestone: 1.16.01.17.0

Retargeted to 1.17.0 after 1.16.0 release

comment:8 by Francesco Casella, 4 years ago

Milestone: 1.17.01.18.0

Retargeted to 1.18.0 because of 1.17.0 timed release.

comment:9 by Francesco Casella, 3 years ago

Milestone: 1.18.0

Ticket retargeted after milestone closed

Note: See TracTickets for help on using tickets.