https://bugs.documentfoundation.org/show_bug.cgi?id=91937

            Bug ID: 91937
           Summary: Cannot instantiate UNO Bridge
           Product: LibreOffice
           Version: 4.4.3.2 rc
          Hardware: x86-64 (AMD64)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: major
          Priority: medium
         Component: LibreOffice
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: smau...@my.trine.edu

With Libreoffice 4.4.3.2, the python URE bridge is broken on windows 7

Using the provided python in Libreoffice, the following code fails:

import uno
import unohelper

localContext = uno.getComponentContext()
resolver = localContext.getServiceManager().createInstanceWithContext(
                "com.sun.star.bridge.UnoUrlResolver", localContext )
remote_ctx = resolver.resolve(
"uno:pipe,name=hello;urp;StarOffice.ComponentContext" )
smgr = remote_ctx.getServiceManager()
desktop = smgr.createInstanceWithContext(
"com.sun.star.frame.Desktop",remote_ctx)
print(dir(desktop))

Note that it does not make a difference if a pipe or a socket is used.

soffice verified to be running the background

Additionally, the following:

uno.getConstantByName('com.sun.star.i18n.NumberFormatIndex.TEXT')

Throws a runtime exception. This works on linux, unsure what the issue is
without knowing a lot about the UNO bridge.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to