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
61 stars 30 forks source link

[Question]: Qgis Desktop plugin > 4.2.7 don't work with Qgis 3.18.3 #587

Closed pieri70 closed 1 week ago

pieri70 commented 1 week ago

What is the question? (in English)

Hello due to lack of human resources we have an old version of Qgis server (3.18.x) and I use qgis 3.18.3 on my desktop to publish projects on our server. Lizmap Web client is 3.5.16

I found the last working Lizmap Plugin with qgis 3.18 is 4.2.7. All other versions, when I click pon the lizmap plugin button, give me a python error like this: WARNING Traceback (most recent call last): File "C:\Users/XXXXXX/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\lizmap\plugin.py", line 5036, in run self.check_webdav() File "C:\Users/XXXXXX/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\lizmap\plugin.py", line 1149, in check_webdav self.webdav.config_project() AttributeError: 'NoneType' object has no attribute 'config_project'

Is it normal? Must I stick to 4.2.7 until we upgrade our qgis server/Lizmap web client? Thanks

Versions, safeguards, check summary etc

Versions :

List of safeguards :
* Mode : normal * Allow parent folder : yes * Number of parent : 2 folder(s) * Prevent other drive : yes * Prevent PG service : yes * Prevent PG Auth DB : yes * Force PG user&pass : yes * Prevent ECW : yes

Check Lizmap plugin

Operating system

Plugin on windows 10 x64

Browsers

Chrome

Browsers version

Opera last version

Relevant log output

WARNING    Traceback (most recent call last):
              File "C:\Users/XXXXXX/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\lizmap\plugin.py", line 5036, in run
              self.check_webdav()
              File "C:\Users/XXXXXX/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\lizmap\plugin.py", line 1149, in check_webdav
              self.webdav.config_project()
             AttributeError: 'NoneType' object has no attribute 'config_project
Gustry commented 1 week ago

Not strictly related to your version of QGIS Desktop, will be fixed in the next version https://github.com/3liz/lizmap-plugin/commit/561c3681526a1f75f227e1b78b29afd145fbb44a

But indeed, QGIS below 3.22 will not be supported soon (and 3.28 just after as well)