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

Error in QuickOSM panel #442

Closed
gomezneedshelp opened this issue Jan 25, 2023 · 1 comment
Closed

Error in QuickOSM panel #442

gomezneedshelp opened this issue Jan 25, 2023 · 1 comment
Labels
bug An identified bug

Comments

@gomezneedshelp
Copy link

gomezneedshelp commented Jan 25, 2023

What is the bug?

I am very new to QGIS so I have no idea what to do. I am doing my lab work and keep getting this error under the QuickOSM panel. Here is my log:
2023-01-24T17:23:27     INFO    All OSM objects with the key 'amenity'='pub' in the canvas or layer extent are going to be downloaded.
2023-01-24T17:23:27     INFO    Query: amenity_pub
2023-01-24T17:23:27     INFO    Encoded URL: https://lz4.overpass-api.de/api/interpreter?data=[out:xml] [timeout:50];%0A(%0A node[%22amenity%22%3D%22pub%22]( 51.28676,-0.96153,51.69187,0.78517);%0A way[%22amenity%22%3D%22pub%22]( 51.28676,-0.96153,51.69187,0.78517);%0A relation[%22amenity%22%3D%22pub%22]( 51.28676,-0.96153,51.69187,0.78517);%0A);%0A(._;%3E;);%0Aout body;&info=QgisQuickOSMPlugin
2023-01-24T17:23:42     INFO    Request completed
2023-01-24T17:23:42     INFO    Checking OSM file content /private/var/folders/gs/4yzjpkfn7g7g6_6yt4l815jw0000gn/T/request-BakctR.osm
2023-01-24T17:23:42     INFO    The OSM file is: /private/var/folders/gs/4yzjpkfn7g7g6_6yt4l815jw0000gn/T/request-BakctR.osm
2023-01-24T17:23:47     INFO    Fixing geometries in layer: multipolygons
2023-01-24T17:23:48     CRITICAL    A critical error occurred, this is the traceback:
2023-01-24T17:23:48     CRITICAL    
2023-01-24T17:23:48     CRITICAL    base_processing_panel.py
2023-01-24T17:23:48     CRITICAL    unknown
2023-01-24T17:23:48     CRITICAL     File "/Users/acigomez/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/QuickOSM/ui/base_processing_panel.py", line 47, in run
              self._run()
             
              File "/Users/acigomez/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/QuickOSM/ui/quick_query_panel.py", line 421, in _run
              num_layers = process_quick_query(
             
              File "/Users/acigomez/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/QuickOSM/core/process.py", line 318, in process_quick_query
              return process_query(
             
              File "/Users/acigomez/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/QuickOSM/core/process.py", line 257, in process_query
              return open_file(
             
              File "/Users/acigomez/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/acigomez/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/QuickOSM/core/parser/osm_parser.py", line 147, 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)
             ```

### Environment


 - QuickOSM version: 2.1.1
 - QGIS version: 3.28
 - OS: Monterey 12.2
<img width="1785" alt="Screen Shot 2023-01-24 at 5 02 58 PM" src="https://user-images.githubusercontent.com/123523200/214460513-4e5c2b14-185d-4c20-8a0f-f5e17b0332b0.png"> 
@gomezneedshelp gomezneedshelp added the bug An identified bug label Jan 25, 2023
@Gustry
Copy link
Member

Gustry commented Jan 25, 2023

Duplicate issue #422 You can fix it by following the ticket.

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