Re: [QGIS-Developer] plugin causes 2.99 to crash - help?

2018-02-05 Thread Tom Chadwin
Jürgen E. Fischer wrote > So it's far from "drop in"... Understood. Thanks for the info. Tom - Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon -- Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html ___ QGIS-De

Re: [QGIS-Developer] plugin causes 2.99 to crash - help?

2018-02-03 Thread Jürgen E . Fischer
Hi Tom, On Sat, 03. Feb 2018 at 07:03:13 -0700, Tom Chadwin wrote: > Thanks, Juergen. If anyone could point to some instructions for how to drop > in debug versions, that could be really useful in the future (if it's even > possible post-build). You would need to do a debug build of QGIS, that sh

Re: [QGIS-Developer] plugin causes 2.99 to crash - help?

2018-02-03 Thread Tom Chadwin
Thanks, Juergen. If anyone could point to some instructions for how to drop in debug versions, that could be really useful in the future (if it's even possible post-build). Tom - Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon -- Sent from: http://osgeo-org.1560.x6.nabble.com/Q

Re: [QGIS-Developer] plugin causes 2.99 to crash - help?

2018-02-03 Thread Jürgen E . Fischer
Hi Tom, On Fri, 02. Feb 2018 at 03:35:57 -0700, Tom Chadwin wrote: > Is the Qt version in the OSGeo4W dev nightly built with any debug > output/symbols? If not, is there a way I can use such a debug version? There are debug versions of the libraries with pdbs. But the nightlies are built against

Re: [QGIS-Developer] plugin causes 2.99 to crash - help?

2018-02-03 Thread Tom Chadwin
Solved by Salvatore! https://github.com/tomchadwin/qgis2web/pull/612 The culprit was a QWebInspector not being deleted when its parent QWebView/QWebPage was destroyed. Thanks so much! As you can tell, I'd got nowhere trying to solve this. Hopefully no blockers left for qgis2web3 now. Tom ---

Re: [QGIS-Developer] plugin causes 2.99 to crash - help?

2018-02-02 Thread Tom Chadwin
Nyall Dawson wrote > I'd try some workarounds like intercepting the dialog close events I already do that to save some settings: https://github.com/tomchadwin/qgis2web/blob/master/qgis2web/maindialog.py#L573 Thanks to your suggestion, I did some tests, and the overwritten closeEvent function eit

Re: [QGIS-Developer] plugin causes 2.99 to crash - help?

2018-02-01 Thread Nyall Dawson
On 31 January 2018 at 01:21, Tom Chadwin wrote: > Hello all > > I'm converting qgis2web for QGIS3, and a lot of the work is done. However, > the following steps cause QGIS to crash: > > 1. start qgis2web (Github master) > 2. if Leaflet is selected, click "Update preview", otherwise select Leaflet

Re: [QGIS-Developer] plugin causes 2.99 to crash - help?

2018-02-01 Thread Tom Chadwin
Hello all I've narrowed down the qgis2web QGIS3 crash further: - QGIS crashes if the plugin dialog is closed when a Leaflet preview *is currently visible* - QGIS does not crash if the plugin dialog is closed when a Leaflet preview is not currently visible, *even if a Leaflet preview has been tri

[QGIS-Developer] plugin causes 2.99 to crash - help?

2018-01-30 Thread Tom Chadwin
Hello all I'm converting qgis2web for QGIS3, and a lot of the work is done. However, the following steps cause QGIS to crash: 1. start qgis2web (Github master) 2. if Leaflet is selected, click "Update preview", otherwise select Leaflet 3. close the plugin dialog This crashes QGIS (latest nightly