Skip to content

critical pyton error #468

Open
Open

Description

@robibrazze

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)

Activity

  1. added
    bug
    on Apr 26, 2023
  2. Gustry commented on Apr 26, 2023

    @Gustry
    Collaborator

    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)

  3. added
    feedbacks
    on Apr 26, 2023
  4. robibrazze commented on Apr 26, 2023

    @robibrazze
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugfeedbacks

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions