Opened 5 years ago

Last modified 3 years ago

#5501 assigned defect

Occuring of error while saving a modified model

Reported by: mehulsutariya09@… Owned by: adrpo
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 adeas31 5 years ago.

Download all attachments as: .zip

Change History (10)

comment:1 Changed 5 years ago by casella

  • Resolution set to invalid
  • Status changed from new to closed

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 Changed 5 years ago by mehulsutariya09@…

  • Resolution invalid deleted
  • Status changed from closed to reopened

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

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

comment:4 Changed 5 years ago by mehulsutariya09@…

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

Changed 5 years ago by adeas31

comment:5 Changed 5 years ago by adeas31

  • Component changed from OMEdit to Interactive Environment
  • Milestone changed from Future to 1.14.0
  • Owner changed from adeas31 to adrpo
  • Status changed from reopened to assigned

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

comment:6 Changed 5 years ago by casella

  • Milestone changed from 1.14.0 to 1.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 Changed 4 years ago by casella

  • Milestone changed from 1.16.0 to 1.17.0

Retargeted to 1.17.0 after 1.16.0 release

comment:8 Changed 3 years ago by casella

  • Milestone changed from 1.17.0 to 1.18.0

Retargeted to 1.18.0 because of 1.17.0 timed release.

comment:9 Changed 3 years ago by casella

  • Milestone 1.18.0 deleted

Ticket retargeted after milestone closed

Note: See TracTickets for help on using tickets.