Opened 4 years ago

Last modified 3 years ago

#6269 new defect

Creating new Composite model freezes OMEdit (WSL)

Reported by: Andreas Heuermann Owned by: Adeel Asghar
Priority: critical Milestone:
Component: OMEdit Version: v1.17.0-dev
Keywords: composite model Cc: Per Östlund, Martin Sjölund

Description (last modified by Andreas Heuermann)

When trying to create a new composit from the drop-down menu with OMEdit nothing happens.

How to reproduce:
Click File->New Composite Model and notice how nothing is happening.
See screenshot_1.png.
After that I can't do anything in OMedit but don't get a crash report either.

When trying to close OMEdit asks me if I want to save changes to the newly created composite models. See screenshot_2.png.

I'm running OMEdit with OMCompiler v1.17.0-dev.239+gaa3317f58f and OMSimulator v2.0.0.post268-ga355ad0-linux
on Ubuntu 20.04.

Attachments (2)

screenshot_1.png (132.8 KB ) - added by Andreas Heuermann 4 years ago.
Screenshot of how to create new composite model
screenshot_2.png (29.5 KB ) - added by Andreas Heuermann 4 years ago.
OMEdit ask me to save newly created composite models

Download all attachments as: .zip

Change History (14)

by Andreas Heuermann, 4 years ago

Attachment: screenshot_1.png added

Screenshot of how to create new composite model

by Andreas Heuermann, 4 years ago

Attachment: screenshot_2.png added

OMEdit ask me to save newly created composite models

comment:1 by Andreas Heuermann, 4 years ago

Description: modified (diff)

comment:2 by Andreas Heuermann, 4 years ago

Milestone: NeedsInput1.16.2

comment:3 by Andreas Heuermann, 4 years ago

Milestone: 1.16.21.17.0

comment:4 by Adeel Asghar, 4 years ago

Are you using it via WSL?

comment:5 by Andreas Heuermann, 4 years ago

Yes, that could be a problem of course.

Version 0, edited 4 years ago by Andreas Heuermann (next)

comment:6 by Adeel Asghar, 4 years ago

Yes wsl is the problem. The display interface doesn't work well with OpenSceneGraph and composite model uses that.

comment:7 by Andreas Heuermann, 4 years ago

Anything I could do on my side?
Otherwise we probably won't fix this so I have to remember that I can't click that button when I'm on WSL.

comment:8 by Andreas Heuermann, 4 years ago

Summary: Creating new Composite model freezes OMEditCreating new Composite model freezes OMEdit (WSL)

comment:9 by Adeel Asghar, 4 years ago

Cc: Per Östlund Martin Sjölund added

I have no idea how to fix this. I know that 3d visualizations don't work in wsl as well.
But it would be nice to ask someone who have a real Linux machine to test this.

comment:10 by Per Östlund, 4 years ago

I'm not entirely sure how composite models are supposed to work, but I can't seem to replicate the issue on Arch Linux. I can create a new composite model and OMEdit seems to work just fine afterwards. So I guess it's either WSL or Ubuntu that's causing the issue.

comment:11 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:12 by Francesco Casella, 3 years ago

Milestone: 1.18.0

Ticket retargeted after milestone closed

Note: See TracTickets for help on using tickets.