[Qgis-user] Qgis2web errors
Paolo Cavallini
cavallini at faunalia.it
Sun May 12 02:00:04 PDT 2019
Hi,
have you tried changing label format?
Cheers.
Il 12 maggio 2019 10:17:20 CEST, "René Veldhuizen" <rene.veldhuizen at casema.nl> ha scritto:
>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
--
Sorry for being short
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20190512/396e597d/attachment.html>
More information about the Qgis-user
mailing list