Red Hat Bugzilla – Bug 432340
python scripts don't work (with pyuno installed)
Last modified: 2008-02-15 04:56:10 EST
Description of problem:
python scripts for openofice don't work in-process i.e. The default python
scripts included with the pyuno package do not appear in the OOo python
macros list. Any
Version-Release number of selected component (if applicable):
Steps to Reproduce:
0. Install OpenOffice + Pyuno package
1. Open a writer document.
2. Select Tools->Macros->Organise Macros->Python...
3. Browse list to check if any python macros are available.
No python macros are listed at all. I have pyuno installed.
There *should* be at least the default macros listed: "helloWorlPython",
"capitalisePython" etc. I've verified these files are on my system.
Note, the pyuno python package can be used out-of-process. This works fine
(communication happens with OOo via a socket). However, calling python from
in-process using the OOo GUI is broken.
Pyuno works fine using the vanilla OOo-2.3.1 from the openoffice.org site. This
problem is specific to the Fedora build.
I have no such problem here on F8. With openoffice.org-pyuno-2.3.0-6.11.fc8 I
have tools->macros->organize macros->python->openoffice.org Macros with
Capitalise, HelloWorld and TableSample visible, expanding HelloWorld gives
HelloWorldPython and run gives the expected output of "Hello World (in Python)"
Not reproducible for me