<div dir="auto">Do you have any clue about why this issue is not always reproducible?<div dir="auto"><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Sun, Sep 23, 2018, 11:27 Nyall Dawson <<a href="mailto:nyall.dawson@gmail.com">nyall.dawson@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Fri, 21 Sep 2018 at 23:20, Raymond Nijssen <<a href="mailto:r.nijssen@terglobo.nl" target="_blank" rel="noreferrer">r.nijssen@terglobo.nl</a>> wrote:<br>
<br>
> which doesn't work anymore, because there is no setText() function on a<br>
> QgsLayoutItem. Has anything changed recently? Does any one know a solution?<br>
<br>
Nothing has changed recently -- this has always been fragile, and the<br>
bug lies deep within the library used to create the Python bindings.<br>
<br>
See e.g.<br>
<br>
<a href="http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-QgsLayout-itemById-returns-wrong-object-td5350947.html" rel="noreferrer noreferrer" target="_blank">http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-QgsLayout-itemById-returns-wrong-object-td5350947.html</a><br>
<br>
for a workaround<br>
<br>
Nyall<br>
<br>
Nyall<br>
<br>
><br>
> Regards,<br>
> Raymond<br>
> _______________________________________________<br>
> QGIS-Developer mailing list<br>
> <a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank" rel="noreferrer">QGIS-Developer@lists.osgeo.org</a><br>
> List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
> Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
_______________________________________________<br>
QGIS-Developer mailing list<br>
<a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank" rel="noreferrer">QGIS-Developer@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></blockquote></div>