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

Antora plantuml diagrams rendering not working #1242

Open
austek opened this issue Dec 6, 2022 · 2 comments
Open

Antora plantuml diagrams rendering not working #1242

austek opened this issue Dec 6, 2022 · 2 comments
Assignees
Labels

Comments

@austek
Copy link

austek commented Dec 6, 2022

When using antora, plantuml diagrams are not rendering, however, are generated correctly on the generated site.

Here is a repo that reproduces the issue
https://github.com/austek/antora-diagram

Standard asciidoc file preview works docs/asciidoc/index.adoc

Open docs/modules/ROOT/pages/index.adoc, following error is shown
Failed to generate image: undefined method to_sym' for nil:NilClass (index.adoc, line 6) (script:process)`

Environment

Plugin Version: 0.37.56

IntelliJ Details:
IntelliJ IDEA 2022.2.4 (Ultimate Edition)
Build #IU-222.4459.24, built on November 22, 2022
Runtime version: 17.0.5+7-b469.71 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 12.6.1
GC: G1 Young Generation, G1 Old Generation
Memory: 6144M
Cores: 12
Metal Rendering is ON
Registry:
ide.images.show.chessboard=true

Non-Bundled Plugins:
org.rust.lang (0.4.184.5057-222)
name.kropp.intellij.makefile (222.4459.16)
palantir-java-format (2.28.0)
org.jetbrains.plugins.hocon (2022.1.0)
org.jetbrains.kotlin (222-1.7.21-release-272-IJ4167.29)
com.intellij.guice (222.4459.16)
com.euphoricity.gitignore (0.3)
com.dmarcotte.handlebars (222.4459.16)
com.intellij.lang.jsgraphql (3.3.0)
String Manipulation (9.6.1)
org.sonarlint.idea (7.2.1.58118)
com.rspn.git (1.9)
org.jetbrains.plugins.ruby (222.4459.16)
org.asciidoctor.intellij.asciidoc (0.37.56)
com.crunch42.openapi (1.41)
EclipseCodeFormatter (22.0.203.000.0-Eclipse_2021-09)
CheckStyle-IDEA (5.74.0)
spring-javaformat (0.0.34)
ru.adelf.idea.dotenv (2022.2)
com.haulmont.jpab (2022.5.0-222)
com.zxy.idea.plugin.gradle-plugin-support (1.1)

Kotlin: 222-1.7.21-release-272-IJ4167.29

@austek austek added the bug label Dec 6, 2022
@ahus1
Copy link
Contributor

ahus1 commented Dec 8, 2022

I'm sorry to hear this is not working for your diagrams. I can reproduce it locally when using Asciidoctor Diagram in IntelliJ. I can't offer a solution for this yet. In the meantime, I suggest that you enable Kroki in the plugin's settings, as this will generate the diagram as expected.

@ahus1 ahus1 self-assigned this Jun 1, 2023
@Smasherr
Copy link

I have a slightly different error message (MacOS, IntelliJ 2023.3.2, Asciidoctor-plugin 0.41.6), and I am also able to fix it by enabling Kroki.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants