Seems like it works well on another machine ...
Maybe it's just this one machine which has issues.

Best wishes,
Anita




On Mon, Mar 14, 2016 at 9:32 PM, Anita Graser <[email protected]> wrote:

>
>
> On Mon, Mar 14, 2016 at 9:08 PM, Tom Chadwin <[email protected]>
> wrote:
>
>> Hrm. I wonder if Luigi is right. Try running it with the Python console
>> open.
>> If it still doesn't work, can you try commenting out the print line? It's
>> just for debugging. Thanks for testing. Very much appreciated.
>>
>
> ​Right, with the console open, I get no error in the plugin map preview
> are and the following output on the QGIS python console:
>
> Python Console
> Use iface to access QGIS API interface or Type help(iface) for more info
> Traceback (most recent call last):
>   File "C:/Users/anita/.qgis2/python/plugins\qgis2web\utils.py", line 219,
> in is25d
>     symbol = renderer.symbolForFeature(feature)
> TypeError: Qgs25DRenderer.symbolForFeature(QgsFeature, QgsRenderContext):
> not enough arguments
>
> Traceback (most recent call last):
>   File "C:/Users/anita/.qgis2/python/plugins\qgis2web\utils.py", line 219,
> in is25d
>     symbol = renderer.symbolForFeature(feature)
> TypeError: Qgs25DRenderer.symbolForFeature(QgsFeature, QgsRenderContext):
> not enough arguments
>
> Traceback (most recent call last):
>   File "C:/Users/anita/.qgis2/python/plugins\qgis2web\utils.py", line 219,
> in is25d
>     symbol = renderer.symbolForFeature(feature)
> TypeError: Qgs25DRenderer.symbolForFeature(QgsFeature, QgsRenderContext):
> not enough arguments
>
> Traceback (most recent call last):
>   File "C:/Users/anita/.qgis2/python/plugins\qgis2web\utils.py", line 219,
> in is25d
>     symbol = renderer.symbolForFeature(feature)
> TypeError: Qgs25DRenderer.symbolForFeature(QgsFeature, QgsRenderContext):
> not enough arguments
>
> Traceback (most recent call last):
>   File "C:/Users/anita/.qgis2/python/plugins\qgis2web\utils.py", line 219,
> in is25d
>     symbol = renderer.symbolForFeature(feature)
> TypeError: Qgs25DRenderer.symbolForFeature(QgsFeature, QgsRenderContext):
> not enough arguments​
>
>
> Commenting out the print statement also gets rid of the error in the
> webview.
>
>
> These are the errors I get in the plugin webview console:
>
>
> https://www.dropbox.com/s/7yzx09zeycdi7w9/Screenshot%202016-03-14%2021.30.16.png?dl=0
>
>
> https://www.dropbox.com/s/fjlvtwykxxq5fdg/Screenshot%202016-03-14%2021.30.12.png?dl=0
>
>
> Best wishes,
> Anita
>
>
>
_______________________________________________
Qgis-user mailing list
[email protected]
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to