Ticket #465 (new bug)

Opened 4 months ago

Last modified 4 months ago

New code needed to connect to OpenOffice 2.4 server

Reported by: ageslin Assigned to:
Priority: major Milestone:
Component: appy.pod Keywords: pyuno openoffice appy pod
Cc:

Description

Hi I face problems to connect to the latest 2.4 version of the OOo server (but it works fine with previous versions).

I found on the net other users that face the same problem : http://www.oooforum.org/forum/viewtopic.phtml?t=70223&start=0 It seems the new pyuno library needs a different server launch mode and a different client connection code :

self.ooContext = resolver.resolve('uno:pipe,name=pypipe,host=localhost,port=2002;urp;StarOffice.ComponentContext')

I tried this successfully with OOo v2.4 but didn't tested it with previous versions.

Regards Arnaud

PS : I already informed Gaëtan of this, I just put it here for easier tracking.

Change History

09/06/08 11:57:00 changed by sgeulette

Hi, we use openoffice 2.4.1 with appy.pod 0.2.1 on ubuntu 8.0.4

We have installed the following module "apt-get install openoffice.org-headless".

We start oo in server mode with the following command : "/usr/lib/openoffice/program/soffice '-accept=socket,host=localhost,port=2002;urp;StarOffice?.ServiceManager?' -nologo -headless -nofirststartwizard -norestore".

We haven't problem.

Stéphan