EmptySvgException when write docs over two lines
See original GitHub issueI encountered a strange issue. I tried to find a workaround, but I give up… Please help!
Environment
I’m using this plugin on WebStorm 2021.2/MacBook Air(M1, 2020). Graphviz is installed using homebrew.
The error
I wrote a small test doc but I got an error like this.
@startuml
interface List
interface Collection
@enduml
Fixed case
The error is fixed when commenting out a line.
@startuml
interface List
- interface Collection
@enduml
Try custom PlantUML jar but failed
I installed PlantUML via homebrew, and I changed the plugin configuration to use a custom jar but got the same result.
Try using the custom jar from CLI, it works
However, I use the same jar from CLI, it works…
java -jar /opt/homebrew/Cellar/plantuml/1.2021.9/libexec/plantuml.jar -Djava.awt.headless=true FILENAME
Is there any other way to fix it?
Issue Analytics
- State:
- Created 2 years ago
- Comments:5
Top Results From Across the Web
Line type ortho leads to EmptySvgException - but also some ...
Here my example - it fails on multiple plantuml versions. @startuml skinparam linetype ortho package com.mercedesbenz.
Read more >Frequently Asked Questions - PlantUML
PlantUML is a text-based tool, which means that you can create diagrams by writing sentences in a simple, human-readable language. This makes it...
Read more >Can't see the whole document. Only 1-2 lines. - Google Help
I'm trying to view the whole document. For some reason I can only see partial. I've looked at all the settings and can't...
Read more >Re: How do I stop double spacing after hitting the return key?
Select the double-spaced paragraphs, click on Format | Paragraph | Indents and Spacing, and set Spacing Before and After to zero. aubiepride wrote:....
Read more >Extending Google Docs | Apps Script
The first function below adds several lines of placeholder text to a Google Doc; in the real world, you would be more likely...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I notice that installing
graphviz
/plantuml
was failed somehow. The plugin works correctly after reinstalling xcode command line tools bysudo rm -rf /Library/Developer/CommandLineTools && xcode-install --install
andgraphviz
andplantuml
bybrew reinstall plantuml, graphviz
.The issue is fixed. Thanks.
It seems that your graphviz does not work correctly, perhaps try a different version