qgis-plugin
qgis-plugin copied to clipboard
Error after update 2022.5
Hi. I had Mergin (qgis plug) version 2022.4.1 installed, both in QGIS 3.22 and 3.26, in windows 10. No problem.
But, after updating the mergin qgis plug to version 2022.5, I had errors when opening the project properties panel, where the GUI becomes unstable and the texts overlap, making it unusable. In fact, the very update of the plug, to version 2022.5, ends with errors, but apparently then it lets you use the mergin and connect to the online account.
I tried a new, clean profile and no more problems, but I can't just use a new profile as the old one worked perfectly with all my settings.
If I go to the plug panel, and deactivate Mergin, the project properties panel works perfectly again.
https://user-images.githubusercontent.com/38449926/178317492-087c9dab-5e7e-4c6f-a76c-afb5415928e3.mp4
SO: windows 10 QGIS: 3.26 / 3.22 (osgeo)
Confirmed on my end too, causing crash whenever I open the project setting dialogs in master build, and cause a display error in 3.24
@bellanz80 Could you please attach a Python Error message which you are getting when this issue occurs?
@bellanz80 Could you please attach a Python Error message which you are getting when this issue occurs?
I got the following on 3.24 when opening the project properties dialog.
File "C:\Users/_/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Mergin\project_settings_widget.py", line 42, in init self.cmb_snapping_mode.addItem("No snapping", 0) AttributeError: 'ProjectConfigWidget' object has no attribute 'cmb_snapping_mode'
And the Mergin tab in the properties dialog doesn't 'contain' anything, the button doesn't seem to trigger a change in the UI.
@ldebek Tried to reinstall the plugin got an error. Somehow the changes in the python file occur, but the changes in the ui files are not there. If I try/except the code related to snapping in the confing class, it works fine.
2022-07-26T22:37:36 WARNING Traceback (most recent call last): File "C:\Users/Luca/AppData/Roaming/QGIS/QGIS3\profiles\ULTIMO 3.16/python/plugins\Mergin\project_settings_widget.py", line 25, in createWidget return ProjectConfigWidget(parent) File "C:\Users/Luca/AppData/Roaming/QGIS/QGIS3\profiles\ULTIMO 3.16/python/plugins\Mergin\project_settings_widget.py", line 42, in init self.cmb_snapping_mode.addItem("No snapping", 0) AttributeError: 'ProjectConfigWidget' object has no attribute 'cmb_snapping_mode'