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.

EmptySvgException when write docs over two lines

See original GitHub issue

I 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

error

Fixed case

The error is fixed when commenting out a line.

@startuml
interface List
- interface Collection
@enduml

ok

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.

image

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

data

Is there any other way to fix it?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
mactkgcommented, Aug 14, 2021

I notice that installing graphviz / plantuml was failed somehow. The plugin works correctly after reinstalling xcode command line tools by sudo rm -rf /Library/Developer/CommandLineTools && xcode-install --install and graphviz and plantuml by brew reinstall plantuml, graphviz.

The issue is fixed. Thanks.

1reaction
krasacommented, Aug 14, 2021

It seems that your graphviz does not work correctly, perhaps try a different version

Read more comments on GitHub >

github_iconTop 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 >

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