Meanwhile I found a solution to my problem: I removed all traces of former 
python installations, removed PYTHONPATH and PYTHONHOME from my enviromnemt, 
then I deinstalled OOo 2.0 and reinstalled it. But this time I selected a 
"custom installation" into a directory that does not contain spaces in the path 
name. Since then, Python now works.

Regards
-- Marcel


>>> [EMAIL PROTECTED] 28.11.2005 >>>
Hi all

I just installed OOo 2.0 german on WinXP and wanted to test the python 
scripting. I tried the instructions at 
http://udk.openoffice.org/python/scriptingframework/index.html 
...

Putting the first example script at the right place did not make it appear, 
however.

Then I tried to open the push_me_python4.odt document, but when I press the 
button, I get a messagebox telling me that python scripting is unsupported (see 
german message below).

At installation time, I told the installer to install everything, and a 
directory pathon-core-2.3.4 directory can be found on my disk drive below 
"c:\Programme\OpenOffice.ort 2.0\program" .

However, I can see that pythonloader.uno.ini has the content

[Bootstrap]
PYTHONHOME=$ORIGIN/python-core
PYTHONPATH=$ORIGIN/python-core-2.3.4/lib $ORIGIN

.....but there is no python-core directory (and, of course, no symlink since 
this runs on WinXP). But changing to PYTHONHOME=$ORIGIN/python-core-2.3.4 dies 
not help.

Is this a known problem? Did anybody succeed in making python scripting work 
under win32? Any help would much be appreciated.

Regards,
-- Marcel

The messagebox says in German: "Ein Scripting Framework Fehler trat während der 
Ausführung von Python script push_me.py$pusmMe auf. Meldung: Die Skriptsprache 
Python wird nicht unterstützt."


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED] 
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to