3liz / QuickOSM

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

### What is the bug? Error in the logs, in the QuickOSM panel, copy/paste it and please report it to GitHub #463

Closed AayushiGupta007 closed 1 year ago

AayushiGupta007 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.

Environment

AayushiGupta007 commented 1 year ago

File "/Users/aashi/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/QuickOSM/core/process.py", line 106, in open_file layers = osm_parser.processing_parse()

      File "/Users/aashi/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/QuickOSM/core/parser/osm_parser.py", line 161, in processing_parse
      layers[layer]['vectorLayer'] = processing.run(

      File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/tools/general.py", line 108, in run
      return Processing.runAlgorithm(algOrName, parameters, onFinish, feedback, context)

      File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/core/Processing.py", line 187, in runAlgorithm
      ret, results = execute(alg, parameters, context, feedback, catch_exceptions=False)

      File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/gui/AlgorithmExecutor.py", line 72, in execute
      results, ok = alg.run(parameters, context, feedback, {}, False)

2023-04-09T23:12:54 INFO ["All OSM objects with the key 'amenity'='fuel' in Maryland, USA are going to be downloaded."] 2023-04-09T23:12:54 INFO Query: amenity_fuel_Maryland, USA 2023-04-09T23:12:55 INFO Request completed 2023-04-09T23:12:55 INFO Encoded URL: https://overpass-api.de/api/interpreter?data=[out:xml] [timeout:25];%0A area(3600162112) -%3E .area0;%0A(%0A node%22amenity%22%3D%22fuel%22;%0A way%22amenity%22%3D%22fuel%22;%0A relation%22amenity%22%3D%22fuel%22;%0A);%0A(.;%3E;);%0Aout body;&info=QgisQuickOSMPlugin 2023-04-09T23:12:58 INFO Request completed 2023-04-09T23:12:58 INFO Checking OSM file content /private/var/folders/42/fz1qkw395yb0scnwfstgn9nr0000gn/T/request-XTZtSM.osm 2023-04-09T23:12:58 INFO The OSM file is: /private/var/folders/42/fz1qkw395yb0scnwfstgn9nr0000gn/T/request-XTZtSM.osm 2023-04-09T23:12:59 INFO Fixing geometries in layer: multipolygons 2023-04-09T23:13:00 CRITICAL A critical error occurred, this is the traceback: 2023-04-09T23:13:00 CRITICAL 2023-04-09T23:13:00 CRITICAL base_processing_panel.py 2023-04-09T23:13:00 CRITICAL unknown 2023-04-09T23:13:00 CRITICAL File "/Users/aashi/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/QuickOSM/ui/base_processing_panel.py", line 59, in run_saved_query self._run_saved_query(data)

      File "/Users/aashi/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/QuickOSM/ui/quick_query_panel.py", line 398, in _run_saved_query
      num_layers = process_quick_query(

      File "/Users/aashi/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/QuickOSM/core/process.py", line 318, in process_quick_query
      return process_query(

      File "/Users/aashi/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/QuickOSM/core/process.py", line 257, in process_query
      return open_file(

      File "/Users/aashi/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/QuickOSM/core/process.py", line 106, in open_file
      layers = osm_parser.processing_parse()

      File "/Users/aashi/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/QuickOSM/core/parser/osm_parser.py", line 161, in processing_parse
      layers[layer]['vectorLayer'] = processing.run(

      File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/tools/general.py", line 108, in run
      return Processing.runAlgorithm(algOrName, parameters, onFinish, feedback, context)

      File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/core/Processing.py", line 187, in runAlgorithm
      ret, results = execute(alg, parameters, context, feedback, catch_exceptions=False)

      File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/gui/AlgorithmExecutor.py", line 72, in execute
      results, ok = alg.run(parameters, context, feedback, {}, False)

2023-04-10T00:14:23 INFO ["All OSM objects with the key 'amenity'='fuel' in Maryland, USA are going to be downloaded."] 2023-04-10T00:14:23 INFO Query: amenity_fuel_Maryland, USA 2023-04-10T00:14:25 INFO Request completed 2023-04-10T00:14:25 INFO Encoded URL: https://overpass-api.de/api/interpreter?data=[out:xml] [timeout:25];%0A area(3600162112) -%3E .area_0;%0A(%0A node%22amenity%22%3D%22fuel%22;%0A way%22amenity%22%3D%22fuel%22;%0A relation%22amenity%22%3D%22fuel%22;%0A);%0A(._;%3E;);%0Aout body;&info=QgisQuickOSMPlugin 2023-04-10T00:14:28 INFO Request completed 2023-04-10T00:14:28 INFO Checking OSM file content /private/var/folders/42/fz1qkw395yb0scnwfstgn9nr0000gn/T/request-UGlIjy.osm 2023-04-10T00:14:28 INFO The OSM file is: /private/var/folders/42/fz1qkw395yb0scnwfstgn9nr0000gn/T/request-UGlIjy.osm 2023-04-10T00:14:29 INFO Fixing geometries in layer: multipolygons 2023-04-10T00:14:30 CRITICAL A critical error occurred, this is the traceback: 2023-04-10T00:14:30 CRITICAL 2023-04-10T00:14:30 CRITICAL base_processing_panel.py 2023-04-10T00:14:30 CRITICAL unknown 2023-04-10T00:14:30 CRITICAL File "/Users/aashi/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/QuickOSM/ui/base_processing_panel.py", line 59, in run_saved_query self._run_saved_query(data)

      File "/Users/aashi/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/QuickOSM/ui/quick_query_panel.py", line 398, in _run_saved_query
      num_layers = process_quick_query(

      File "/Users/aashi/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/QuickOSM/core/process.py", line 318, in process_quick_query
      return process_query(

      File "/Users/aashi/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/QuickOSM/core/process.py", line 257, in process_query
      return open_file(

      File "/Users/aashi/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/QuickOSM/core/process.py", line 106, in open_file
      layers = osm_parser.processing_parse()

      File "/Users/aashi/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/QuickOSM/core/parser/osm_parser.py", line 161, in processing_parse
      layers[layer]['vectorLayer'] = processing.run(

      File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/tools/general.py", line 108, in run
      return Processing.runAlgorithm(algOrName, parameters, onFinish, feedback, context)

      File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/core/Processing.py", line 187, in runAlgorithm
      ret, results = execute(alg, parameters, context, feedback, catch_exceptions=False)

      File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/gui/AlgorithmExecutor.py", line 72, in execute
      results, ok = alg.run(parameters, context, feedback, {}, False)

QuickOSM version: Licence GPL Version 2 QGIS version: 3.28.3-Firenze OS: 13.2 (22D49)

Gustry commented 1 year ago

Please double check in your are not in the issue #422, you can fix it yourself by following the steps. Regards