Skip to main content



      Home
Home » Eclipse Projects » Gendoc » Doc generation fails if spaces in the model name(Doc generation fails with Papyrus UML models if model name has spaces)
Doc generation fails if spaces in the model name [message #1815433] Wed, 02 October 2019 13:18 Go to next message
Eclipse UserFriend
Hi,

I have a Gendoc template that's been working for a while now; but when using the latest builds, document generation fails, with a message like the following (xxx replaces sensitive fields; this is with a Papyrus UML model, the model is named "ONAP Information Model" and it has submodels like "License".)

An example error message is:

"The execution of a script failed: The model Model can not be loaded from URL: "xxx/ONAP%2520Information%2520Model/License.uml" can not be loaded
The execution of a script failed: Error during generation of Gendoc script :null"

When I copy and paste the submodel to another model with no spaces in its name, Gendoc works fine (e.g., when the model is at the URL xxx/trial/License.uml".)

I'm on Windows 10 and my Eclipse, etc., builds are:
Gendoc 0.7.2.201909241003
Papyrus for UML 4.5.0.201909110825
Papyrus bundle for Gendoc 0.7.2.201909241003
Eclipse Modeling Tools 4.13.0.20190917-0000

Am not sure on where to file an issue, so posting here.
Thanks in advance for help and advice!
-Arun


[Updated on: Wed, 02 October 2019 13:26] by Moderator

Re: Doc generation fails if spaces in the model name [message #1815462 is a reply to message #1815433] Thu, 03 October 2019 02:27 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

We have some issues with folders with spaces on it...

I will write a issue in bugzilla and I will try to take a look at it.
I know there has been some changes how Papyrus loads models in 2019-06 track,

But it looks we are encoding the submodels URLs twice, what it is wrong.

Regards,
Antonio
Re: Doc generation fails if spaces in the model name [message #1815547 is a reply to message #1815462] Fri, 04 October 2019 09:52 Go to previous messageGo to next message
Eclipse UserFriend
Thank you!
-Arun
Re: Doc generation fails if spaces in the model name [message #1815824 is a reply to message #1815547] Fri, 11 October 2019 10:05 Go to previous message
Eclipse UserFriend
Hi,

I created a Bug for this issue:
Bug 552039 - Models with blanks in the name are not open properly

And I commit a fix for it. It should be included in the the nightly build from tomorrow (2019-Oct-12).

Regards,
Antonio
Previous Topic:memory leak
Next Topic:Gendoc with Latex?
Goto Forum:
  


Current Time: Sun Jul 13 17:22:35 EDT 2025

Powered by FUDForum. Page generated in 0.04990 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top