[reportlab-users] problem running test

Chris Africa cafrica at umich.edu
Fri May 6 15:20:52 EDT 2005


Okay, I found the problem - two, actually.

First, I used the default Fink install, which split the reportlab 
installation for some reason
	/sw/lib/python2.3/site-packages/reportlab
	/sw/lib/python2.3/reportlab
I copied as much as I could into the site-packages subdirectory, 
because they could not be found in the other directory

Second, I needed to use /sw/bin/python2.3 instead of python.

Most of the tests work now, but 5 of them still do not. I guess I'll 
track them down as I can. I'm still baffled why the Fink install did 
not work. Fink is usually pretty reliable.

Thank you for your help. Have a nice day!

Chris

On May 6, 2005, at 2:14 PM, Barry, Christopher wrote:
>  [/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



More information about the reportlab-users mailing list