[reportlab-users] error reportlab not defined

Karl Putland reportlab-users@reportlab.com
15 Aug 2003 10:52:09 -0600


On Fri, 2003-08-15 at 10:43, Ridvan Agar wrote:
> Check if you have installed reportlab properly and python can see it in 
> its path
> 

He never imported the name reportlab.

--Karl

> 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
> 
> 
> 
> _______________________________________________
> reportlab-users mailing list
> reportlab-users@reportlab.com
> http://two.pairlist.net/mailman/listinfo/reportlab-users
-- 
Karl Putland <karl@putland.linux-site.net>