Closed leendertvanwolfswinkel closed 1 year ago
We recently switched to QGIS 3.28 as our production version. There seems to be a bug in the schematisation editor when using 3.28.
How to reproduce:
The following error occurs:
An error has occurred while executing Python code: TypeError: IndividualLayerSettings.setTypeFlag(): argument 1 has unexpected type 'int' Traceback (most recent call last): File "C:\Users\leendert.vanwolfswin\AppData\Roaming\3Di\QGIS3\profiles\default/python/plugins\threedi_schematisation_editor\user_layer_manager.py", line 134, in on_active_layer_changed self.set_layers_snapping(layer_handler) File "C:\Users\leendert.vanwolfswin\AppData\Roaming\3Di\QGIS3\profiles\default/python/plugins\threedi_schematisation_editor\user_layer_manager.py", line 168, in set_layers_snapping iconf.setTypeFlag(snap_type) TypeError: IndividualLayerSettings.setTypeFlag(): argument 1 has unexpected type 'int' Python version: 3.9.5 (tags/v3.9.5:0a7dcbd, May 3 2021, 17:27:52) [MSC v.1928 64 bit (AMD64)] QGIS version: 3.28.4-Firenze Firenze, fd0fb72ab3 Python Path: C:\Users\leendert.vanwolfswin\AppData\Roaming\3Di\QGIS3\profiles\default\python\plugins\threedi_results_analysis\deps C:\Users\leendert.vanwolfswin\AppData\Roaming\3Di\QGIS3\profiles\default/python/plugins\threedi_beta_processing C:\Users\leendert.vanwolfswin\AppData\Roaming\3Di\QGIS3\profiles\default\python\plugins\ThreeDiToolbox\deps C:/PROGRA~1/3DIMOD~1.28/apps/qgis-ltr/./python C:\Users\leendert.vanwolfswin\AppData\Roaming\3Di\QGIS3\profiles\default/python C:\Users\leendert.vanwolfswin\AppData\Roaming\3Di\QGIS3\profiles\default/python/plugins C:/PROGRA~1/3DIMOD~1.28/apps/qgis-ltr/./python/plugins C:\PROGRA~1\3DIMOD~1.28\bin\python39.zip C:\PROGRA~1\3DIMOD~1.28\apps\Python39\DLLs C:\PROGRA~1\3DIMOD~1.28\apps\Python39\lib C:\PROGRA~1\3DIMOD~1.28\bin C:\Users\leendert.vanwolfswin\AppData\Roaming\Python\Python39\site-packages C:\PROGRA~1\3DIMOD~1.28\apps\Python39 C:\PROGRA~1\3DIMOD~1.28\apps\Python39\lib\site-packages C:\PROGRA~1\3DIMOD~1.28\apps\Python39\lib\site-packages\win32 C:\PROGRA~1\3DIMOD~1.28\apps\Python39\lib\site-packages\win32\lib C:\PROGRA~1\3DIMOD~1.28\apps\Python39\lib\site-packages\Pythonwin C:\Users\leendert.vanwolfswin\AppData\Roaming\3Di\QGIS3\profiles\default/python . C:\Users\leendert.vanwolfswin\AppData\Roaming\3Di\QGIS3\profiles\default\python\plugins\threedi_models_and_simulations\deps\PyJWT-1.7.1-py2.py3-none-any.whl
We recently switched to QGIS 3.28 as our production version. There seems to be a bug in the schematisation editor when using 3.28.
How to reproduce:
The following error occurs: