3liz / QuickOSM

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

addr:housenumber request on a named area fail #410

Closed marcobra closed 2 years ago

marcobra commented 2 years ago

What is the bug?

2022-06-08T23:20:07     INFO    All OSM objects with the key 'addr:housenumber' in Arenzano are going to be downloaded.
2022-06-08T23:20:07     INFO    Query: addr:housenumber_Arenzano
2022-06-08T23:20:09     INFO    Request completed
2022-06-08T23:20:09     INFO    Encoded URL: https://lz4.overpass-api.de/api/interpreter?data=[out:xml] [timeout:25];%0A area(3600043144) -%3E .area_0;%0A(%0A node[%22addr:housenumber%22](area.area_0);%0A);%0A(._;%3E;);%0Aout body;&info=QgisQuickOSMPlugin
2022-06-08T23:20:21     INFO    Request completed
2022-06-08T23:20:21     INFO    Checking OSM file content /tmp/request-sIXRpy.osm
2022-06-08T23:20:21     INFO    The OSM file is: /tmp/request-sIXRpy.osm
2022-06-08T23:20:22     CRITICAL    Si è verificato un errore critico, questo è il traceback:
2022-06-08T23:20:22     CRITICAL    
2022-06-08T23:20:22     CRITICAL    base_processing_panel.py
2022-06-08T23:20:22     CRITICAL    Errore: Algoritmo qgis:checkvalidity non trovato

2022-06-08T23:20:22     CRITICAL     File "/home/ubuntu/.local/share/QGIS/QGIS3/profiles/default/python/plugins/QuickOSM/ui/base_processing_panel.py", line 47, in run
              self._run()

              File "/home/ubuntu/.local/share/QGIS/QGIS3/profiles/default/python/plugins/QuickOSM/ui/quick_query_panel.py", line 423, in _run
              num_layers = process_quick_query(

              File "/home/ubuntu/.local/share/QGIS/QGIS3/profiles/default/python/plugins/QuickOSM/core/process.py", line 318, in process_quick_query
              return process_query(

              File "/home/ubuntu/.local/share/QGIS/QGIS3/profiles/default/python/plugins/QuickOSM/core/process.py", line 257, in process_query
              return open_file(

              File "/home/ubuntu/.local/share/QGIS/QGIS3/profiles/default/python/plugins/QuickOSM/core/process.py", line 106, in open_file
              layers = osm_parser.processing_parse()

              File "/home/ubuntu/.local/share/QGIS/QGIS3/profiles/default/python/plugins/QuickOSM/core/parser/osm_parser.py", line 133, in processing_parse
              validity = processing.run(

              File "/usr/share/qgis/python/plugins/processing/tools/general.py", line 108, in run
              return Processing.runAlgorithm(algOrName, parameters, onFinish, feedback, context)

              File "/usr/share/qgis/python/plugins/processing/core/Processing.py", line 169, in runAlgorithm
              raise QgsProcessingException(msg)

Environment

Gustry commented 2 years ago

Already reported and fixed #406

marcobra commented 2 years ago

The quickosm plugin give this error if the "processing" plugin is not activate (selected) in the plugins list