I´m facing this error when running the de Mappia Qgis plugin. Is there some tip to solve this?
Using last 3.34.7 Qgis and 2.10.0 Mappia plugin versions.
Regards.
Started: Verify the input options.
Please wait: downloading a portable Git client. (Needed to communicate with Github).
Executable downloaded, now extracting it to a temporary folder.
Elapsed 14s on this step.
Automatic Step: Checking remote repository.
Automatic Step: Checking git executable.
C:\Users\Nelson\AppData\Local\Temp\tmpptljc73o\portablegit\mingw64\bin\git.exe
Automatic Step: Configuring git parameters.
Creating a new repository: gt_pref
Please wait, creating repository and waiting some seconds to github update.
Initializing repository.
Cloning git repository: https://github.com/nelsonjlle/gt_pref/
Please wait, it will download all maps in your repository. 0(kb)
Elapsed 3s on this step.
Actual branch: master
Creating README file.
Commiting README file to repository.
Creating a new branch
Pushing changes to remote repository.
Elapsed 2s on this step.
Git: Pulling remote repository current state.
Elapsed 1s on this step.
Before fetch changes.
Elapsed 1s on this step.
Git: Doing checkout.
Elapsed 0s on this step.
Git: Checking out changes.
Automatic Step: Saving option changes.
Automatic Step: Changes Saved.
Ok, all inputs are valid.
This step can take a long time, and despite the job is going, sometime the interface can freezes.
The job is still going, please wait and do not close the application until it finishes.
Error, publication failed! Reporting error to Mappia development team.
Traceback (most recent call last):
File "C:\Users/Nelson/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\mappia_publisher\mappia_publisher_algorithm.py", line 838, in processAlgorithm
return self.generate(writer, parameters, context, feedback)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users/Nelson/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\mappia_publisher\mappia_publisher_algorithm.py", line 594, in generate
metatilesCount = self.getTotalTiles(wgs_crs, min_zoom, max_zoom, layers)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users/Nelson/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\mappia_publisher\mappia_publisher_algorithm.py", line 535, in getTotalTiles
metatiles_by_zoom = self.createLayerMetatiles(wgs_crs, layer, min_zoom, max_zoom)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users/Nelson/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\mappia_publisher\mappia_publisher_algorithm.py", line 528, in createLayerMetatiles
metatiles = get_metatiles(mapExtentReprojected, zoom, metatilesize)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users/Nelson/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\mappia_publisher\mappia_publisher_algorithm.py", line 104, in get_metatiles
left_tile, top_tile = UTILS.deg2num(extent.yMaximum(), extent.xMinimum(), zoom)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users/Nelson/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\mappia_publisher\UTILS.py", line 210, in deg2num
xtile = int(max((lon_deg + 180.0) / 360.0 * n, 0))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
OverflowError: cannot convert float infinity to integer
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users/Nelson/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\mappia_publisher\mappia_publisher_algorithm.py", line 843, in processAlgorithm
raise Exception(self.removeConfidential(str(e)))
Exception: cannot convert float infinity to integer
Execution failed after 63.83 segundos (1 minuto 4 segundos)
Carregando camada resultante
Algoritmo 'Share your maps' finalizado
Versão do QGIS: 3.34.7-Prizren
Código de revisão do QGIS: 6f7d735c
Versão do Qt: 5.15.13
Versão do Python: 3.12.3
Versão do GDAL: 3.9.0
Versão do GEOS: 3.12.1-CAPI-1.18.1
Versão do PROJ: Rel. 9.4.0, March 1st, 2024
Versão PDAL: 2.6.3 (git-version: b5523a)
I´m facing this error when running the de Mappia Qgis plugin. Is there some tip to solve this? Using last 3.34.7 Qgis and 2.10.0 Mappia plugin versions. Regards.
Algoritmo 'Share your maps' iniciando… Entrada de parâmetros: { 'GITHUB_REPOSITORY' : 'gt_pref', 'LAYERS' : ['Y:/ENG/Base/qfield/gt_pref/gt_pref.gpkg|layername=base_muriao','wms://crs=EPSG:3857&format&type=xyz&url=http://tile.openstreetmap.org/%7Bz%7D/%7Bx%7D/%7By%7D.png&zmax=19&zmin=0','wms://crs=EPSG:3857&format&type=xyz&url=https://mt1.google.com/vt/lyrs%3Dy%26x%3D%7Bx%7D%26y%3D%7By%7D%26z%3D%7Bz%7D&zmax=20&zmin=0'], 'ZOOM_MAX' : 10, 'INCLUDE_DOWNLOAD' : True, 'GIT_EXECUTABLE' : '', 'GITHUB_USER' : 'nelsonjlle', 'ASK_USER' : False, 'OUTPUT_DIRECTORY' : 'Y:\ENG\Base\qfield\gt_pref\exp_mappia_local' }
Started: Verify the input options. Please wait: downloading a portable Git client. (Needed to communicate with Github). Executable downloaded, now extracting it to a temporary folder. Elapsed 14s on this step. Automatic Step: Checking remote repository. Automatic Step: Checking git executable. C:\Users\Nelson\AppData\Local\Temp\tmpptljc73o\portablegit\mingw64\bin\git.exe Automatic Step: Configuring git parameters. Creating a new repository: gt_pref Please wait, creating repository and waiting some seconds to github update. Initializing repository. Cloning git repository: https://github.com/nelsonjlle/gt_pref/ Please wait, it will download all maps in your repository. 0(kb) Elapsed 3s on this step. Actual branch: master Creating README file. Commiting README file to repository. Creating a new branch Pushing changes to remote repository. Elapsed 2s on this step. Git: Pulling remote repository current state. Elapsed 1s on this step. Before fetch changes. Elapsed 1s on this step. Git: Doing checkout. Elapsed 0s on this step. Git: Checking out changes. Automatic Step: Saving option changes. Automatic Step: Changes Saved. Ok, all inputs are valid. This step can take a long time, and despite the job is going, sometime the interface can freezes. The job is still going, please wait and do not close the application until it finishes. Error, publication failed! Reporting error to Mappia development team. Traceback (most recent call last): File "C:\Users/Nelson/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\mappia_publisher\mappia_publisher_algorithm.py", line 838, in processAlgorithm return self.generate(writer, parameters, context, feedback) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users/Nelson/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\mappia_publisher\mappia_publisher_algorithm.py", line 594, in generate metatilesCount = self.getTotalTiles(wgs_crs, min_zoom, max_zoom, layers) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users/Nelson/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\mappia_publisher\mappia_publisher_algorithm.py", line 535, in getTotalTiles metatiles_by_zoom = self.createLayerMetatiles(wgs_crs, layer, min_zoom, max_zoom) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users/Nelson/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\mappia_publisher\mappia_publisher_algorithm.py", line 528, in createLayerMetatiles metatiles = get_metatiles(mapExtentReprojected, zoom, metatilesize) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users/Nelson/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\mappia_publisher\mappia_publisher_algorithm.py", line 104, in get_metatiles left_tile, top_tile = UTILS.deg2num(extent.yMaximum(), extent.xMinimum(), zoom) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users/Nelson/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\mappia_publisher\UTILS.py", line 210, in deg2num xtile = int(max((lon_deg + 180.0) / 360.0 * n, 0)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ OverflowError: cannot convert float infinity to integer
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "C:\Users/Nelson/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\mappia_publisher\mappia_publisher_algorithm.py", line 843, in processAlgorithm raise Exception(self.removeConfidential(str(e))) Exception: cannot convert float infinity to integer
Execution failed after 63.83 segundos (1 minuto 4 segundos)
Carregando camada resultante Algoritmo 'Share your maps' finalizado Versão do QGIS: 3.34.7-Prizren Código de revisão do QGIS: 6f7d735c Versão do Qt: 5.15.13 Versão do Python: 3.12.3 Versão do GDAL: 3.9.0 Versão do GEOS: 3.12.1-CAPI-1.18.1 Versão do PROJ: Rel. 9.4.0, March 1st, 2024 Versão PDAL: 2.6.3 (git-version: b5523a)