Unable to connect with pipes, python-uno [closed]

asked 2012-03-16 21:43:33 +0200

nsp gravatar image

I can connect with sockets just fine, but I heard that using pipes is faster when everything is local, so I wanted to try it out, but I can't get a connection.

I start Libre with

 > soffice --headless --invisible --norestore --nodefault --nolockcheck --nofirstwizard --accept='pipe,name=ooo_pipe;urp;'

And the bare minimum python script that should work but doesn't is

import uno
from com.sun.star.connection import NoConnectException

pipe = 'ooo_pipe'
localContext = uno.getComponentContext()
resolver = localContext.ServiceManager.createInstanceWithContext("com.sun.star.bridge.UnoUrlResolver", localContext)
context = resolver.resolve("uno:pipe,name=%s;urp;StarOffice.ComponentContext" % pipe)
edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by qubit
close date 2013-02-28 21:54:06.372081

Comments

Hi @nsp, Did you find an answer for your question? Thanks!

qubit gravatar imagequbit ( 2013-01-25 08:49:40 +0200 )edit