-
-
Notifications
You must be signed in to change notification settings - Fork 59
Closed
Labels
bugAn identified bugAn identified bug
Description
Help me out here, please. After connecting some data source GeoPackage file, when I try to open the QuickOSM Query window from the toolbar, it shows "Python error: An error has occurred while executing Python code: See message log (Python Error) for more details." followed by Stack trace and View message log button. When I click on Stack trace, it shows:
An error has occurred while executing Python code:
AttributeError: 'tuple' object has no attribute 'label'
Traceback (most recent call last):
File "/home/ashik/.local/share/QGIS/QGIS3/profiles/default/python/plugins/QuickOSM/quick_osm.py", line 253, in open_dialog
dialog = Dialog()
^^^^^^^^
File "/home/ashik/.local/share/QGIS/QGIS3/profiles/default/python/plugins/QuickOSM/ui/dialog.py", line 205, in __init__
panel.setup_panel()
File "/home/ashik/.local/share/QGIS/QGIS3/profiles/default/python/plugins/QuickOSM/ui/quick_query_panel.py", line 69, in setup_panel
super().setup_panel()
File "/home/ashik/.local/share/QGIS/QGIS3/profiles/default/python/plugins/QuickOSM/ui/base_overpass_panel.py", line 43, in setup_panel
super().setup_panel()
File "/home/ashik/.local/share/QGIS/QGIS3/profiles/default/python/plugins/QuickOSM/ui/base_processing_panel.py", line 83, in setup_panel
Format.GeoPackage.value.label, Format.GeoPackage)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'tuple' object has no attribute 'label'
Python version: 3.11.1 (main, Jan 6 2023, 00:00:00) [GCC 12.2.1 20221121 (Red Hat 12.2.1-4)]
QGIS version: 3.28.2-Firenze Firenze, exported
Python Path:
/usr/share/qgis/python
/home/ashik/.local/share/QGIS/QGIS3/profiles/default/python
/home/ashik/.local/share/QGIS/QGIS3/profiles/default/python/plugins
/usr/share/qgis/python/plugins
/usr/lib64/python311.zip
/usr/lib64/python3.11
/usr/lib64/python3.11/lib-dynload
/usr/lib64/python3.11/site-packages
/usr/lib/python3.11/site-packages
/home/ashik/.local/share/QGIS/QGIS3/profiles/default/python
When I checked the Python error message log, it showed:
2023-01-28T20:16:16 WARNING Traceback (most recent call last):
File "/home/ashik/.local/share/QGIS/QGIS3/profiles/default/python/plugins/QuickOSM/quick_osm.py", line 253, in open_dialog
dialog = Dialog()
^^^^^^^^
File "/home/ashik/.local/share/QGIS/QGIS3/profiles/default/python/plugins/QuickOSM/ui/dialog.py", line 205, in __init__
panel.setup_panel()
File "/home/ashik/.local/share/QGIS/QGIS3/profiles/default/python/plugins/QuickOSM/ui/quick_query_panel.py", line 69, in setup_panel
super().setup_panel()
File "/home/ashik/.local/share/QGIS/QGIS3/profiles/default/python/plugins/QuickOSM/ui/base_overpass_panel.py", line 43, in setup_panel
super().setup_panel()
File "/home/ashik/.local/share/QGIS/QGIS3/profiles/default/python/plugins/QuickOSM/ui/base_processing_panel.py", line 83, in setup_panel
Format.GeoPackage.value.label, Format.GeoPackage)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'tuple' object has no attribute 'label'
How do I fix these problems?
Environment:
- QuickOSM version: 2.1.1
- QGIS version: 3.28.2-Firenze 'Firenze' (exported)
- OS: Linux fedora 6.1.7-200.fc37.x86_64
Metadata
Metadata
Assignees
Labels
bugAn identified bugAn identified bug