<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi,<br>have you tried changing label format?<br>Cheers.<br><br><div class="gmail_quote">Il 12 maggio 2019 10:17:20 CEST, "RenĂ© Veldhuizen" <rene.veldhuizen@casema.nl> ha scritto:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hello,<div class=""><br class=""></div><div class="">Maybe anyone can solve this problem I encounter when exporting my map using Qgis2web (latest version updated today)</div><div class=""><br class=""></div><div class="">The preview gives me an empty page and in Qgis I get the following error report:</div><div class=""><br class=""></div><div class=""><div style="margin: 0px;" class=""><!--StartFragment--><span style=" color:#c80000;" class="">2019-05-12T10:02:29     CRITICAL    </span>Traceback (most recent call last):<br class="">              File "/Users/rene/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/qgis2web/olStyleScripts.py", line 78, in exportStyles<br class="">              bufferColor, bufferWidth) = getLabelFormat(layer)<br class="">              File "/Users/rene/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/qgis2web/olStyleScripts.py", line 195, in getLabelFormat<br class="">              max = 1 / ((1 / max) * 39.37 * 90.7)<br class="">             ZeroDivisionError: float division by zero<br class="">             </div><div style="margin: 0px;" class=""><span style=" color:#c80000;" class="">2019-05-12T10:06:26     CRITICAL    </span>Traceback (most recent call last):<br class="">              File "/Users/rene/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/qgis2web/olStyleScripts.py", line 78, in exportStyles<br class="">              bufferColor, bufferWidth) = getLabelFormat(layer)<br class="">              File "/Users/rene/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/qgis2web/olStyleScripts.py", line 195, in getLabelFormat<br class="">              max = 1 / ((1 / max) * 39.37 * 90.7)<br class="">             ZeroDivisionError: float division by zero<br class="">             </div><div style="margin: 0px;" class=""><span style=" color:#c80000;" class="">2019-05-12T10:07:02     CRITICAL    </span>Traceback (most recent call last):<br class="">              File "/Users/rene/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/qgis2web/olStyleScripts.py", line 78, in exportStyles<br class="">              bufferColor, bufferWidth) = getLabelFormat(layer)<br class="">              File "/Users/rene/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/qgis2web/olStyleScripts.py", line 195, in getLabelFormat<br class="">              max = 1 / ((1 / max) * 39.37 * 90.7)<br class="">             ZeroDivisionError: float division by zero<br class="">             </div><div style="margin: 0px;" class=""><span style=" color:#c80000;" class="">2019-05-12T10:10:05     CRITICAL    </span>Traceback (most recent call last):<br class="">              File "/Users/rene/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/qgis2web/olStyleScripts.py", line 78, in exportStyles<br class="">              bufferColor, bufferWidth) = getLabelFormat(layer)<br class="">              File "/Users/rene/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/qgis2web/olStyleScripts.py", line 195, in getLabelFormat<br class="">              max = 1 / ((1 / max) * 39.37 * 90.7)<br class="">             ZeroDivisionError: float division by zero<br class="">             </div><div style="margin: 0px;" class=""><span style=" color:#c80000;" class="">2019-05-12T10:10:40     CRITICAL    </span>Traceback (most recent call last):<br class="">              File "/Users/rene/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/qgis2web/olStyleScripts.py", line 78, in exportStyles<br class="">              bufferColor, bufferWidth) = getLabelFormat(layer)<br class="">              File "/Users/rene/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/qgis2web/olStyleScripts.py", line 195, in getLabelFormat<br class="">              max = 1 / ((1 / max) * 39.37 * 90.7)<br class="">             ZeroDivisionError: float division by zero<!--EndFragment--></div><div class="">
<div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; font-size: 12px;"><br class="Apple-interchange-newline">Qgis version 3.6.2 Noosa</div><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; font-size: 12px;">OS: MacOS Mojave 10.14.4</div><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; font-size: 12px;"><br class=""></div><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; font-size: 12px;">Any suggestion highly appreciated</div><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; font-size: 12px;"><br class=""></div><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; font-size: 12px;">regards,</div><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; font-size: 12px;">RenĂ© Veldhuizen</div><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; font-size: 12px;"><br class=""></div><br class="Apple-interchange-newline" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; font-size: 13px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;"><br class="Apple-interchange-newline">
</div>
<br class=""></div></blockquote></div><br>-- <br>Sorry for being short</body></html>