[Libreoffice-bugs] [Bug 116156] New: Python // officehelper.py misbehaves since 5.3.7
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Sat Mar 3 10:53:23 UTC 2018
https://bugs.documentfoundation.org/show_bug.cgi?id=116156
Bug ID: 116156
Summary: Python // officehelper.py misbehaves since 5.3.7
Product: LibreOffice
Version: 5.3.7.2 release
Hardware: x86-64 (AMD64)
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: LibreOffice
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: pyoffice.romedenne at sfr.fr
Description:
officehelper.py module bootstrap() function does not connect or connects with
annoying msgbox(es) that state that LibreOffice/soffice can't be found.
Works fine with 5.2.3
Steps to Reproduce:
1. Open LibreOffice Python interpreter
2. type " import officehelper as oh "
3. type " oh.bootstrap() "
Actual Results:
Python 3.5.4 (default, Jan 30 2018, 19:34:57) [MSC v.1900 64 bit (AMD64)] on
win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import officehelper as oh
>>> oh.bootstrap()
Traceback (most recent call last):
File "C:\Program Files\LibreOffice 5\program\officehelper.py", line 72, in
bootstrap
xContext = resolver.resolve(sConnect)
uno.NoConnectException: Connector : couldn't connect to pipe
uno5434955891389311(1)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Program Files\LibreOffice 5\program\officehelper.py", line 77, in
bootstrap
raise BootstrapException("Cannot connect to soffice server.", None)
officehelper.BootstrapException: Cannot connect to soffice server.
Expected Results:
Python 3.5.4 (default, Feb 8 2018, 19:35:03) [MSC v.1900 32 bit (Intel)] on
win32
Type "help", "copyright", "credits" or "license" for more information.>>>
import officehelper as oh
>>> oh.bootstrap()
pyuno object (com.sun.star.uno.XInterface)0x47c0dac{,
supportedInterfaces={com.sun.star.uno.XComponentContext,com.sun.star.container.XNameContainer,com.sun.star.lang.XTypeProvider,com.sun.star.uno.XWeak,com.sun.star.lang.XComponent}}
>>>
Reproducible: Always
User Profile Reset: No
Additional Info:
Versions 5.4 & 6.x typically display msgbox(es)
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:58.0) Gecko/20100101
Firefox/58.0
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20180303/2f500f52/attachment.html>
More information about the Libreoffice-bugs
mailing list