Bug 432340 - python scripts don't work (with pyuno installed)
Summary: python scripts don't work (with pyuno installed)
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: openoffice.org
Version: 8
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Caolan McNamara
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-02-11 13:28 UTC by Bryan Cole
Modified: 2008-02-15 09:56 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-02-15 09:56:10 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Bryan Cole 2008-02-11 13:28:15 UTC
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):
2.3.0

How reproducible:

always

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.
  
Actual results:

No python macros are listed at all. I have pyuno installed.

Expected results:

There *should* be at least the default macros listed: "helloWorlPython",
"capitalisePython" etc. I've verified these files are on my system.

Additional info:

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.

Comment 1 Caolan McNamara 2008-02-13 10:08:41 UTC
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)"
in writer

openoffice.org-pyuno-2.3.0-6.11.fc8
python-2.5.1-15.fc8

Comment 2 Caolan McNamara 2008-02-15 09:56:10 UTC
Not reproducible for me


Note You need to log in before you can comment on or make changes to this bug.