[Libreoffice-bugs] [Bug 142692] New: Python script connecting to LO instance fails

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Jun 7 01:30:29 UTC 2021


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

            Bug ID: 142692
           Summary: Python script connecting to LO instance fails
           Product: LibreOffice
           Version: 7.2.0.0.alpha0+
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Keywords: bibisected, bisected, regression
          Severity: normal
          Priority: medium
         Component: framework
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: baron at caesar.elte.hu
                CC: ilmari.lauhakangas at libreoffice.org,
                    noelgrandin at gmail.com
            Blocks: 127593

Follow steps from bug 126582, copied below slightly modified:

1. Run LO Impress as `soffice --impress
--accept="socket,host=localhost,port=2002;urp;StarOffice.ServiceManager"`
2. Dismiss a "Template" window, so you're left with a new presentation of a
single slide
3. Run the attached python script, attachment 153018 (it creates 2 new slides
and puts a text on them)

=> Error when connecting to LO:
...
  File "test.py", line 16, in connectToLO
    return (desktop.CurrentComponent, smgr)
__main__.RuntimeException: Binary URP bridge disposed during call

Observed in LO 7.2.0.0.alpha1+ (e96554b67b17f9d3d91b0bb1f29ab0b9cdc43dcb) /
Ubuntu.
No issue in 7.1.0.3.

This is a regression from the following commit. Adding CC: to Noel Grandin.

https://cgit.freedesktop.org/libreoffice/core/commit/?id=857caa5fc69b92e781457a1b67a89aa051c2d70f
author          Noel Grandin <noel at peralex.com> 2021-04-30 13:00:35 +0200
committer       Noel Grandin <noel.grandin at collabora.co.uk>     2021-04-30
16:03:35 +0200

tdf#79049 speed up OOXML workbook load


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=127593
[Bug 127593] [META] Python Macro bugs
-- 
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/20210607/c8741e73/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list