Skip to content

Algorithm qgis:checkvalidity not found #422

Closed

Description

@edogelm02

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)

Activity

  1. added
    bug
    on Sep 23, 2022
  2. Gustry commented on Sep 23, 2022

    @Gustry
    Collaborator

    Duplicate of #352

    I will keep this one open.

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

  3. changed the title [-]Quick OSM Not working[/-] [+]Algorithm qgis:checkvalidity not found[/+] on Sep 23, 2022
  4. pinned this issue on Sep 23, 2022
  5. edogelm02 commented on Sep 23, 2022

    @edogelm02
    Author
  6. Gustry commented on Sep 23, 2022

    @Gustry
    Collaborator

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

  7. edogelm02 commented on Sep 23, 2022

    @edogelm02
    Author
  8. Gustry commented on Sep 23, 2022

    @Gustry
    Collaborator

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

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

  9. edogelm02 commented on Sep 23, 2022

    @edogelm02
    Author
  10. Gustry commented on Jan 30, 2023

    @Gustry
    Collaborator

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

  11. reopened this on Mar 23, 2023
  12. deleted a comment from abegail232002 on Apr 2, 2024
  13. added 2 commits that reference this issue on Dec 16, 2024
    3e6496f
    d4974d5
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