[reportlab-users] "Warning: Canvas need to be overriden in a subclass"
Andrés Maneiro
andres.maneiro at gmail.com
Sun Apr 20 13:32:35 EDT 2008
Hi people,
i got this warning:
"Methods (inkAnnotation) in Canvas need to be overridden in a subclass"
and i don't know why it is. Anybody knokws? My code:
from reportlab.pdfgen.canvas import Canvas
(... other imports ...)
class pdfReport:
def __init__(self, fin, fout="test.pdf"):
self.file_stats = fin
self.c = Canvas(fout) # WARNING appears here :(
(... more statement ...)
Regards,
/amaneiro
More information about the reportlab-users
mailing list