3liz / lizmap-plugin

Lizmap plugin for QGIS, allowing to publish QGIS maps to Lizmap Web Client
https://www.lizmap.com/
GNU General Public License v2.0
63 stars 31 forks source link

[Bug]: QgsProjectServerValidator is not defined #593

Closed nicolalopatriello closed 4 months ago

nicolalopatriello commented 4 months ago

What is the bug?

When clicking on "ok" button in "Lizmap" plugin in Qgis Desktop app i receive errors as described (python error tab).

Versions, safeguards, checks summary etc

Versions :

Error on Ok button (python error tab): 2024-07-17T17:38:51 WARNING Traceback (most recent call last): File "/home/biadmin/.local/share/QGIS/QGIS3/profiles/default/python/plugins/lizmap/plugin.py", line 3587, in ok_button_clicked if not self.save_cfg_file_cursor(): File "/home/biadmin/.local/share/QGIS/QGIS3/profiles/default/python/plugins/lizmap/plugin.py", line 3596, in save_cfg_file_cursor return self.save_cfg_file() File "/home/biadmin/.local/share/QGIS/QGIS3/profiles/default/python/plugins/lizmap/plugin.py", line 3701, in save_cfg_file validator = QgsProjectServerValidator() NameError: name 'QgsProjectServerValidator' is not defined

2024-07-17_17-39

Check Lizmap plugin

Gustry commented 4 months ago

Lizmap plugin : 4.0.2

This version is very outdated and QGIS 3.10 is not supported anymore.

QGIS Desktop : 3.10.4 QGIS Server : 3.28.13

Please use the same version. It's also known that QGIS Server 3.28 can't read a QGIS Desktop 3.10 about symbology.