[Qgis-user] Qgis2web errors

René Veldhuizen rene.veldhuizen at casema.nl
Sun May 12 02:03:17 PDT 2019


Hi Paolo,

I will try to figure out where and how I can edit that

cheers,
René Veldhuizen




Op 12 mei 2019, om 10:17 heeft René Veldhuizen <rene.veldhuizen at casema.nl> het volgende geschreven:

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




_______________________________________________
Qgis-user mailing list
Qgis-user at lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20190512/8a46bbb9/attachment.html>


More information about the Qgis-user mailing list