[Qgis-user] Qgis2web errors
René Veldhuizen
rene.veldhuizen at casema.nl
Sun May 12 01:17:20 PDT 2019
Hello,
Maybe anyone can solve this problem I encounter when exporting my map using Qgis2web (latest version updated today)
The preview gives me an empty page and in Qgis I get the following error report:
2019-05-12T10:02:29 CRITICAL Traceback (most recent call last):
File "/Users/rene/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/qgis2web/olStyleScripts.py", line 78, in exportStyles
bufferColor, bufferWidth) = getLabelFormat(layer)
File "/Users/rene/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/qgis2web/olStyleScripts.py", line 195, in getLabelFormat
max = 1 / ((1 / max) * 39.37 * 90.7)
ZeroDivisionError: float division by zero
2019-05-12T10:06:26 CRITICAL Traceback (most recent call last):
File "/Users/rene/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/qgis2web/olStyleScripts.py", line 78, in exportStyles
bufferColor, bufferWidth) = getLabelFormat(layer)
File "/Users/rene/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/qgis2web/olStyleScripts.py", line 195, in getLabelFormat
max = 1 / ((1 / max) * 39.37 * 90.7)
ZeroDivisionError: float division by zero
2019-05-12T10:07:02 CRITICAL Traceback (most recent call last):
File "/Users/rene/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/qgis2web/olStyleScripts.py", line 78, in exportStyles
bufferColor, bufferWidth) = getLabelFormat(layer)
File "/Users/rene/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/qgis2web/olStyleScripts.py", line 195, in getLabelFormat
max = 1 / ((1 / max) * 39.37 * 90.7)
ZeroDivisionError: float division by zero
2019-05-12T10:10:05 CRITICAL Traceback (most recent call last):
File "/Users/rene/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/qgis2web/olStyleScripts.py", line 78, in exportStyles
bufferColor, bufferWidth) = getLabelFormat(layer)
File "/Users/rene/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/qgis2web/olStyleScripts.py", line 195, in getLabelFormat
max = 1 / ((1 / max) * 39.37 * 90.7)
ZeroDivisionError: float division by zero
2019-05-12T10:10:40 CRITICAL Traceback (most recent call last):
File "/Users/rene/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/qgis2web/olStyleScripts.py", line 78, in exportStyles
bufferColor, bufferWidth) = getLabelFormat(layer)
File "/Users/rene/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/qgis2web/olStyleScripts.py", line 195, in getLabelFormat
max = 1 / ((1 / max) * 39.37 * 90.7)
ZeroDivisionError: float division by zero
Qgis version 3.6.2 Noosa
OS: MacOS Mojave 10.14.4
Any suggestion highly appreciated
regards,
René Veldhuizen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20190512/dfd55450/attachment.html>
More information about the Qgis-user
mailing list