FHIR Chat · Publisher freezing · IG creation

Stream: IG creation

Topic: Publisher freezing


view this post on Zulip David Pyke (Apr 07 2021 at 12:52):

I'm trying to convert SANER to use the in-line plantuml. I've made a few changes but now the publisher just freezes and never completes. Is there a way I can turn on debugging of some sort to see where it's halting?

view this post on Zulip David Pyke (Apr 07 2021 at 12:53):

If you want to see, use the Dave branch.

view this post on Zulip David Pyke (Apr 07 2021 at 13:15):

BTW, to use the in-line plantuml, what is the proper name of the dir for the plantuml source files?

view this post on Zulip David Pyke (Apr 07 2021 at 13:15):

Is it images-source, images-sources or something else?

view this post on Zulip John Moehrke (Apr 07 2021 at 13:38):

images-source

view this post on Zulip John Moehrke (Apr 07 2021 at 13:39):

where can I see your plantuml file?

view this post on Zulip David Pyke (Apr 07 2021 at 13:41):

https://github.com/HL7/fhir-saner/tree/Dave

view this post on Zulip John Moehrke (Apr 07 2021 at 13:43):

so you converted from .txt to .plantuml? and with 500 plantuml files your IG builder freezes?

view this post on Zulip David Pyke (Apr 07 2021 at 13:44):

It's 33 and yes

view this post on Zulip John Moehrke (Apr 07 2021 at 13:44):

I see you are using advanced features of plantuml... the support for plantuml in the build is basic

view this post on Zulip John Moehrke (Apr 07 2021 at 13:44):

try to remove your advanced features

view this post on Zulip David Pyke (Apr 07 2021 at 13:44):

Which advance features are not implemented?

view this post on Zulip John Moehrke (Apr 07 2021 at 13:44):

I have no idea what is advanced

view this post on Zulip John Moehrke (Apr 07 2021 at 13:45):

@Jose Costa Teixeira what is the tool used for plantuml rendering and what is the features it supports or does not?

view this post on Zulip David Pyke (Apr 07 2021 at 13:46):

I assumed it was plantuml.jar...

view this post on Zulip John Moehrke (Apr 07 2021 at 13:47):

it is a free tool

view this post on Zulip John Moehrke (Apr 07 2021 at 13:47):

it doesn't support everything.

view this post on Zulip John Moehrke (Apr 07 2021 at 13:50):

I think it might be https://graphviz.org/

view this post on Zulip David Pyke (Apr 07 2021 at 13:56):

And now it's building. I guess it just needed a nice rest

view this post on Zulip David Pyke (Apr 07 2021 at 13:56):

Still not building the plantuml files.

view this post on Zulip David Pyke (Apr 07 2021 at 14:30):

Okay, now it's working. I took out the pragma and added the GRAPHVIZ_DOT env variable and now things are working. Time to write some documentation.

view this post on Zulip Jose Costa Teixeira (Apr 07 2021 at 15:01):

seems the problem fixed itself..

view this post on Zulip Jose Costa Teixeira (Apr 07 2021 at 15:01):

The tool used in conjunction with plantuml is graphviz. This seems to be added to the IG auto-publication

view this post on Zulip Jose Costa Teixeira (Apr 07 2021 at 15:02):

GraphViz is a graph rendering engine.
The alternative was to include the !pragma to use the internal engine instead

view this post on Zulip Jose Costa Teixeira (Apr 07 2021 at 15:03):

Plantuml with graphviz is the full-featured combination.
Plantuml without graphviz requires the !pragma thing (otherwise it will only be good for sequence diagrams)


Last updated: Apr 12 2022 at 19:14 UTC