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 error with QGIS 3.18 #364

Closed
LGuerout opened this issue Oct 18, 2021 · 2 comments
Closed

Critical error with QGIS 3.18 #364

LGuerout opened this issue Oct 18, 2021 · 2 comments
Labels
bug An identified bug

Comments

@LGuerout
Copy link

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
@LGuerout LGuerout added the bug An identified bug label Oct 18, 2021
@franklyemma
Copy link

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

Capture

@Gustry
Copy link
Member

Gustry commented Oct 20, 2021

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
Labels
bug An identified bug
Projects
None yet
Development

No branches or pull requests

3 participants