pawelrychlik/jira-dependency-graph

Unreadable PNG

ragurney opened this issue · 2 comments

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

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

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})

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