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@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to