Opened 5 years ago
Closed 5 years ago
#5689 closed defect (fixed)
Setting a wrong flag breaks graphical annotations
Reported by: | Adeel Asghar | Owned by: | Adrian Pop |
---|---|---|---|
Priority: | high | Milestone: | 1.16.0 |
Component: | OMEdit | Version: | |
Keywords: | Cc: | Adrian Pop, Karim Adbdelhak |
Description
Set a flag -d=-nfScalarize
in OMEdit Tools->Options->Simulation->Additional Translation Flags
and restart. Now all the APIs that fetches graphical annotations will return the annotations as it is i.e., in Modelica format. OMEdit can't parse them and crashes.
This is reported via a crash report submitted by Karim Abdelhak. We should fix this both in OMC and OMEdit.
Attachments (2)
Change History (7)
by , 5 years ago
Attachment: | 2019-11-03_15_37_11-omeditcommunication.log.txt added |
---|
by , 5 years ago
Attachment: | 2019-11-03_15_37_11-openmodelica.stacktrace.OMEdit.txt added |
---|
comment:1 by , 5 years ago
Owner: | changed from | to
---|---|
Status: | new → accepted |
comment:2 by , 5 years ago
comment:4 by , 5 years ago
8b27e5/OpenModelica makes sure this flag is on default when using the NFApi.
comment:5 by , 5 years ago
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
Note:
See TracTickets
for help on using tickets.
There are many flags that if set will break the model instantiation.
I'm not sure how we should handle this.
For now I will disable this flag when running the NFApi.* functions.