[Qgis-developer] JS error in QtWebKit.QWebView - no error in IE11 or Chrome/Win

Tom Chadwin tom.chadwin at nnpa.org.uk
Thu Jan 21 07:22:38 PST 2016


qgis2web's preview pane is a QWebView. OpenLayers 3.13.0 has just been
released. I've tried upgrading qgis2web's OpenLayers to that version, but
the preview stops working. I found instructions for how to redirect the
QWebView's console output to the QGIS Python console. The (not very
meaningful) error I am getting is:

WARNING:root:JS undefined:0
TypeError: 'undefined' is not a function

However, if I export instead of previewing, and open the file in IE11 or
Chrome/Win, I get no error. If I revert qgis2web to OL3.12.1, it starts
working again.

Can anyone help me fix this? I've filed an issue at:

https://github.com/tomchadwin/qgis2web/issues/176

Thanks

Tom



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/JS-error-in-QtWebKit-QWebView-no-error-in-IE11-or-Chrome-Win-tp5246541.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.


More information about the Qgis-developer mailing list