3liz / QuickOSM

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

Error in QuickOSM panel #442

Closed gomezneedshelp closed 1 year ago

gomezneedshelp commented 1 year ago

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 Screen Shot 2023-01-24 at 5 02 58 PM
Gustry commented 1 year ago

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