Issue 16954 - python.bat needs path to python.exe quoted on Windows
Summary: python.bat needs path to python.exe quoted on Windows
Status: CLOSED FIXED
Alias: None
Product: udk
Classification: Code
Component: code (show other issues)
Version: OOo 1.1 RC
Hardware: PC Windows 2000
: P3 Trivial (vote)
Target Milestone: OOo 1.1 RC
Assignee: joergbudi
QA Contact: issues@udk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-16 14:31 UTC by davidfraser
Modified: 2004-02-15 07:31 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description davidfraser 2003-07-16 14:31:37 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
Comment 1 kay.ramme 2003-07-16 15:27:04 UTC
Joerg, you may want to fix this.
Comment 2 quetschke 2003-07-16 21:54:04 UTC
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.
Comment 3 quetschke 2003-07-16 22:00:55 UTC
Oops, back to you joerg, I thought we were takling about winenv.bat,
but winenv.bat is OK.
Comment 4 joergbudi 2003-07-20 09:00:35 UTC
Fixed this in the scp-project, waiting for rc3 branch announce to commi
Comment 5 joergbudi 2003-07-20 14:28:28 UTC
fixed with

scp/source/python/winbasic_python.scp, rev. 1.2.46.1
Comment 6 Martin Hollmichel 2004-02-15 07:28:05 UTC
verfied in 1.1.0.
Comment 7 Martin Hollmichel 2004-02-15 07:31:14 UTC
close issue