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

Unreadable PNG #41

Open
ragurney opened this issue Sep 10, 2020 · 2 comments
Open

Unreadable PNG #41

ragurney opened this issue Sep 10, 2020 · 2 comments

Comments

@ragurney
Copy link

When I try to open the generated .png file, I get the following:

Screen Shot 2020-09-10 at 2 06 35 PM

@samhatchett
Copy link

samhatchett commented Nov 2, 2020

I saw this same thing happen, and the raw contents of the file was an HTML error page from google (content too large). Using the instructions for producing a "local" dot-file and then rendering that using the graphviz tools worked for me.

adding some http response code validation could help to catch this error:

response = requests.post(GOOGLE_CHART_URL, data = {'cht':'gv', 'chl': digraph})

@ghost
Copy link

ghost commented May 24, 2021

its def a size issue. going tot try the local version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants