Opened 6 years ago
Last modified 4 years ago
#5501 assigned defect
Occuring of error while saving a modified model
| Reported by: | 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)
Change History (10)
comment:1 by , 6 years ago
| Resolution: | → invalid |
|---|---|
| Status: | new → closed |
comment:2 by , 6 years ago
| Resolution: | invalid |
|---|---|
| Status: | closed → 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:4 by , 6 years ago
actually, I try to add if else loop;
but the error is also there if I add some blank line!
by , 6 years ago
| Attachment: | script.mos added |
|---|
comment:5 by , 6 years ago
| Component: | OMEdit → Interactive Environment |
|---|---|
| Milestone: | Future → 1.14.0 |
| Owner: | changed from to |
| Status: | reopened → assigned |
It seems like the dumping module makes the file corrupt. See attachment:script.mos
comment:6 by , 6 years ago
| Milestone: | 1.14.0 → 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:8 by , 5 years ago
| Milestone: | 1.17.0 → 1.18.0 |
|---|
Retargeted to 1.18.0 because of 1.17.0 timed release.

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.