question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't generate ditaa diagram through plantuml endpoint

See original GitHub issue

Problem

In order to keep compatibility for my asciidoc between gitlab and asciidoctor, I’m trying to generate a ditaa diagram through the plantuml endpoint. sing the sample provided by the plantuml documentation ( https://plantuml.com/ditaa), i expect to receive a valid graphic with https://kroki.io//plantuml enpoint.

Sample Used:

ditaa
+--------+   +-------+    +-------+
|        +---+ ditaa +--> |       |
|  Text  |   +-------+    |diagram|
|Document|   |!magic!|    |       |
|     {d}|   |       |    |       |
+---+----+   +-------+    +-------+
    :                         ^
    |       Lots of work      |
    +-------------------------+

Url Called:

https://kroki.io//plantuml/png/eNpLySxJTOTi0taFAm0FBQVtJDaCw1WjAAXaYLkUkE4Q204BJlMDUhOSWlGiABZCMacmJTMxvSgxF6jGJT-5NDc1rwSkpkYxNzE9M1kRbASKOUBQnVJbgyyMqgbsDAJuBvGsFHCBOC5kE33yS4oV8tMUyvOLsmF2IJuGCbS5AJYYQVU=

Result

It seem that there is a conflicting libraries within the server. It seem that plantuml package ditaa within it’s dependencies and kroki import dita in 2 other dependencies, i guess that is the issue. Not sure what is the best fix here.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:13 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
bjet007commented, Apr 13, 2021

@Mogztter, thanks.

1reaction
pepijnvecommented, Mar 18, 2021

@Mogztter I guess the best we can do here is change the package name of the forked version to avoid conflicts with PlantUML’s embedded version of Ditaa. Is that ok as a solution for you?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Integration of Ditaa - PlantUML
Ditaa (DIagrams Through Ascii Art) is an Open Source project that allows to generate general diagrams from a text descriptions.
Read more >
PlantUML Language Reference Guide
PlantUML is a component that allows to quickly write : • Sequence diagram. • Usecase diagram. • Class diagram. • Object diagram. •...
Read more >
UML Sequence Diagram - Ashley's PlantUML Doc
A UML Sequence diagram shows how messages go back and forth between objects over time. It is an interaction diagram. The basic syntax...
Read more >
Kroki diagrams - GitLab Docs
Create diagrams. With Kroki integration enabled and configured, you can start adding diagrams to your AsciiDoc or Markdown documentation using delimited blocks:.
Read more >
API · Kroki.jl
The type of diagram specification (e.g. ditaa, Mermaid, PlantUML, etc.). ... Renders a Diagram through a Kroki service to the specified output format....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found