-
Notifications
You must be signed in to change notification settings - Fork 3
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
Error during the transformation #1
Comments
Hello,
from the error, it looks to me like you are running on Windows.
Unfortunately so far there has been no support for DICER on Windows so I
cannot guarantee it's going to work, but I can try to help you in the case
you want to adjust it to make it run on Windows.
From the error message it looks like it's a path-related issue ("7" vs
"\"). Can you show me how you configuring the config.yml file needed to run
the dicer-service?
Best,
Michele Guerriero
…On Fri, 19 Jul 2019 at 13:41, Thomasbrinn ***@***.***> wrote:
Hi, when I start the transformation an internal server error is generated
(Error 500).
In the dicer-service.log file the following error is reported:
Error during module loading: Cannot create a resource for
'c:\Users\Thomas\Desktop\dicer-full/DICER/dicer-core/transformations/uml2tosca.emftvm';
a registered resource factory is needed
How can I fix this error?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1?email_source=notifications&email_token=ABREX34YHHRM3GZWOUVOYYLQAGR77A5CNFSM4IFFE6D2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HAH6AAA>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABREX32VEKRWHCUDVWUDIXDQAGR77ANCNFSM4IFFE6DQ>
.
|
Hi Michele Guerriero, thank you for your help! server: |
Hello,
did you exported those environment variables (TRANSFORMATION_DIR,
DDSM_METAMODEL_PATH, etc) to point to the right artifacts
(dicer-core/transformations, ddsm.ecore, etc.)?
Michele Guerriero
…On Fri, 19 Jul 2019 at 15:03, Thomasbrinn ***@***.***> wrote:
Hi Michele Guerriero, thank you for your help!
I left the config.yml file unchanged. This is the file:
server:
type: simple
applicationContextPath: /
connector:
type: http
port: 8176
transformationDir: ${TRANSFORMATION_DIR}
ddsmMetamodelPath: ${DDSM_METAMODEL_PATH}
diceProfilePath: ${DICE_PROFILE_PATH}
secureUmlProfilePath: ${SECUREUML_PROFILE_PATH}
outMetamodelPath: ${OUT_METAMODEL_PATH}
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1?email_source=notifications&email_token=ABREX3ZVF3MR5XN7BLNDHULQAG3SNA5CNFSM4IFFE6D2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2LR7AA#issuecomment-513220480>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABREX36OOA5ILUVGRTSVENTQAG3SNANCNFSM4IFFE6DQ>
.
|
Yes, I've done it. I've create the following environment variables: TRANSFORMATION_DIR: C:\Users\Thomas\Desktop\dicer-full\DICER\dicer-core\transformations |
Hi think there is still a missing \ at the end of the variables.
Il ven 19 lug 2019, 16:05 Thomasbrinn <[email protected]> ha scritto:
… UPDATE:
I've changed the config.yaml file in this way:
server:
type: simple
applicationContextPath: /
connector:
type: http
port: 8176
transformationDir:
"C:\Users\Thomas\Desktop\dicer-full\DICER\dicer-core\transformations"
ddsmMetamodelPath:
"C:\Users\Thomas\Desktop\dicer-full\DICER\dicer-core\metamodels\ddsm.ecore"
diceProfilePath:
"C:\Users\Thomas\Desktop\dicer-full\DICER\dicer-core\metamodels\DICE.profile.uml"
secureUmlProfilePath:
"C:\Users\Thomas\Desktop\dicer-full\DICER\dicer-core\metamodels\SecureUML.profile.uml"
outMetamodelPath:
"C:\Users\Thomas\Desktop\dicer-full\DICER\dicer-core\metamodels\tosca.ecore"
and now there is no the path-related issue, but I've the same Error, now
like this:
Error during module loading: Cannot create a resource for
'c:\Users\Thomas\Desktop\dicer-full\DICER\dicer-core\transformationsuml2tosca.emftvm';
a registered resource factory is needed
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1?email_source=notifications&email_token=ABREX35O7BPUYTRNN5TP2NLQAHC3NA5CNFSM4IFFE6D2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2LXCFQ#issuecomment-513241366>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABREX35MCF3QW4ZQCTHRM63QAHC3NANCNFSM4IFFE6DQ>
.
|
UPDATE: I've changed the config.yaml file in this way: server: and now there is no the path-related issue, but I've the same Error, now like this: Error during module loading: Cannot create a resource for 'c:\Users\Thomas\Desktop\dicer-full\DICER\dicer-core\transformations\uml2tosca.emftvm'; a registered resource factory is needed |
Hello, could you also post the error you are getting on Mac? Also when does this error occur? When you launch the dicer-service, or when you send it a POST request to transform a model into the TOSCA blueprint? |
Hi, when I start the transformation an internal server error is generated (Error 500).
In the dicer-service.log file the following error is reported:
Error during module loading: Cannot create a resource for 'c:\Users\Thomas\Desktop\dicer-full/DICER/dicer-core/transformations/uml2tosca.emftvm'; a registered resource factory is needed
How can I fix this error?
The text was updated successfully, but these errors were encountered: