Apache OpenOffice (AOO) Bugzilla – Issue 16954
python.bat needs path to python.exe quoted on Windows
Last modified: 2004-02-15 07:31:14 UTC
the python.bat in the program directory on Windows would not execute because the call to python.exe didn't have the path to the executable enclosed in quotes, and I had installed OpenOffice under Program Files. Putting quotes around it fixed the problem. The corrected file (with the quotes added) is below @echo off set PATH=%PATH%;C:\Program Files\OpenOffice.org1.1\program set PYTHONPATH=C:\Program Files\OpenOffice.org1.1\program;C:\Program Files\OpenOffice.org1.1\program\python-core-2.2.2\lib set PYTHONHOME=C:\Program Files\OpenOffice.org1.1\program\python-core-2.2.2 "C:\Program Files\OpenOffice.org1.1\program\python-core-2.2.2\bin\python.exe" %1 %2 %3 %4 %5 %6 %7 %8 %9
Joerg, you may want to fix this.
I put the variable into set_soenv.in, I'll fix this. Set target to RC, don't know if there will be a cws..rc3 branch, if not this will hopefully go into 1.1 final.
Oops, back to you joerg, I thought we were takling about winenv.bat, but winenv.bat is OK.
Fixed this in the scp-project, waiting for rc3 branch announce to commi
fixed with scp/source/python/winbasic_python.scp, rev. 1.2.46.1
verfied in 1.1.0.
close issue