Stream: IG creation
Topic: Publisher freezing
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?
David Pyke (Apr 07 2021 at 12:53):
If you want to see, use the Dave branch.
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?
David Pyke (Apr 07 2021 at 13:15):
Is it images-source, images-sources or something else?
John Moehrke (Apr 07 2021 at 13:38):
images-source
John Moehrke (Apr 07 2021 at 13:39):
where can I see your plantuml file?
David Pyke (Apr 07 2021 at 13:41):
https://github.com/HL7/fhir-saner/tree/Dave
John Moehrke (Apr 07 2021 at 13:43):
so you converted from .txt to .plantuml? and with 500 plantuml files your IG builder freezes?
David Pyke (Apr 07 2021 at 13:44):
It's 33 and yes
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
John Moehrke (Apr 07 2021 at 13:44):
try to remove your advanced features
David Pyke (Apr 07 2021 at 13:44):
Which advance features are not implemented?
John Moehrke (Apr 07 2021 at 13:44):
I have no idea what is advanced
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?
David Pyke (Apr 07 2021 at 13:46):
I assumed it was plantuml.jar...
John Moehrke (Apr 07 2021 at 13:47):
it is a free tool
John Moehrke (Apr 07 2021 at 13:47):
it doesn't support everything.
John Moehrke (Apr 07 2021 at 13:50):
I think it might be https://graphviz.org/
David Pyke (Apr 07 2021 at 13:56):
And now it's building. I guess it just needed a nice rest
David Pyke (Apr 07 2021 at 13:56):
Still not building the plantuml files.
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.
Jose Costa Teixeira (Apr 07 2021 at 15:01):
seems the problem fixed itself..
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
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
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