scabbard icon indicating copy to clipboard operation
scabbard copied to clipboard

The generated png file is always empty.

Open jisungbin opened this issue 3 years ago • 3 comments

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

jisungbin avatar Feb 04 '22 18:02 jisungbin

I will investigate and get back, thanks.

arunkumar9t2 avatar Feb 09 '22 02:02 arunkumar9t2

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

amonett1-ford avatar Mar 07 '22 16:03 amonett1-ford

Tried everything png and svg still empty image.

manishb-azuga avatar Mar 03 '23 01:03 manishb-azuga