[reportlab-users] Installation snag

Robin Becker robin at reportlab.com
Fri Dec 23 13:09:28 EST 2005


Lincoln Silk wrote:
> My platform is winXP pro.  I installed zope 2.8.4-final from a
> precompiled form.  The version of python is 2.3.5.  I copied the dll's
> properly and I believe installed reportlab_1_20 correctly. I performed
> the following.
> 
> C:\Program Files\Zope-2.8.4-final\bin\reportlab\test>..\..\python
> test_pdfgen_general.py
> .
> ----------------------------------------------------------------------
> Ran 1 test in 8.163s
> 
> OK
> 
> However, no pdf appeared on my system at all.  So I performed the full
> test with the following results
> 
> 
> C:\Program Files\Zope-2.8.4-final\bin\reportlab\test>..\..\python
> runAll.py
> Traceback (most recent call last):
>   File "runAll.py", line 65, in ?
>     main()
>   File "runAll.py", line 55, in main
>     testSuite = makeSuite(folder,nonImportable=NI,pattern=pattern+(not
> haveSRC and 'c' or ''))
>   File "runAll.py", line 17, in makeSuite
>     for filename in GlobDirectoryWalker(folder, pattern):
>   File "C:\Program Files\Zope-2.8.4-final\bin\reportlab\test\utils.py",
> line 98, in __init__
>     raise ValueError('"%s" is not a directory' % directory)
> ValueError: "" is not a directory
> 
> Now I had previously installed many versions of python on this system
> and the one recognized by the system is python2.4.  So that is why I had
> to run the test by explicitly stating where the python.exe was to be
> found.  I'm not sure if that is the problem so I thought I would try the
> users group.   Any ideas or can you point me to a place with some
> troubleshooting tips?   Thanks.
> 
> Lincoln
> 
..... I think it's the ..\.. that's causing the problem. Can you try doing 
\x\z\y\python.exe instead?
-- 
Robin Becker


More information about the reportlab-users mailing list