3liz / QuickOSM

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

quick query fault on windows system - data is downloaded but not displayed in qgis layers panel #471

Closed rkalasek closed 11 months ago

rkalasek commented 11 months ago

What is the bug?

i did a quick query with the following parameters:

  1. preset search with the keyword "historic"
  2. selection: Historic Places & Objects/Archaeological Site
  3. key / value settings: historic / archaeological_site
  4. spatial context: the name of an admin unit: "bernhardsthal"
  5. run query

the result was an error - where the error message pointer to the QuickOSM log - see below. according to the log, the data was downloaded but not displayed in layer panel due to an error.

that's the log:

2023-08-04T14:40:01 INFO All OSM objects with the key 'historic'='archaeological_site' in bernhardsthal are going to be downloaded. 2023-08-04T14:40:01 INFO Query: historic_archaeological_site_bernhardsthal 2023-08-04T14:40:01 INFO Request completed 2023-08-04T14:40:01 INFO Encoded URL: https://overpass-api.de/api/interpreter?data=[out:xml] [timeout:25];%0A area(3600107963) -%3E .area_0;%0A(%0A node%22historic%22%3D%22archaeological_site%22;%0A way%22historic%22%3D%22archaeological_site%22;%0A relation%22historic%22%3D%22archaeological_site%22;%0A);%0A(._;%3E;);%0Aout body;&info=QgisQuickOSMPlugin 2023-08-04T14:40:02 INFO Request completed 2023-08-04T14:40:02 INFO Checking OSM file content C:/Users/ruedi/AppData/Local/Temp/request-ycUQrP.osm 2023-08-04T14:40:02 INFO The OSM file is: C:/Users/ruedi/AppData/Local/Temp/request-ycUQrP.osm 2023-08-04T14:40:02 CRITICAL A critical error occurred, this is the traceback: 2023-08-04T14:40:02 CRITICAL
2023-08-04T14:40:02 CRITICAL base_processing_panel.py 2023-08-04T14:40:02 CRITICAL Error: Algorithm qgis:checkvalidity not found

2023-08-04T14:40:02 CRITICAL File "C:\Users/ruedi/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QuickOSM\ui\base_processing_panel.py", line 47, in run self._run()

          File "C:\Users/ruedi/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/ruedi/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QuickOSM\core\process.py", line 318, in process_quick_query
          return process_query(

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

          File "C:\Users/ruedi/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/ruedi/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QuickOSM\core\parser\osm_parser.py", line 147, in processing_parse
          validity = processing.run(

          File "C:\PROGRA~1/QGIS33~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/QGIS33~1.3/apps/qgis/./python/plugins\processing\core\Processing.py", line 161, in runAlgorithm
          raise QgsProcessingException(msg)

Environment

remark: the same request on mac os 13.3.1 / qgis 3.28 / QuickOSM 2.2.2 worked without any troubles.

Gustry commented 11 months ago

Check exisiting pinned ticket, it's a duplicate. You can fix yourself, thanks. #422