[reportlab-users] error: no module named logger

Randall Smith reportlab-users@reportlab.com
Mon, 14 Jun 2004 11:00:24 -0500


Here is an error message I got.

   File "mypdf.py", line 145, in myFirstPage
     print canvas.stringWidth(datestr, 'Courier', 12, encoding=0)
   File "/usr/lib/python2.3/site-packages/reportlab/pdfgen/canvas.py", 
line 1251, in stringWidth
     import logger
ImportError: No module named logger

I looked and the module is here:
/usr/lib/python2.3/site-packages/reportlab/lib/logger.py

Am I doing something wrong?

Randall