Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
AayushiGupta007 opened this issue Apr 10, 2023 · 2 comments
Labels
bug An identified bug

Comments

@AayushiGupta007
Copy link

What is the bug?

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

Environment

  • QuickOSM version:
  • QGIS version:
  • OS:
@AayushiGupta007 AayushiGupta007 added the bug An identified bug label Apr 10, 2023
@AayushiGupta007
Copy link
Author

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 .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-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
Copy link
Member

Gustry commented Apr 11, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An identified bug
Projects
None yet
Development

No branches or pull requests

2 participants