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

Roberto Alsina ralsina at netmanagers.com.ar
Thu Oct 9 12:37:26 EDT 2008

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

("\''/").__..-''"`-. . Roberto Alsina
`9_ 9 ) `-. ( ).`-._.`) KDE Developer (MFCH)
(_Y_.)' ._ ) `._`. " -.-' http://lateral.netmanagers.com.ar
_..`-'_..-_/ /-'_.' The 6,855th most popular site of Slovenia
(l)-'' ((i).' ((!.' according to alexa.com (27/5/2007)

Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it. --Brian W. Kernighan

More information about the reportlab-users mailing list