[reportlab-users] error reportlab not defined

Ridvan Agar reportlab-users@reportlab.com
Fri, 15 Aug 2003 18:43:55 +0200


Check if you have installed reportlab properly and python can see it in 
its path

Proboscis Admin schrieb:

>
>
> Dear All,
>
> Hello,
> I am getting this error reportlab not defined
>
> when entering the following code: any ideas why?
>
> from reportlab import *
> from reportlab.rl_config import defaultPageSize
> from reportlab.lib import *
> from reportlab.platypus import *
> from reportlab.pdfgen import *
> from reportlab.pdfgen.canvas import *
> from reportlab.pdfbase import *
> from reportlab.lib.colors import *
> from reportlab.graphics import *
> from reportlab.graphics.shapes import *
> from reportlab.lib.units import *
> from reportlab.lib import pagesizes
> from types import *
> import os
> from reportlab.lib import pagesizes
> from reportlab.rl_config import *
> from reportlab.pdfbase import pdfmetrics
> from reportlab.pdfbase.ttfonts import TTFont
> from reportlab.lib import fonts
> reportlab.rl_config.warnOnMissingFontGlyphs = 0
> pdfmetrics.registerFont(TTFont('Verdana', 
> 'Mac_OS_X:Users:katjunni:Desktop:reportlab:fonts:VERDANA.ttf'))
>
> suggestions tips?
>
> Thanks
>
>
> Proboscis
> researching, developing and facilitating creative innovation
> 2 Ormonde Mansions, 100A Southampton Row, London WC1B 4BJ
> T: 020 7209 4042 F: 07031 151 738
> E: info@proboscis.org.uk W: http://www.proboscis.org.uk