Re: [Qgis-developer] symbol.symbolLayer(n) triggers RTTI error in one place, but doesn't in another

2016-11-22 Thread Tom Chadwin
I'm afraid the Windows LTR nightly, with that commit, minidumps on that line now. Removing the line stops the dump. However, I've delved into this a lot further this morning, and I think it's a mistake I made some months ago. The dump no longer happens if I startRender() before it and stopRender()

Re: [Qgis-developer] symbol.symbolLayer(n) triggers RTTI error in one place, but doesn't in another

2016-11-21 Thread Tom Chadwin
Assuming only QGIS imports are relevant, the working code imports iface, while the non-working doesn't. However, importing it doesn't stop the error. - Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon -- View this message in context: http://osgeo-org.1560.x6.nabble.com/symbol-sy

Re: [Qgis-developer] symbol.symbolLayer(n) triggers RTTI error in one place, but doesn't in another

2016-11-21 Thread Tom Chadwin
> different imports Could be. I'll try to check. > different origin of the symbol objects Data in QGIS exactly the same, so I don't think so. > different symbols in use... Definitely not, for the same reason. - Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon -- View this m

Re: [Qgis-developer] symbol.symbolLayer(n) triggers RTTI error in one place, but doesn't in another

2016-11-21 Thread Matthias Kuhn
On 11/21/2016 12:37 PM, Tom Chadwin wrote: > Many thanks. I'd still like to know why the method consistently fails in one > instance, and always works in the other, though. Me too... Random suspicions: different imports, different origin of the symbol objects, different symbols in use... > > Wha

Re: [Qgis-developer] symbol.symbolLayer(n) triggers RTTI error in one place, but doesn't in another

2016-11-21 Thread Tom Chadwin
Many thanks. I'd still like to know why the method consistently fails in one instance, and always works in the other, though. What's the timescale for 2.14.9? Thanks again Tom - Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon -- View this message in context: http://osgeo-org

Re: [Qgis-developer] symbol.symbolLayer(n) triggers RTTI error in one place, but doesn't in another

2016-11-21 Thread Matthias Kuhn
Hi Tom, If we are lucky, 2.14 users also no longer suffer from this issue as of the next nighly build [1] Bests Matthias [1] https://github.com/qgis/QGIS/commit/176987ea0d352ae1b1d2a7bdc0daab176a24c69c On 11/21/2016 12:03 PM, Tom Chadwin wrote: > QGIS 2.18, qgis2web leafletRefactor branch > (h

[Qgis-developer] symbol.symbolLayer(n) triggers RTTI error in one place, but doesn't in another

2016-11-21 Thread Tom Chadwin
QGIS 2.18, qgis2web leafletRefactor branch (https://github.com/tomchadwin/qgis2web/tree/leafletRefactor). - open a point layer - change marker type to SVG - start qgis2web - OpenLayers 3 preview works - click Leaflet in plugin dialog - RTTI error The error is triggered by: sl = symbol.symbolLa