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

Mofongo: empty models are being created #12

Open
agarciadom opened this issue Jul 8, 2016 · 5 comments
Open

Mofongo: empty models are being created #12

agarciadom opened this issue Jul 8, 2016 · 5 comments

Comments

@agarciadom
Copy link
Member

Note to @arcanefoam: while the transformations seem to be running fine, the output files are left empty. I've noticed Python complains quite a bit with messages like this, and I suppose it must be related:

NewInstanceWorker failed to create instance. Cannot create a consistent method resolution
order (MRO) for bases ElementBase, Person
Traceback (most recent call last):
  File "test/test_flowm2m.py", line 237, in <module>

Is this something you can fix quickly before the end of the first coffee break?

@arcanefoam
Copy link
Contributor

If possible, can we double check on your machine? It seems either a python version or missing module issue.

@arcanefoam
Copy link
Contributor

On that note I am using Python 3.5.1, antlr4-python-runtime 4.5.3 and lxml 3.4.4.

@agarciadom
Copy link
Member Author

agarciadom commented Jul 8, 2016

I am using Python 3.5.1, antlr4-python3-runtime 4.5.3 and lxml 3.6.0. Let me try lxml 3.4.4 and see if it helps.

@agarciadom
Copy link
Member Author

No, using lxml 3.4.4 didn't help. I'm running your tool with this script:

#!/bin/bash

export PYTHONPATH=.
EXDIR=/home/antonio/Documents/ttc2016-live-contest/examples/eu.ttc.dataflow.examples.families2persons

python \
    test/test_flowm2m.py \
    "$EXDIR/transformation/families2persons.dataflow" \
    Families "$EXDIR/input/familyGL.model" "$EXDIR/metamodels/Families.ecore" \
    Persons /tmp/persons.model "$EXDIR/metamodels/Persons.ecore"

@arcanefoam
Copy link
Contributor

Hmm... wierd... I guess cross-platform compatibility is a mith :). Don't worry about it too much if you cant make it. I know Mofongo is in a very alpha stage.

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