Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not add Memory or table control #300

Open
OlofBaltus opened this issue Jan 24, 2025 · 0 comments
Open

Can not add Memory or table control #300

OlofBaltus opened this issue Jan 24, 2025 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@OlofBaltus
Copy link

When adding a Memory control or table control, this python error is received. An error occurred during execution of following code:
open_edit_form( _qgis_featureform_2_2, _qgis_layer_Memory_control_daff2229_74bf_4b2e_b7f1_ae199667e23e_2, _qgis_feature_20250124114304693)

Traceback (most recent call last):
File "", line 1, in
File "C:\Users\Olof.Baltus\AppData\Roaming\3Di\QGIS3\profiles\schematisation_editor/python/plugins\threedi_schematisation_editor\utils.py", line 368, in open_edit_form
plugin.layer_manager.populate_edit_form(dialog, layer, feature)
File "C:\Users\Olof.Baltus\AppData\Roaming\3Di\QGIS3\profiles\schematisation_editor/python/plugins\threedi_schematisation_editor\user_layer_manager.py", line 536, in populate_edit_form
self.form_factory.set_layer_form_logic(dialog, layer, feature)
File "C:\Users\Olof.Baltus\AppData\Roaming\3Di\QGIS3\profiles\schematisation_editor/python/plugins\threedi_schematisation_editor\user_layer_forms.py", line 24, in set_layer_form_logic
current_instance = layer_form(self.layer_manager, dialog, layer, feature)
File "C:\Users\Olof.Baltus\AppData\Roaming\3Di\QGIS3\profiles\schematisation_editor/python/plugins\threedi_schematisation_editor\forms\custom_forms.py", line 2151, in init
super().init(*args, *kwargs)
File "C:\Users\Olof.Baltus\AppData\Roaming\3Di\QGIS3\profiles\schematisation_editor/python/plugins\threedi_schematisation_editor\forms\custom_forms.py", line 1357, in init
super().init(*args, *kwargs)
File "C:\Users\Olof.Baltus\AppData\Roaming\3Di\QGIS3\profiles\schematisation_editor/python/plugins\threedi_schematisation_editor\forms\custom_forms.py", line 402, in init
self.setup_tag_widgets()
File "C:\Users\Olof.Baltus\AppData\Roaming\3Di\QGIS3\profiles\schematisation_editor/python/plugins\threedi_schematisation_editor\forms\custom_forms.py", line 438, in setup_tag_widgets
tags_layout.addWidget(self.tags_widget)
AttributeError: 'NoneType' object has no attribute 'addWidget'

Python version:
3.9.18 (heads/master:5eba59e, Feb 1 2024, 20:02:10) [MSC v.1929 64 bit (AMD64)]

QGIS version:
3.34.5-Prizren 'Prizren', 4b308492

Python path:
['C:\Users\Olof.Baltus\AppData\Roaming\3Di\QGIS3\profiles\schematisation_editor\python\plugins\threedi_schematisation_editor\deps\threedi_schema-0.230.1-py3-none-any.whl', 'C:\Users\Olof.Baltus\AppData\Roaming\3Di\QGIS3\profiles\schematisation_editor\python\plugins\threedi_results_analysis\deps', 'C:/PROGRA1/3DIMOD1.34/apps/qgis-ltr/./python', 'C:\Users\Olof.Baltus\AppData\Roaming\3Di\QGIS3\profiles\schematisation_editor/python', 'C:\Users\Olof.Baltus\AppData\Roaming\3Di\QGIS3\profiles\schematisation_editor/python/plugins', 'C:/PROGRA1/3DIMOD1.34/apps/qgis-ltr/./python/plugins', 'C:\PROGRA1\3DIMOD1.34\apps\grass\grass83\etc\python', 'C:\PROGRA1\3DIMOD1.34\bin', 'C:\PROGRA1\3DIMOD1.34\bin\python39.zip', 'C:\PROGRA1\3DIMOD1.34\apps\Python39\DLLs', 'C:\PROGRA1\3DIMOD1.34\apps\Python39\lib', 'C:\Users\olof.baltus\AppData\Roaming\Python\Python39\site-packages', 'C:\PROGRA1\3DIMOD1.34\apps\Python39', 'C:\PROGRA1\3DIMOD1.34\apps\Python39\lib\site-packages', 'C:\PROGRA1\3DIMOD1.34\apps\Python39\lib\site-packages\win32', 'C:\PROGRA1\3DIMOD1.34\apps\Python39\lib\site-packages\win32\lib', 'C:\PROGRA1\3DIMOD1.34\apps\Python39\lib\site-packages\Pythonwin', 'C:\Users\Olof.Baltus\AppData\Roaming\3Di\QGIS3\profiles\schematisation_editor/python']

@OlofBaltus OlofBaltus added the bug Something isn't working label Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants