3liz / QuickOSM

QGIS plugin to fetch OSM data with the Overpass API
GNU General Public License v2.0
184 stars 55 forks source link

Algorithm qgis:checkvalidity not found #422

Open edogelm02 opened 2 years ago

edogelm02 commented 2 years ago

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

Gustry commented 2 years ago

Duplicate of #352

I will keep this one open.

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

edogelm02 commented 2 years ago

I don’t see a “Enable Processing again” anywhere:

Gustry commented 2 years ago

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

edogelm02 commented 2 years ago

I cannot find the "Processing" plugin line, then enable it again. Can you please send a snapshot

Gustry commented 2 years ago

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

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

edogelm02 commented 2 years ago

Wow, that was it. Thanks a million! I would of never figured that out with this help. I have no idea how that got unchecked to begin with.

Eric Elms

Gustry commented 1 year ago

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