Experimental Lizmap Plugin 5.0.0-alpha.1

Hi everyone,

We have released a Lizmap Plugin experimental version 5.0.0-alpha.1. It is available on plugins.qgis.org. You can download it https://plugins.qgis.org/plugins/lizmap/#plugin-versions and install the zip file or enable experimental in your plugin manager.

This version contains controls for the futur Lizmap Web Client 3.10.

Regards

1 Like

Hi everyone,

We have releases a new Lizmap Plugin experimental 5.0.0-alpha.2.

Thanks to @meyerlor to find and fix an issue.

2 Likes

Awesome! I’ve been wanting to be able to expand/collapse layer groups in the plugin for years. And the filter function makes it even better!
It makes my daily work much easier, especially when I have a lot of layers.

I’m getting an error message:

AttributeError: type object ‘LwcVersions’ has no attribute ‘find_from_metadata’

Traceback (most recent call last):
  File "C:\Users/wagne/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\lizmap\dialogs\main.py", line 1336, in panel_changed
    self.plausible.request_stat_event()
  File "C:\Users/wagne/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\lizmap\plausible.py", line 85, in request_stat_event
    if self._send_stat_event(metadata, qgis_server_version):
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users/wagne/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\lizmap\plausible.py", line 158, in _send_stat_event
    lwc_version_branch = LwcVersions.find_from_metadata(current_metadata)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: type object 'LwcVersions' has no attribute 'find_from_metadata'

But everything seems to be working fine.

Thanks for the feedback.

As a temporary version, you can install https://packages.3liz.org/pub/plugins/lizmap/lizmap.5.0.0-alpha.3-pre.zip

Thanks for the quick update. Now I’m getting this error:

ValueError: invalid literal for int() with base 10: ‘3-pre’

Traceback (most recent call last):
  File "C:\Users/wagne/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\lizmap\plugin.py", line 5549, in run
    self.update_plugin = plugin_manager.current_plugin_needs_update()
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users/wagne/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\lizmap\plugin_manager.py", line 85, in current_plugin_needs_update
    current_version = ServerManager.split_lizmap_version(current_version)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users/wagne/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\lizmap\server_lwc.py", line 1158, in split_lizmap_version
    int(lizmap_version_split[3]),
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: invalid literal for int() with base 10: '3-pre'

and cannot run the plugin

You can reload the zip file and reinstall it

Thanks, now it works without error messages.