arunkumar9t2 / scabbard

🗡 A tool to visualize Dagger 2 dependency graphs
https://arunkumar9t2.github.io/scabbard
Apache License 2.0
860 stars 35 forks source link

The generated png file is always empty. #101

Open jisungbin opened 2 years ago

jisungbin commented 2 years ago

I am using the latest version of Scabbard, and Graphviz is also installed with the latest version. But when I build, a dot file is generated successfully, but png is always generated as an empty file. It is the same even if I set the creation option with svg. The gradle Scabbard option is written as below.

 scabbard {
    enabled = true
    failOnError = true
    fullBindingGraphValidation = true
}    

If I run the command to generate dot file as png on the terminal, it creates success. What's the problem?

This picture is Scabbard generating files. The first entry is a .dot file and is 636 bytes, but the second entry, a .png file, is 0 bytes.

image

크기 == Size, 바이트 == Byte

sorry it's not english

arunkumar9t2 commented 2 years ago

I will investigate and get back, thanks.

amonett1-ford commented 2 years ago

I had the same problem, I had to change the outputFormat to "svg" and then it generated correctly in svg.

manishb-azuga commented 1 year ago

Tried everything png and svg still empty image.