Skip to content

Critical error with QGIS 3.18 #364

Closed

Description

@LGuerout

What is the bug?

Include some logs here, in QGIS Logs panel, bottom right icon, the small bubbles, in the QuickOSM tab.

2021-10-18T11:31:29 INFO All OSM objects with keys 'roof:shape'='dome' or 'roof:shape'='flat' or 'roof:shape'='gabled' or 'roof:shape'='gambrel' or 'roof:shape'='half-hipped' or 'roof:shape'='hipped' or 'roof:shape'='mansard' or 'roof:shape'='onion' or 'roof:shape'='pyramidal' or 'roof:shape'='round' or 'roof:shape'='saltbox' or 'roof:shape'='skillion' or 'type'='building' or 'building'='apartments' or 'building'='house' or 'building'='garage' or 'building'='industrial' or 'building'='entrance' or 'amenity'='loading_dock' in le canevas ou l'emprise d'une couche are going to be downloaded.
2021-10-18T11:31:29 INFO Query: roof:shape_dome_roof:shape_flat
2021-10-18T11:31:29 INFO Encoded URL: https://z.overpass-api.de/api/interpreter?data=[out:xml] [timeout:25];%0A(%0A node%22roof:shape%22%3D%22dome%22;%0A node%22roof:shape%22%3D%22flat%22;%0A node%22roof:shape%22%3D%22gabled%22;%0A node%22roof:shape%22%3D%22gambrel%22;%0A node%22roof:shape%22%3D%22half-hipped%22;%0A node%22roof:shape%22%3D%22hipped%22;%0A node%22roof:shape%22%3D%22mansard%22;%0A node%22roof:shape%22%3D%22onion%22;%0A node%22roof:shape%22%3D%22pyramidal%22;%0A node%22roof:shape%22%3D%22round%22;%0A node%22roof:shape%22%3D%22saltbox%22;%0A node%22roof:shape%22%3D%22skillion%22;%0A node%22type%22%3D%22building%22;%0A node%22building%22%3D%22apartments%22;%0A node%22building%22%3D%22house%22;%0A node%22building%22%3D%22garage%22;%0A node%22building%22%3D%22industrial%22;%0A node%22building%22%3D%22entrance%22;%0A node%22amenity%22%3D%22loading_dock%22;%0A way%22roof:shape%22%3D%22dome%22;%0A way%22roof:shape%22%3D%22flat%22;%0A way%22roof:shape%22%3D%22gabled%22;%0A way%22roof:shape%22%3D%22gambrel%22;%0A way%22roof:shape%22%3D%22half-hipped%22;%0A way%22roof:shape%22%3D%22hipped%22;%0A way%22roof:shape%22%3D%22mansard%22;%0A way%22roof:shape%22%3D%22onion%22;%0A way%22roof:shape%22%3D%22pyramidal%22;%0A way%22roof:shape%22%3D%22round%22;%0A way%22roof:shape%22%3D%22saltbox%22;%0A way%22roof:shape%22%3D%22skillion%22;%0A way%22type%22%3D%22building%22;%0A way%22building%22%3D%22apartments%22;%0A way%22building%22%3D%22house%22;%0A way%22building%22%3D%22garage%22;%0A way%22building%22%3D%22industrial%22;%0A way%22building%22%3D%22entrance%22;%0A way%22amenity%22%3D%22loading_dock%22;%0A relation%22roof:shape%22%3D%22dome%22;%0A relation%22roof:shape%22%3D%22flat%22;%0A relation%22roof:shape%22%3D%22gabled%22;%0A relation%22roof:shape%22%3D%22gambrel%22;%0A relation%22roof:shape%22%3D%22half-hipped%22;%0A relation%22roof:shape%22%3D%22hipped%22;%0A relation%22roof:shape%22%3D%22mansard%22;%0A relation%22roof:shape%22%3D%22onion%22;%0A relation%22roof:shape%22%3D%22pyramidal%22;%0A relation%22roof:shape%22%3D%22round%22;%0A relation%22roof:shape%22%3D%22saltbox%22;%0A relation%22roof:shape%22%3D%22skillion%22;%0A relation%22type%22%3D%22building%22;%0A relation%22building%22%3D%22apartments%22;%0A relation%22building%22%3D%22house%22;%0A relation%22building%22%3D%22garage%22;%0A relation%22building%22%3D%22industrial%22;%0A relation%22building%22%3D%22entrance%22;%0A relation%22amenity%22%3D%22loading_dock%22;%0A);%0A(._;%3E;);%0Aout body;&info=QgisQuickOSMPlugin
2021-10-18T11:31:33 INFO Request completed
2021-10-18T11:31:33 INFO Checking OSM file content C:/Users/lguerout/AppData/Local/Temp/request-sYXogr.osm
2021-10-18T11:31:33 INFO The OSM file is: C:/Users/lguerout/AppData/Local/Temp/request-sYXogr.osm
2021-10-18T11:31:33 CRITICAL Une erreur critique est survenue, voici la source:
2021-10-18T11:31:33 CRITICAL
2021-10-18T11:31:33 CRITICAL base_processing_panel.py
2021-10-18T11:31:33 CRITICAL Erreur : Algorithme qgis:checkvalidity non trouvé

2021-10-18T11:31:33 CRITICAL File "C:/Users/lguerout/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QuickOSM\ui\base_processing_panel.py", line 47, in run
self._run()

          File "C:/Users/lguerout/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QuickOSM\ui\quick_query_panel.py", line 439, in _run
          output_geometry_types=properties['outputs'])
         
          File "C:/Users/lguerout/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QuickOSM\core\process.py", line 333, in process_quick_query
          config_outputs=config_outputs,)
         
          File "C:/Users/lguerout/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QuickOSM\core\process.py", line 269, in process_query
          feedback=dialog.feedback_process)
         
          File "C:/Users/lguerout/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/lguerout/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QuickOSM\core\parser\osm_parser.py", line 141, in processing_parse
          }, feedback=self.feedback if self.feedback_alg else None
         
          File "C:/OSGEO4~1/apps/qgis/./python/plugins\processing\tools\general.py", line 108, in run
          return Processing.runAlgorithm(algOrName, parameters, onFinish, feedback, context)
         
          File "C:/OSGEO4~1/apps/qgis/./python/plugins\processing\core\Processing.py", line 156, in runAlgorithm
          raise QgsProcessingException(msg)

2021-10-18T11:31:53 INFO Dialog has been reset
2021-10-18T11:36:18 INFO All OSM objects with keys 'roof:shape'='dome' or 'roof:shape'='flat' or 'roof:shape'='gabled' or 'roof:shape'='gambrel' or 'roof:shape'='half-hipped' or 'roof:shape'='hipped' or 'roof:shape'='mansard' or 'roof:shape'='onion' or 'roof:shape'='pyramidal' or 'roof:shape'='round' or 'roof:shape'='saltbox' or 'roof:shape'='skillion' or 'type'='building' or 'building'='apartments' or 'building'='house' or 'building'='garage' or 'building'='industrial' or 'building'='entrance' or 'amenity'='loading_dock' in le canevas ou l'emprise d'une couche are going to be downloaded.
2021-10-18T11:36:18 INFO Query: roof:shape_dome_roof:shape_flat
2021-10-18T11:36:18 INFO Encoded URL: https://z.overpass-api.de/api/interpreter?data=[out:xml] [timeout:25];%0A(%0A node%22roof:shape%22%3D%22dome%22;%0A node%22roof:shape%22%3D%22flat%22;%0A node%22roof:shape%22%3D%22gabled%22;%0A node%22roof:shape%22%3D%22gambrel%22;%0A node%22roof:shape%22%3D%22half-hipped%22;%0A node%22roof:shape%22%3D%22hipped%22;%0A node%22roof:shape%22%3D%22mansard%22;%0A node%22roof:shape%22%3D%22onion%22;%0A node%22roof:shape%22%3D%22pyramidal%22;%0A node%22roof:shape%22%3D%22round%22;%0A node%22roof:shape%22%3D%22saltbox%22;%0A node%22roof:shape%22%3D%22skillion%22;%0A node%22type%22%3D%22building%22;%0A node%22building%22%3D%22apartments%22;%0A node%22building%22%3D%22house%22;%0A node%22building%22%3D%22garage%22;%0A node%22building%22%3D%22industrial%22;%0A node%22building%22%3D%22entrance%22;%0A node%22amenity%22%3D%22loading_dock%22;%0A way%22roof:shape%22%3D%22dome%22;%0A way%22roof:shape%22%3D%22flat%22;%0A way%22roof:shape%22%3D%22gabled%22;%0A way%22roof:shape%22%3D%22gambrel%22;%0A way%22roof:shape%22%3D%22half-hipped%22;%0A way%22roof:shape%22%3D%22hipped%22;%0A way%22roof:shape%22%3D%22mansard%22;%0A way%22roof:shape%22%3D%22onion%22;%0A way%22roof:shape%22%3D%22pyramidal%22;%0A way%22roof:shape%22%3D%22round%22;%0A way%22roof:shape%22%3D%22saltbox%22;%0A way%22roof:shape%22%3D%22skillion%22;%0A way%22type%22%3D%22building%22;%0A way%22building%22%3D%22apartments%22;%0A way%22building%22%3D%22house%22;%0A way%22building%22%3D%22garage%22;%0A way%22building%22%3D%22industrial%22;%0A way%22building%22%3D%22entrance%22;%0A way%22amenity%22%3D%22loading_dock%22;%0A relation%22roof:shape%22%3D%22dome%22;%0A relation%22roof:shape%22%3D%22flat%22;%0A relation%22roof:shape%22%3D%22gabled%22;%0A relation%22roof:shape%22%3D%22gambrel%22;%0A relation%22roof:shape%22%3D%22half-hipped%22;%0A relation%22roof:shape%22%3D%22hipped%22;%0A relation%22roof:shape%22%3D%22mansard%22;%0A relation%22roof:shape%22%3D%22onion%22;%0A relation%22roof:shape%22%3D%22pyramidal%22;%0A relation%22roof:shape%22%3D%22round%22;%0A relation%22roof:shape%22%3D%22saltbox%22;%0A relation%22roof:shape%22%3D%22skillion%22;%0A relation%22type%22%3D%22building%22;%0A relation%22building%22%3D%22apartments%22;%0A relation%22building%22%3D%22house%22;%0A relation%22building%22%3D%22garage%22;%0A relation%22building%22%3D%22industrial%22;%0A relation%22building%22%3D%22entrance%22;%0A relation%22amenity%22%3D%22loading_dock%22;%0A);%0A(._;%3E;);%0Aout body;&info=QgisQuickOSMPlugin
2021-10-18T11:36:21 INFO Request completed
2021-10-18T11:36:21 INFO Checking OSM file content C:/Users/lguerout/AppData/Local/Temp/request-sLyKux.osm
2021-10-18T11:36:21 INFO The OSM file is: C:/Users/lguerout/AppData/Local/Temp/request-sLyKux.osm
2021-10-18T11:36:21 CRITICAL Une erreur critique est survenue, voici la source:
2021-10-18T11:36:21 CRITICAL
2021-10-18T11:36:21 CRITICAL base_processing_panel.py
2021-10-18T11:36:21 CRITICAL Erreur : Algorithme qgis:checkvalidity non trouvé

2021-10-18T11:36:21 CRITICAL File "C:/Users/lguerout/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QuickOSM\ui\base_processing_panel.py", line 47, in run
self._run()

          File "C:/Users/lguerout/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QuickOSM\ui\quick_query_panel.py", line 439, in _run
          output_geometry_types=properties['outputs'])
         
          File "C:/Users/lguerout/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QuickOSM\core\process.py", line 333, in process_quick_query
          config_outputs=config_outputs,)
         
          File "C:/Users/lguerout/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QuickOSM\core\process.py", line 269, in process_query
          feedback=dialog.feedback_process)
         
          File "C:/Users/lguerout/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/lguerout/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QuickOSM\core\parser\osm_parser.py", line 141, in processing_parse
          }, feedback=self.feedback if self.feedback_alg else None
         
          File "C:/OSGEO4~1/apps/qgis/./python/plugins\processing\tools\general.py", line 108, in run
          return Processing.runAlgorithm(algOrName, parameters, onFinish, feedback, context)
         
          File "C:/OSGEO4~1/apps/qgis/./python/plugins\processing\core\Processing.py", line 156, in runAlgorithm
          raise QgsProcessingException(msg)

Environment

  • QuickOSM version: 2.0.0
  • QGIS version: 3.18
  • OS: Windows 10

Activity

  1. added
    bug
    on Oct 18, 2021
  2. franklyemma commented on Oct 18, 2021

    @franklyemma

    I had the same issue and I think the solution is to change your language settings to American English.

    Capture

  3. Gustry commented on Oct 20, 2021

    @Gustry
    Collaborator

    Duplicate of #352

    Can you please help to debug on the other ticket ? I have raised questions, I can't replicate for me.

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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions