Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The generated png file is always empty. #101

Open
jisungbin opened this issue Feb 4, 2022 · 3 comments
Open

The generated png file is always empty. #101

jisungbin opened this issue Feb 4, 2022 · 3 comments
Assignees
Labels
needs investigation Needs investigation to determine course of action

Comments

@jisungbin
Copy link

jisungbin commented Feb 4, 2022

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 jisungbin changed the title png generate is always empty. The generated png file is always empty. Feb 4, 2022
@jisungbin jisungbin changed the title The generated png file is always empty. The created png file is always empty. Feb 4, 2022
@jisungbin jisungbin changed the title The created png file is always empty. The generated png file is always empty. Feb 4, 2022
@arunkumar9t2 arunkumar9t2 self-assigned this Feb 6, 2022
@arunkumar9t2 arunkumar9t2 added the needs investigation Needs investigation to determine course of action label Feb 6, 2022
@arunkumar9t2
Copy link
Owner

I will investigate and get back, thanks.

@amonett1-ford
Copy link

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

@manishb-azuga
Copy link

Tried everything png and svg still empty image.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs investigation Needs investigation to determine course of action
Projects
None yet
Development

No branches or pull requests

4 participants