[reportlab-users] [BUG] possible bug in transtition code

Robin Becker robin at reportlab.com
Thu Oct 9 12:52:39 EDT 2008


Roberto Alsina wrote:

> I am trying to expose transitions in rst2pdf, and I got this error when

> calling with a wrong transition effect name:

>

> I am fixing it so I don't trigger it anymore, but the error is wrong ;-)

>

> File "/usr/lib/python2.5/site-packages/reportlab/pdfgen/canvas.py", line 1474,

> in setPageTransition

> raise PDFError('Unknown Effect Name "%s"' % effectname)

> NameError: global name 'PDFError' is not defined

>

That's definitely a bug. I'll fix it today. I was trying to fix some obsolete
usages and forgot an import.
--
Robin Becker


More information about the reportlab-users mailing list