[Libreoffice-bugs] [Bug 126631] New: [REGRESSION] Iterating objects in a slide with an image fails
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Tue Jul 30 21:26:39 UTC 2019
https://bugs.documentfoundation.org/show_bug.cgi?id=126631
Bug ID: 126631
Summary: [REGRESSION] Iterating objects in a slide with an
image fails
Product: LibreOffice
Version: 6.4.0.0.alpha0+ Master
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Impress
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: hi-angel at yandex.ru
Created attachment 153060
--> https://bugs.documentfoundation.org/attachment.cgi?id=153060&action=edit
Script that simply connects to Impress and iterates over 1st slide objects
On current master, if a slide has an image (tested with PNG and JPG), iterating
over slide objects and accessing ShapeType property results in
__main__.RuntimeException: Binary URP bridge disposed during call
# Steps to reproduce:
1. Run `soffice.bin --impress
--accept="socket,host=localhost,port=2002;urp;StarOffice.ServiceManager"` (an
Impress window should appear)
2. Copy this image to the new presentation
https://wiki.documentfoundation.org/images/8/8c/BHS_large_6.3_RC2.png
3. Run the attached script as `python test.py`
## Expected
No output
## Actual
Script fails as:
$ python test.py
Traceback (most recent call last):
File "test.py", line 30, in <module>
[item for item in slide if item.ShapeType ==
'com.sun.star.drawing.TableShape']
File "test.py", line 30, in <listcomp>
[item for item in slide if item.ShapeType ==
'com.sun.star.drawing.TableShape']
__main__.RuntimeException: Binary URP bridge disposed during call
# Additional information
Info for a version without the problem
Version: 6.2.5.2
Build ID: 6.2.5-1
CPU threads: 4; OS: Linux 5.2; UI render: default; VCL: gtk3;
Locale: ru-RU (ru_RU.UTF-8); UI-Language: en-US
Calc: threaded
Info for a version where the problem is present:
Version: 6.4.0.0.alpha0+
Build ID: 236593a0544ea41e37d35b8fac83b31d0e7c5b67
CPU threads: 4; OS: Linux 5.2; UI render: default; VCL: gtk3;
Locale: ru-RU (ru_RU.UTF-8); UI-Language: en-US
Calc: threaded
--
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/20190730/b31a0596/attachment.html>
More information about the Libreoffice-bugs
mailing list