Opened 16 years ago

Closed 11 years ago

Last modified 11 years ago

#2759 closed defect (wontfix)

Error in google.py — at Version 1

Reported by: buvaneswari.chandran@… Owned by: Marcelo Salhab Brogliato
Priority: normal Component: ChartReportGeneratorPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description (last modified by Ryan J Ollos)

png file is readable after a small correction in google.py When the output file is opened up for writing, we have to use "wb" (write binary) mode. Then only it was creating a readable output file

-  f = open(filename + '.png', 'w')
+  f = open(filename + '.png', 'wb')

Change History (1)

comment:1 Changed 11 years ago by Ryan J Ollos

Description: modified (diff)
Resolution: wontfix
Status: newclosed
Note: See TracTickets for help on using tickets.