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

Algorithm qgis:checkvalidity not found #422

Open
edogelm02 opened this issue Sep 23, 2022 · 7 comments
Open

Algorithm qgis:checkvalidity not found #422

edogelm02 opened this issue Sep 23, 2022 · 7 comments
Labels
bug An identified bug

Comments

@edogelm02
Copy link

edogelm02 commented Sep 23, 2022

What is the bug?

2022-09-22T20:52:15     INFO    All OSM objects with the key 'boundary'='administrative' in the canvas or layer extent are going to be downloaded.
2022-09-22T20:52:15     INFO    Query: boundary_administrative
2022-09-22T20:52:15     INFO    Encoded URL: https://lz4.overpass-api.de/api/interpreter?data=[out:xml] [timeout:25];%0A(%0A node[%22boundary%22%3D%22administrative%22]( 33.88751,-117.83383,34.37405,-117.4057);%0A way[%22boundary%22%3D%22administrative%22]( 33.88751,-117.83383,34.37405,-117.4057);%0A relation[%22boundary%22%3D%22administrative%22]( 33.88751,-117.83383,34.37405,-117.4057);%0A);%0A(._;%3E;);%0Aout body;&info=QgisQuickOSMPlugin
2022-09-22T20:52:23     INFO    Request completed
2022-09-22T20:52:23     INFO    Checking OSM file content C:/Users/ele567/AppData/Local/Temp/request-jIeLxp.osm
2022-09-22T20:52:23     INFO    The OSM file is: C:/Users/ele567/AppData/Local/Temp/request-jIeLxp.osm
2022-09-22T20:52:24     CRITICAL    A critical error occurred, this is the traceback:
2022-09-22T20:52:24     CRITICAL    
2022-09-22T20:52:24     CRITICAL    base_processing_panel.py
2022-09-22T20:52:24     CRITICAL    Error: Algorithm qgis:checkvalidity not found
             
2022-09-22T20:52:24     CRITICAL     File "C:\Users/ele567/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QuickOSM\ui\base_processing_panel.py", line 47, in run
              self._run()
             
              File "C:\Users/ele567/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QuickOSM\ui\quick_query_panel.py", line 421, in _run
              num_layers = process_quick_query(
             
              File "C:\Users/ele567/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QuickOSM\core\process.py", line 318, in process_quick_query
              return process_query(
             
              File "C:\Users/ele567/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QuickOSM\core\process.py", line 257, in process_query
              return open_file(
             
              File "C:\Users/ele567/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/ele567/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QuickOSM\core\parser\osm_parser.py", line 133, in processing_parse
              validity = processing.run(
             
              File "C:\PROGRA~1/QGIS32~1.3/apps/qgis/./python/plugins\processing\tools\general.py", line 108, in run
              return Processing.runAlgorithm(algOrName, parameters, onFinish, feedback, context)
             
              File "C:\PROGRA~1/QGIS32~1.3/apps/qgis/./python/plugins\processing\core\Processing.py", line 169, in runAlgorithm
              raise QgsProcessingException(msg)
             
2022-09-22T20:52:42     INFO    All OSM objects with the key 'boundary'='administrative' in the canvas or layer extent are going to be downloaded.
2022-09-22T20:52:42     INFO    Query: boundary_administrative
2022-09-22T20:52:42     INFO    Encoded URL: https://lz4.overpass-api.de/api/interpreter?data=[out:xml] [timeout:25];%0A(%0A node[%22boundary%22%3D%22administrative%22]( 33.88751,-117.83383,34.37405,-117.4057);%0A way[%22boundary%22%3D%22administrative%22]( 33.88751,-117.83383,34.37405,-117.4057);%0A relation[%22boundary%22%3D%22administrative%22]( 33.88751,-117.83383,34.37405,-117.4057);%0A);%0A(._;%3E;);%0Aout body;&info=QgisQuickOSMPlugin
2022-09-22T20:52:46     INFO    Request completed
2022-09-22T20:52:46     INFO    Checking OSM file content C:/Users/ele567/AppData/Local/Temp/request-upmIXx.osm
2022-09-22T20:52:46     INFO    The OSM file is: C:/Users/ele567/AppData/Local/Temp/request-upmIXx.osm
2022-09-22T20:52:46     CRITICAL    A critical error occurred, this is the traceback:
2022-09-22T20:52:46     CRITICAL    
2022-09-22T20:52:46     CRITICAL    base_processing_panel.py
2022-09-22T20:52:46     CRITICAL    Error: Algorithm qgis:checkvalidity not found
             
2022-09-22T20:52:46     CRITICAL     File "C:\Users/ele567/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QuickOSM\ui\base_processing_panel.py", line 47, in run
              self._run()
             
              File "C:\Users/ele567/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QuickOSM\ui\quick_query_panel.py", line 421, in _run
              num_layers = process_quick_query(
             
              File "C:\Users/ele567/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QuickOSM\core\process.py", line 318, in process_quick_query
              return process_query(
             
              File "C:\Users/ele567/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QuickOSM\core\process.py", line 257, in process_query
              return open_file(
             
              File "C:\Users/ele567/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/ele567/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QuickOSM\core\parser\osm_parser.py", line 133, in processing_parse
              validity = processing.run(
             
              File "C:\PROGRA~1/QGIS32~1.3/apps/qgis/./python/plugins\processing\tools\general.py", line 108, in run
              return Processing.runAlgorithm(algOrName, parameters, onFinish, feedback, context)
             
              File "C:\PROGRA~1/QGIS32~1.3/apps/qgis/./python/plugins\processing\core\Processing.py", line 169, in runAlgorithm
              raise QgsProcessingException(msg)
             
2022-09-22T20:58:21     INFO    ["All OSM objects with the key 'boundary'='administrative' in the canvas or layer extent are going to be downloaded."]
2022-09-22T20:58:21     INFO    Query: boundary_administrative
2022-09-22T20:58:21     INFO    Encoded URL: https://lz4.overpass-api.de/api/interpreter?data=[out:xml] [timeout:25];%0A(%0A node[%22boundary%22%3D%22administrative%22]( 33.88751,-117.83383,34.37405,-117.4057);%0A way[%22boundary%22%3D%22administrative%22]( 33.88751,-117.83383,34.37405,-117.4057);%0A relation[%22boundary%22%3D%22administrative%22]( 33.88751,-117.83383,34.37405,-117.4057);%0A);%0A(._;%3E;);%0Aout body;&info=QgisQuickOSMPlugin
2022-09-22T20:58:28     INFO    Request completed
2022-09-22T20:58:28     INFO    Checking OSM file content C:/Users/ele567/AppData/Local/Temp/request-MCUivG.osm
2022-09-22T20:58:28     INFO    The OSM file is: C:/Users/ele567/AppData/Local/Temp/request-MCUivG.osm
2022-09-22T20:58:28     CRITICAL    A critical error occurred, this is the traceback:
2022-09-22T20:58:28     CRITICAL    
2022-09-22T20:58:28     CRITICAL    base_processing_panel.py
2022-09-22T20:58:28     CRITICAL    Error: Algorithm qgis:checkvalidity not found
             
2022-09-22T20:58:28     CRITICAL     File "C:\Users/ele567/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QuickOSM\ui\base_processing_panel.py", line 59, in run_saved_query
              self._run_saved_query(data)
             
              File "C:\Users/ele567/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QuickOSM\ui\quick_query_panel.py", line 398, in _run_saved_query
              num_layers = process_quick_query(
             
              File "C:\Users/ele567/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QuickOSM\core\process.py", line 318, in process_quick_query
              return process_query(
             
              File "C:\Users/ele567/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QuickOSM\core\process.py", line 257, in process_query
              return open_file(
             
              File "C:\Users/ele567/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/ele567/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QuickOSM\core\parser\osm_parser.py", line 133, in processing_parse
              validity = processing.run(
             
              File "C:\PROGRA~1/QGIS32~1.3/apps/qgis/./python/plugins\processing\tools\general.py", line 108, in run
              return Processing.runAlgorithm(algOrName, parameters, onFinish, feedback, context)
             
              File "C:\PROGRA~1/QGIS32~1.3/apps/qgis/./python/plugins\processing\core\Processing.py", line 169, in runAlgorithm
              raise QgsProcessingException(msg)
             
2022-09-22T20:58:41     INFO    ["All OSM objects with the key 'boundary'='administrative' in the canvas or layer extent are going to be downloaded."]
2022-09-22T20:58:41     INFO    Query: boundary_administrative
2022-09-22T20:58:41     INFO    Encoded URL: https://lz4.overpass-api.de/api/interpreter?data=[out:xml] [timeout:25];%0A(%0A node[%22boundary%22%3D%22administrative%22]( 33.88751,-117.83383,34.37405,-117.4057);%0A way[%22boundary%22%3D%22administrative%22]( 33.88751,-117.83383,34.37405,-117.4057);%0A relation[%22boundary%22%3D%22administrative%22]( 33.88751,-117.83383,34.37405,-117.4057);%0A);%0A(._;%3E;);%0Aout body;&info=QgisQuickOSMPlugin
2022-09-22T20:58:49     INFO    Request completed
2022-09-22T20:58:49     INFO    Checking OSM file content C:/Users/ele567/AppData/Local/Temp/request-HJnulr.osm
2022-09-22T20:58:49     INFO    The OSM file is: C:/Users/ele567/AppData/Local/Temp/request-HJnulr.osm
2022-09-22T20:58:49     CRITICAL    A critical error occurred, this is the traceback:
2022-09-22T20:58:49     CRITICAL    
2022-09-22T20:58:49     CRITICAL    base_processing_panel.py
2022-09-22T20:58:49     CRITICAL    Error: Algorithm qgis:checkvalidity not found
             
2022-09-22T20:58:49     CRITICAL     File "C:\Users/ele567/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QuickOSM\ui\base_processing_panel.py", line 59, in run_saved_query
              self._run_saved_query(data)
             
              File "C:\Users/ele567/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QuickOSM\ui\quick_query_panel.py", line 398, in _run_saved_query
              num_layers = process_quick_query(
             
              File "C:\Users/ele567/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QuickOSM\core\process.py", line 318, in process_quick_query
              return process_query(
             
              File "C:\Users/ele567/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QuickOSM\core\process.py", line 257, in process_query
              return open_file(
             
              File "C:\Users/ele567/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/ele567/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QuickOSM\core\parser\osm_parser.py", line 133, in processing_parse
              validity = processing.run(
             
              File "C:\PROGRA~1/QGIS32~1.3/apps/qgis/./python/plugins\processing\tools\general.py", line 108, in run
              return Processing.runAlgorithm(algOrName, parameters, onFinish, feedback, context)
             
              File "C:\PROGRA~1/QGIS32~1.3/apps/qgis/./python/plugins\processing\core\Processing.py", line 169, in runAlgorithm
              raise QgsProcessingException(msg)
             

Environment

  • QuickOSM version: 2.1.1
  • QGIS version: 3.26 Buenos Aires
  • OS: Windows 10 Enterprise (64-bit)
@edogelm02 edogelm02 added the bug An identified bug label Sep 23, 2022
@Gustry
Copy link
Member

Gustry commented Sep 23, 2022

Duplicate of #352

I will keep this one open.

Go in "Plugins" => Manage and install plugins => Enable Processing again

@Gustry Gustry mentioned this issue Sep 23, 2022
@Gustry Gustry changed the title Quick OSM Not working Algorithm qgis:checkvalidity not found Sep 23, 2022
@Gustry Gustry pinned this issue Sep 23, 2022
@edogelm02
Copy link
Author

edogelm02 commented Sep 23, 2022 via email

@Gustry
Copy link
Member

Gustry commented Sep 23, 2022

In your plugin manager, go on the "Processing" plugin line, then enable it again.

@edogelm02
Copy link
Author

edogelm02 commented Sep 23, 2022 via email

@Gustry
Copy link
Member

Gustry commented Sep 23, 2022

Screenshot from 2022-09-23 18-32-24

Check your at least in "Installed" or "All" tab

@edogelm02
Copy link
Author

edogelm02 commented Sep 23, 2022 via email

@Gustry
Copy link
Member

Gustry commented Jan 30, 2023

The processing plugin is now checked again on runtime in the main process : a8474ba

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