Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » [Acceleo] Error installing 'Ecore to Python code generator' for Acceleo 3.2(missing bundle fr.obeo.acceleo.gen 0.0.0)
[Acceleo] Error installing 'Ecore to Python code generator' for Acceleo 3.2 [message #1069464] Mon, 15 July 2013 19:37 Go to next message
Daniel Tahin is currently offline Daniel Tahin
Messages: 27
Registered: July 2013
Junior Member
Hi All,

i' a newbie with Acceleo. I would like to install the Ecore to Python code generator, but i get an error:

Cannot complete the install because one or more required items could not be found.
Software currently installed: Ecore to Python code generator 1.0.0.200902031213 (org.acceleo.module.pim.ecore.gen.python_feature.feature.group 1.0.0.200902031213)
Missing requirement: Ecore to Python code generator 1.0.0 (org.acceleo.module.pim.ecore.gen.python 1.0.0) requires 'bundle fr.obeo.acceleo.gen 0.0.0' but it could not be found
Cannot satisfy dependency:
From: Ecore to Python code generator 1.0.0.200902031213 (org.acceleo.module.pim.ecore.gen.python_feature.feature.group 1.0.0.200902031213)
To: org.acceleo.module.pim.ecore.gen.python [1.0.0]

A other post says (http://www.eclipse.org/forums/index.php/t/463174/), this package is only available for Acceleo 2, for version 3.2 it can be installed as well.
Can you help me with this?

Thank you in advance,
Daniel

(sorry for posting this message twice, but the first didn't seem to appear)
Re: [Acceleo] Error installing 'Ecore to Python code generator' for Acceleo 3.2 [message #1069548 is a reply to message #1069464] Tue, 16 July 2013 01:15 Go to previous messageGo to next message
Ed Willink is currently offline Ed Willink
Messages: 4035
Registered: July 2009
Senior Member
Hi

Looking at the earlier thread, I suspect that the answer is no; it has
never been upgrdaed to Acceleo 3.

Regards

Ed Willink


On 16/07/2013 01:09, Daniel Tahin wrote:
> Hi All,
>
> i' a newbie with Acceleo. I would like to install the Ecore to Python
> code generator, but i get an error:
>
> Cannot complete the install because one or more required items could
> not be found.
> Software currently installed: Ecore to Python code generator
> 1.0.0.200902031213
> (org.acceleo.module.pim.ecore.gen.python_feature.feature.group
> 1.0.0.200902031213)
> Missing requirement: Ecore to Python code generator 1.0.0
> (org.acceleo.module.pim.ecore.gen.python 1.0.0) requires 'bundle
> fr.obeo.acceleo.gen 0.0.0' but it could not be found
> Cannot satisfy dependency:
> From: Ecore to Python code generator 1.0.0.200902031213
> (org.acceleo.module.pim.ecore.gen.python_feature.feature.group
> 1.0.0.200902031213)
> To: org.acceleo.module.pim.ecore.gen.python [1.0.0]
>
> A other post says (http://www.eclipse.org/forums/index.php/t/463174/),
> this package is only available for Acceleo 2, for version 3.2 it can
> be installed as well.
> Can you help me with this?
>
> Thank you in advance,
> Daniel
>
> (sorry for posting this message twice, but the first didn't seem to
> appear)
>
Re: [Acceleo] Error installing 'Ecore to Python code generator' for Acceleo 3.2 [message #1069918 is a reply to message #1069548] Tue, 16 July 2013 17:53 Go to previous messageGo to next message
Daniel Tahin is currently offline Daniel Tahin
Messages: 27
Registered: July 2013
Junior Member
Thanx.

I downloaded a complete Eclipse package with Acceleo 2.7 from (www.acceleo.org/pages/download-acceleo).
I try to start the example python generator: www.acceleo.org/pages/ecore-to-python-generator/en

I did everything, that is on the website. After choosing "Ecore to Python" module, it asks for Ecore Model. For this i select "org.acceleo.module.pim.ecore.gen.python". But if i start the generaton process (by right-clicking on the default.chain file and Launch), there is just an other problem:
[Resource '/org.acceleo.module.pim.ecore.gen.python/default' does not exist.]

Can you tell me, how to make a simple python code generation?

Thanx again,
Daniel
Re: [Acceleo] Error installing 'Ecore to Python code generator' for Acceleo 3.2 [message #1079472 is a reply to message #1069918] Sun, 04 August 2013 12:51 Go to previous messageGo to next message
Daniel Tahin is currently offline Daniel Tahin
Messages: 27
Registered: July 2013
Junior Member
Hello,

maybe someone can help? Because I need this tool for a project.

Thanks in advance,
Daniel
Re: [Acceleo] Error installing 'Ecore to Python code generator' for Acceleo 3.2 [message #1080056 is a reply to message #1079472] Mon, 05 August 2013 08:17 Go to previous messageGo to next message
Ed Willink is currently offline Ed Willink
Messages: 4035
Registered: July 2009
Senior Member
Hi

I replied before that you should look at the previous thread that
defined this as not working.

If you want it, you should consider doing the port yourself and consider
contributing it back to the community.

Perhaps anyone interested in helping you will comment on this thread.

Regards

Ed Willink

On 04/08/2013 17:51, Daniel Tahin wrote:
> Hello,
>
> maybe someone can help? Because I need this tool for a project.
>
> Thanks in advance,
> Daniel
>
Re: [Acceleo] Error installing 'Ecore to Python code generator' for Acceleo 3.2 [message #1080961 is a reply to message #1080056] Tue, 06 August 2013 12:04 Go to previous messageGo to next message
Cedric Brun is currently offline Cedric Brun
Messages: 359
Registered: July 2009
Senior Member
Hi,

A very crude port has been done as an "example" :

http://git.eclipse.org/c/m2t/org.eclipse.acceleo.git/tree/examples

but this is far from being usable in production.

I would advise you to either do your own generator - depending on what you want to generate exactly a few hours might be enough, or ask a contractor to do it (Obeo might do that instance).




Re: [Acceleo] Error installing 'Ecore to Python code generator' for Acceleo 3.2 [message #1084503 is a reply to message #1080961] Sun, 11 August 2013 13:24 Go to previous message
Daniel Tahin is currently offline Daniel Tahin
Messages: 27
Registered: July 2013
Junior Member
Hi,

thank you for the hints. I'll try it in the coming days.

KR,
Daniel
Previous Topic:[ Xpand ] Alternative of WorkflowRunner.run
Next Topic:[Xpand] Workflow execution programatically
Goto Forum:
  


Current Time: Sat Aug 30 06:40:51 EDT 2014

Powered by FUDForum. Page generated in 0.09629 seconds