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

[QuickOSM][QGIS] CRITICAL Error in the logs, in the QuickOSM panel #460

Closed
kelvesvinicius opened this issue Mar 28, 2023 · 1 comment
Closed
Labels
bug An identified bug

Comments

@kelvesvinicius
Copy link

What is the bug?

I tried query "highway" as a key in a shape of the state of Santa Catarina, Brazil and I recived the message "Error in the logs, in the QuickOSM panel". When I tried it to just a few cities of the same state it worked, but with just a limited results.

2023-03-28T16:30:43 INFO All OSM objects with the key 'highway' in a tela ou extensão da camada are going to be downloaded.
2023-03-28T16:30:43 INFO Query: highway
2023-03-28T16:30:43 INFO Encoded URL: https://z.overpass-api.de/api/interpreter?data=[out:xml] [timeout:900];%0A(%0A node%22highway%22;%0A way%22highway%22;%0A relation%22highway%22;%0A);%0A(._;%3E;);%0Aout body;&info=QgisQuickOSMPlugin
2023-03-28T16:31:39 INFO Request completed
2023-03-28T16:31:39 INFO Checking OSM file content D:/Data/k.souza/AppData/Local/Temp/request-MriYjt.osm
2023-03-28T16:31:49 INFO The OSM file is: D:/Data/k.souza/AppData/Local/Temp/request-MriYjt.osm
2023-03-28T16:40:02 CRITICAL Um erro crítico ocorreu, este é o traceback:
2023-03-28T16:40:03 CRITICAL
2023-03-28T16:40:03 CRITICAL base_processing_panel.py
2023-03-28T16:40:03 CRITICAL Não foi possível criar a camada ogr:dbname='D:\DATA\k.souza\OneDrive - EGIS Group\Área de Trabalho\sc_rodovias.gpkg' table="sc_rodovias_lines" (geom): Falha ao carregar da camada
2023-03-28T16:40:03 CRITICAL File "D:\DATA/k.souza/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QuickOSM\ui\base_processing_panel.py", line 47, in run
self._run()

          File "D:\DATA/k.souza/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QuickOSM\ui\quick_query_panel.py", line 421, in _run
          num_layers = process_quick_query(
         
          File "D:\DATA/k.souza/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QuickOSM\core\process.py", line 318, in process_quick_query
          return process_query(
         
          File "D:\DATA/k.souza/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QuickOSM\core\process.py", line 257, in process_query
          return open_file(
         
          File "D:\DATA/k.souza/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QuickOSM\core\process.py", line 106, in open_file
          layers = osm_parser.processing_parse()
         
          File "D:\DATA/k.souza/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QuickOSM\core\parser\osm_parser.py", line 332, in processing_parse
          layers[layer]['vector_layer'] = processing.run("native:refactorfields", {
         
          File "C:\PROGRA~1/QGIS33~1.0/apps/qgis/./python/plugins\processing\tools\general.py", line 108, in run
          return Processing.runAlgorithm(algOrName, parameters, onFinish, feedback, context)
         
          File "C:\PROGRA~1/QGIS33~1.0/apps/qgis/./python/plugins\processing\core\Processing.py", line 179, in runAlgorithm
          ret, results = execute(alg, parameters, context, feedback, catch_exceptions=False)
         
          File "C:\PROGRA~1/QGIS33~1.0/apps/qgis/./python/plugins\processing\gui\AlgorithmExecutor.py", line 72, in execute
          results, ok = alg.run(parameters, context, feedback, {}, False)
  • QuickOSM version: [2.2.0]
  • QGIS version: 3.30.0
  • OS: Windows 10 Enterprise
@kelvesvinicius kelvesvinicius added the bug An identified bug label Mar 28, 2023
@Gustry
Copy link
Member

Gustry commented Mar 28, 2023

Duplicate of #422 pinned issue.
You can fix it yourself by following instructions.

@Gustry Gustry closed this as completed Mar 28, 2023
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