Skip to content
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

asciidoctor-diagram: ERROR: Failed to generate image: PlantUML image generation failed: #395

Closed
azngeek opened this issue Jan 21, 2020 · 6 comments · Fixed by #1142
Closed
Assignees
Milestone

Comments

@azngeek
Copy link

azngeek commented Jan 21, 2020

Describe the bug

asciidoctor-diagram: ERROR: Failed to generate image: PlantUML image generation failed:

To Reproduce

Install DocToolChain (https://doctoolchain.github.io/docToolchain/#_how_to_install_doctoolchain)
Edit any page and add a plantuml diagram

Expected behavior
The Toolchain should render a plantuml diagram using graphviz

Screenshots

If applicable, add screenshots to help explain your problem.
image

@rdmueller
Copy link
Member

interesting. Could you please copy & paste the whole stacktrace?
PlantUML should work if graphviz dot is installed on the command line.
Windows or Linux?

btw: you can also use PlantUML without Graphviz as explained here:
https://docs-as-co.de/news/plantuml-without-graphviz/

This blog also shows you how to check if PlantUML recognized your graphviz installation.

@stehlih
Copy link
Contributor

stehlih commented Jan 25, 2020

Which graphviz version do you use?

PlantUML isn‘t working with versions newer than 2.38.

See https://plantuml.com/de/faq for more information.

@stale
Copy link

stale bot commented Aug 13, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Just add a small comment to keep it open. Thank you for your contributions.

@stale stale bot added the wontfix label Aug 13, 2020
@rdmueller rdmueller removed the wontfix label Jan 10, 2022
@mh182 mh182 added this to the Java 17 milestone Apr 27, 2023
@mh182
Copy link
Collaborator

mh182 commented Apr 27, 2023

TODO: test and close.

@mh182 mh182 self-assigned this Apr 27, 2023
@mh182
Copy link
Collaborator

mh182 commented Apr 28, 2023

docToolchain 2.2.1 generates images from PlantUML fine.

@mh182
Copy link
Collaborator

mh182 commented May 1, 2023

We upgraded to the newest org.asciidoctor.asciidoctorj-diagram to latest version 2.2.7.
On Linux PlantUML renders fine.

mh182 added a commit to mh182/docToolchain that referenced this issue May 1, 2023
@mh182 mh182 linked a pull request May 1, 2023 that will close this issue
mh182 added a commit that referenced this issue May 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants