[reportlab-users] problem running test

Barry, Christopher cbarry at infiniconsys.com
Fri May 6 14:14:43 EDT 2005


 [/usr]# find . -name site-packages
./lib/python2.2/site-packages
./lib/python2.3/site-packages
./lib/python2.1/site-packages
./local/lib/python2.3/site-packages
./local/lib/python2.1/site-packages


I think that it is not finding the reportlab package where it expects to
find such things. Did you install it into the correct site-packages
directory?


I *believe* that if you have it somewhere else, you can modify the
python_path variable to point to this location. But don't hold me to it
;)

-C




> -----Original Message-----
> From: Chris Africa [mailto:cafrica at umich.edu] 
> Sent: Friday, May 06, 2005 2:02 PM
> To: Support list for users of Reportlab software
> Subject: Re: [reportlab-users] problem running test
> 
> Thanks, Christopher.
> 
> I tried your suggestion and received a different error this time:
> 
> #  python  ./test_pdfgen_general.py
> Traceback (most recent call last):
>    File "./test_pdfgen_general.py", line 12, in ?
>      from reportlab.test import unittest
> ImportError: No module named reportlab.test
> 
> Have a nice day!
> 
> Chris
> 
> On May 6, 2005, at 12:58 PM, Barry, Christopher wrote:
> > Try
> > # python  ./test_pdfgen_general.py
> >
> >
> >
> >> -----Original Message-----
> >> From: Chris Africa [mailto:cafrica at umich.edu]
> >> Sent: Friday, May 06, 2005 12:51 PM
> >> To: reportlab-users at reportlab.com
> >> Subject: [reportlab-users] problem running test
> >>
> >> Hi Everyone.
> >>
> >> I apologize if this question has come up, but I couldn't 
> find a list
> >> archive, and I'm new to the list.
> >>
> >> After installing reportlab through Fink (Mac OS X Server 
> 10.3.8 with
> >> Python 2.3), I can't get past the original test program. I'm
> >> logged in
> >> as root.
> >>
> >> Here's the error:
> >> su: ./test_pdfgen_general.py: Permission denied
> >>
> >> Here are the permissions:
> >> -rw-r--r--    1 root  admin  27365 24 Jul  2002 
> test_pdfgen_general.py
> >>
> >> When I chmod u+x, I get a different error:
> >> su: ./test_pdfgen_general.py: /bin/env: bad interpreter: 
> No such file
> >> or directory
> >>
> >> I originally tried to install reportlab myself (without Fink), with
> >> these same errors. What am I missing?
> >>
> >> Thanks in advance for your help!
> >>
> >> Chris
> >>
> >> _______________________________________________
> >> reportlab-users mailing list
> >> reportlab-users at reportlab.com
> >> http://two.pairlist.net/mailman/listinfo/reportlab-users
> >>
> > _______________________________________________
> > reportlab-users mailing list
> > reportlab-users at reportlab.com
> > http://two.pairlist.net/mailman/listinfo/reportlab-users
> >
> > !DSPAM:427ba258102691467876497!
> >
> >
> >
> 
> _______________________________________________
> reportlab-users mailing list
> reportlab-users at reportlab.com
> http://two.pairlist.net/mailman/listinfo/reportlab-users
> 


More information about the reportlab-users mailing list