<div dir="ltr"><div class="gmail_default" style="font-size:small">Seems like it works well on another machine ...</div><div class="gmail_default" style="font-size:small">Maybe it's just this one machine which has issues.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Best wishes,</div><div class="gmail_default" style="font-size:small">Anita</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 14, 2016 at 9:32 PM, Anita Graser <span dir="ltr"><<a href="mailto:anitagraser@gmx.at" target="_blank">anitagraser@gmx.at</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Mon, Mar 14, 2016 at 9:08 PM, Tom Chadwin <span dir="ltr"><<a href="mailto:tom.chadwin@nnpa.org.uk" target="_blank">tom.chadwin@nnpa.org.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hrm. I wonder if Luigi is right. Try running it with the Python console open.<br>
If it still doesn't work, can you try commenting out the print line? It's<br>
just for debugging. Thanks for testing. Very much appreciated.<br></blockquote><div><br></div></span><div><div class="gmail_default" style="font-size:small">Right, with the console open, I get no error in the plugin map preview are and the following output on the QGIS python console:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default">Python Console </div><div class="gmail_default">Use iface to access QGIS API interface or Type help(iface) for more info</div><span class=""><div class="gmail_default">Traceback (most recent call last):</div></span><div class="gmail_default"> File "C:/Users/anita/.qgis2/python/plugins\qgis2web\utils.py", line 219, in is25d</div><div class="gmail_default"> symbol = renderer.symbolForFeature(feature)</div><span class=""><div class="gmail_default">TypeError: Qgs25DRenderer.symbolForFeature(QgsFeature, QgsRenderContext): not enough arguments</div><div class="gmail_default"><br></div></span><span class=""><div class="gmail_default">Traceback (most recent call last):</div></span><div class="gmail_default"> File "C:/Users/anita/.qgis2/python/plugins\qgis2web\utils.py", line 219, in is25d</div><div class="gmail_default"> symbol = renderer.symbolForFeature(feature)</div><span class=""><div class="gmail_default">TypeError: Qgs25DRenderer.symbolForFeature(QgsFeature, QgsRenderContext): not enough arguments</div><div class="gmail_default"><br></div></span><span class=""><div class="gmail_default">Traceback (most recent call last):</div></span><div class="gmail_default"> File "C:/Users/anita/.qgis2/python/plugins\qgis2web\utils.py", line 219, in is25d</div><div class="gmail_default"> symbol = renderer.symbolForFeature(feature)</div><span class=""><div class="gmail_default">TypeError: Qgs25DRenderer.symbolForFeature(QgsFeature, QgsRenderContext): not enough arguments</div><div class="gmail_default"><br></div></span><span class=""><div class="gmail_default">Traceback (most recent call last):</div></span><div class="gmail_default"> File "C:/Users/anita/.qgis2/python/plugins\qgis2web\utils.py", line 219, in is25d</div><div class="gmail_default"> symbol = renderer.symbolForFeature(feature)</div><span class=""><div class="gmail_default">TypeError: Qgs25DRenderer.symbolForFeature(QgsFeature, QgsRenderContext): not enough arguments</div><div class="gmail_default"><br></div></span><span class=""><div class="gmail_default">Traceback (most recent call last):</div></span><div class="gmail_default"> File "C:/Users/anita/.qgis2/python/plugins\qgis2web\utils.py", line 219, in is25d</div><div class="gmail_default"> symbol = renderer.symbolForFeature(feature)</div><span class=""><div class="gmail_default">TypeError: Qgs25DRenderer.symbolForFeature(QgsFeature, QgsRenderContext): not enough arguments<span style="font-size:small"></span></div><div class="gmail_default"><span style="font-size:small"><br></span></div><div class="gmail_default"><span style="font-size:small"><br></span></div></span><div class="gmail_default"><span style="font-size:small">Commenting out the print statement also gets rid of the error in the webview.</span></div><div class="gmail_default"><span style="font-size:small"><br></span></div><div class="gmail_default"><span style="font-size:small"><br></span></div><div class="gmail_default"><span style="font-size:small">These are the errors I get in the plugin webview console:</span></div><div class="gmail_default"><span style="font-size:small"><br></span></div><div class="gmail_default"><a href="https://www.dropbox.com/s/7yzx09zeycdi7w9/Screenshot%202016-03-14%2021.30.16.png?dl=0" target="_blank">https://www.dropbox.com/s/7yzx09zeycdi7w9/Screenshot%202016-03-14%2021.30.16.png?dl=0</a><br></div><div class="gmail_default"><br></div><div class="gmail_default"><a href="https://www.dropbox.com/s/fjlvtwykxxq5fdg/Screenshot%202016-03-14%2021.30.12.png?dl=0" target="_blank">https://www.dropbox.com/s/fjlvtwykxxq5fdg/Screenshot%202016-03-14%2021.30.12.png?dl=0</a><br></div><div class="gmail_default"><br></div><div class="gmail_default"><br></div><div class="gmail_default">Best wishes,</div><div class="gmail_default">Anita</div><div class="gmail_default"><span style="font-size:small"><br></span></div><div class="gmail_default"><br></div></div></div></div></div>
</blockquote></div><br></div>