Hi there!
I started out with the documentation on
http://udk.openoffice.org/python/python-bridge.html
I'm using a gentoo box with OpenOffice 2.2.1. I started OpenOffice using
ooffice -accept=socket,host=localhost,port=2002;urp;
Python tells me after running the hello_world.py-Script:
Hi,
it seems, that the python process cannot find the core typedescription,
they are usually located in the /path/to/office/program/types.rdb. Just
for a test, try
export UNO_TYPES=file:///path/to/office/program/types.rdb
python hello_world.py
(note that /path/to/office is a file url, e.g.
@udk.openoffice.org
Betreff: Re: [udk-dev] PyUno and hello_world.py troubles
Hi,
it seems, that the python process cannot find the core typedescription,
they are usually located in the /path/to/office/program/types.rdb. Just
for a test, try
export UNO_TYPES=file:///path/to/office/program/types.rdb
python