3liz / QuickOSM

QGIS plugin to fetch OSM data with the Overpass API
GNU General Public License v2.0
180 stars 54 forks source link

quickosm gives error after run query #453

Closed nejanseyhan closed 1 year ago

nejanseyhan commented 1 year ago

What is the bug?

Include some logs here, in QGIS Logs panel, bottom right icon, the small bubbles, in the QuickOSM tab.

The log messages on Messages tab:

2023-03-17T18:11:24     CRITICAL    Error in the logs, in the QuickOSM panel, copy/paste it and please report it to GitHub

The log messages on Processing tab:

2023-03-17T18:11:24     CRITICAL    Error: Algorithm qgis:checkvalidity not found

The logs messages on QuickOsm tab are these:

2023-03-17T18:11:22     INFO    All OSM objects with the key 'building'='apartments' in the canvas or layer extent are going to be downloaded.
2023-03-17T18:11:22     INFO    Query: building_apartments
2023-03-17T18:11:22     INFO    Encoded URL: https://lz4.overpass-api.de/api/interpreter?data=[out:xml] [timeout:25];%0A(%0A node[%22building%22%3D%22apartments%22]( 41.38079,2.17285,41.43788,2.24933);%0A way[%22building%22%3D%22apartments%22]( 41.38079,2.17285,41.43788,2.24933);%0A relation[%22building%22%3D%22apartments%22]( 41.38079,2.17285,41.43788,2.24933);%0A);%0A(._;%3E;);%0Aout body;&info=QgisQuickOSMPlugin
2023-03-17T18:11:24     INFO    Request completed
2023-03-17T18:11:24     INFO    Checking OSM file content C:/Users/Lenovo/AppData/Local/Temp/request-QFrOeh.osm
2023-03-17T18:11:24     INFO    The OSM file is: C:/Users/Lenovo/AppData/Local/Temp/request-QFrOeh.osm
2023-03-17T18:11:24     CRITICAL    A critical error occurred, this is the traceback:
2023-03-17T18:11:24     CRITICAL    
2023-03-17T18:11:24     CRITICAL    base_processing_panel.py
2023-03-17T18:11:24     CRITICAL    Error: Algorithm qgis:checkvalidity not found

2023-03-17T18:11:24     CRITICAL     File "C:\Users/Lenovo/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QuickOSM\ui\base_processing_panel.py", line 47, in run
              self._run()

              File "C:\Users/Lenovo/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QuickOSM\ui\quick_query_panel.py", line 421, in _run
              num_layers = process_quick_query(

              File "C:\Users/Lenovo/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QuickOSM\core\process.py", line 318, in process_quick_query
              return process_query(

              File "C:\Users/Lenovo/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QuickOSM\core\process.py", line 257, in process_query
              return open_file(

              File "C:\Users/Lenovo/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QuickOSM\core\process.py", line 106, in open_file
              layers = osm_parser.processing_parse()

              File "C:\Users/Lenovo/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QuickOSM\core\parser\osm_parser.py", line 133, in processing_parse
              validity = processing.run(

              File "C:\PROGRA~1/QGIS32~1.3/apps/qgis/./python/plugins\processing\tools\general.py", line 108, in run
              return Processing.runAlgorithm(algOrName, parameters, onFinish, feedback, context)

              File "C:\PROGRA~1/QGIS32~1.3/apps/qgis/./python/plugins\processing\core\Processing.py", line 169, in runAlgorithm
              raise QgsProcessingException(msg)

Environment

Gustry commented 1 year ago

Duplicate, check the first pinned issud