Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem occured when I using pyecore #117

Open
hebin123456 opened this issue Jan 1, 2022 · 1 comment
Open

Problem occured when I using pyecore #117

hebin123456 opened this issue Jan 1, 2022 · 1 comment

Comments

@hebin123456
Copy link

https://github.com/hebin123456/Ecore
I'm sorry to bother you. I encountered a problem with (MRO) when using pyecore. My ecore file address has been placed in the link above. When I use pyecore to convert gautosar.ecore, there is no problem, but convert autosar450.ecore encountered a (MRO) problem. Can you help me?

@aranega
Copy link
Member

aranega commented Jan 21, 2022

Hi @hebin123456 ,

Sorry for the late answer! I played a little bit with your metamodels and it turns out that one of your metamodel as a class hierarchy that is incompatible with the Python default one. I have some experimental fix on branches for that and I'm currently working on a fix for that on the develop branch. I wasn't sure to add it as it is a really rare case and the fix slow down just a little bit some operations; buy the last fix I added on develop is activated only if your case is met at run-time.

At the same time, I have an issue while compiling with RestrictedPython with the name of some of the EOperations in the metamodel, I had to turn it off on my machine just to see if I was able to really open both of your metamodels (it works!).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants