[reportlab-users] tests not handling space-containing paths correctly?

Jerome Alet reportlab-users@reportlab.com
Wed, 2 Oct 2002 16:58:25 +0200

On Wed, Oct 02, 2002 at 10:46:36AM -0400, Jeff Kowalczyk wrote:
> I was running runAll.py tests today since I just *had* to see what pyCanvas actually did,
> and got a few failures early in the script. I have reportlab CVS in python2.2 installed
> under Program Files direcory on Windows XP. Does anyone know if these partial failures in
> runall.py are expected behavior? It also happens if I run the command as
> C:\Progra~1\Python\Lib\reportlab\test>runAll.py
> Thanks
> C:\Program Files\Python\Lib\reportlab\test>runAll.py
> .....'C:\Program' is not recognized as an internal or external command,
> operable program or batch file.

is it related to pycanvas ?

please could you run only test_pdfgen_pycanvas.py to see if the problem
comes from this new module ?

it seems the space in "Program Files" causes a problem somewhere, maybe
you could run the script through the Python interpreter instead of directly :

        python.exe runAll.py
      or :
        python.exe test_pdfgen_pycanvas.py 
        if you're only interested in this script.
sorry I don't use Windows so I can't help much        

Jerome Alet