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'
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'