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

critical pyton error #468

Open
robibrazze opened this issue Apr 26, 2023 · 2 comments
Open

critical pyton error #468

robibrazze opened this issue Apr 26, 2023 · 2 comments
Labels
bug An identified bug feedbacks The bug is unclear and feedbacks are needed

Comments

@robibrazze
Copy link

robibrazze commented Apr 26, 2023

Hi, below report error in panel log of qgis whent i tried to convert osm data to geopackage whit the plugin.
I'm using

  • QuickOSM version: latest
  • QGIS version: 3.28.4
  • Windows

all help is welcome

2023-04-26T15:46:30     INFO    The OSM file is: C:\Users\geomb\Documents\UFFICIO\COMMESSE MAPPE\LIMONTE P.TE\qgis-cartina\osm_24-04-23.osm
2023-04-26T15:46:43     CRITICAL    Si è verificato un errore critico, questo è il traceback:
2023-04-26T15:46:43     CRITICAL    
2023-04-26T15:46:43     CRITICAL    base_processing_panel.py
2023-04-26T15:46:43     CRITICAL    Impossibile creare il layer ogr:dbname='C:\Users\geomb\Documents\UFFICIO\COMMESSE MAPPE\LIMONTE P.TE\qgis-cartina\test\osm_render.gpkg' table="osm_render_points" (geom): Errore nel caricamento del layer
2023-04-26T15:46:43     CRITICAL     File "C:\Users/geomb/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QuickOSM\ui\base_processing_panel.py", line 47, in run
              self._run()
             
              File "C:\Users/geomb/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QuickOSM\ui\osm_file_panel.py", line 223, in _run
              open_file(
             
              File "C:\Users/geomb/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QuickOSM\core\process.py", line 106, in open_file
              layers = osm_parser.processing_parse()
             
              File "C:\Users/geomb/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/QGIS32~1.4/apps/qgis-ltr/./python/plugins\processing\tools\general.py", line 108, in run
              return Processing.runAlgorithm(algOrName, parameters, onFinish, feedback, context)
             
              File "C:\PROGRA~1/QGIS32~1.4/apps/qgis-ltr/./python/plugins\processing\core\Processing.py", line 187, in runAlgorithm
              ret, results = execute(alg, parameters, context, feedback, catch_exceptions=False)
             
              File "C:\PROGRA~1/QGIS32~1.4/apps/qgis-ltr/./python/plugins\processing\gui\AlgorithmExecutor.py", line 72, in execute
              results, ok = alg.run(parameters, context, feedback, {}, False)
@robibrazze robibrazze added the bug An identified bug label Apr 26, 2023
@Gustry
Copy link
Member

Gustry commented Apr 26, 2023

ogr:dbname='C:\Users\geomb\Documents\UFFICIO\COMMESSE MAPPE\LIMONTE P.TE\qgis-cartina\test\osm_render.gpkg' table="osm_render_points" (geom): Errore nel caricamento del layer

Does the file exist ? C:\Users\geomb\Documents\UFFICIO\COMMESSE MAPPE\LIMONTE P.TE\qgis-cartina\test\osm_render.gpkg
Can you open all layers in this file ?

Can you open your OSM file C:\Users\geomb\Documents\UFFICIO\COMMESSE MAPPE\LIMONTE P.TE\qgis-cartina\osm_24-04-23.osm ? with all layers included in this OSM file (points, lines, etc)

@Gustry Gustry added the feedbacks The bug is unclear and feedbacks are needed label Apr 26, 2023
@robibrazze
Copy link
Author

The file osm_render-gpkg exist and i would like rewrite it (i tried to convert osm to gpkg in a new empty folder but the errore is the same)
I can open all layer whit out geom point

I can open the file osm_24-04-23.osm and all layer are included.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An identified bug feedbacks The bug is unclear and feedbacks are needed
Projects
None yet
Development

No branches or pull requests

2 participants