6

Whitebox Tools has disappeared from the Processing Toolbox on QGIS. I've reinstalled etc. but no luck. Could this be due to a recent update glitch?

2
  • 3
    Have you installed the binaries? "This plugin provides the QGIS interface with WBT, however it does not include the WBT binary itself. Before using the tools, you will need to download and install them from https://www.whiteboxgeo.com/."
    – user30184
    Commented Aug 7 at 11:29
  • Which OS & version of QGIS are you using? I am on Windows 11/QGIS 3.34.5 and I have the same problem. The "fix" was to revert back to the 1.0.9 plugin (1.1.1 & 1.1.0 both seem to have the same issue). Commented Aug 14 at 0:15

3 Answers 3

5

I no longer release the QGIS plugin for WhiteboxTools with the tool description files. Instead these are automatically generated by communicating with the WhiteboxTools binary file (i.e. the backend). This is a better approach because it means that the available tools and their parameters will always be in step with the backend. However, when you first install the plugin, it does not know where to find your installed WhiteboxTools backend (which you need to install separately) and therefore, there aren't any tool description files generated and the plugin won't appear in the QGIS Processing toolbox. Therefore, after installing the plugin, you must go to the QGIS settings for the toolbox and update the path to the WhiteboxTools executable file (either whitebox_tools.exe or simply whitebox_tools depending on the OS), which will be contained within a WBT folder.

enter image description here

Once you've done this, the plugin should generate the description files (this can take a few minutes) and the plugin will appear in the Processing toolbox. There is a warning to this effect that is issued when you first install the plugin, and the plugin description also describes this process, but I suppose that many users won't necessarily see them causing confusion. My apologies.

enter image description here

enter image description here

Of course, you can also avoid all of this by using the next generation QGIS plugin for Whitebox, called Whitebox Workflows for QGIS, which streamlines the installation process and is built atop the Whitebox Workflows codebase instead, with all the advantages that that offers. It's the solution that I prefer, and I developed both the QGIS plugins and the backends for both WhiteboxTools and Whitebox Workflows.

2

Keep in mind that there are two plugins related to WhiteboxTools scope:

The first one is visible in the QGIS's Processing Toolbox (Ctrl+Alt+T)

toolbox

However, the second one is not. To use it, I can suggest using this plugin via Python Console (Ctrl+Alt+P) as follows:

from qgis.utils import plugins
from plugins.wbt_for_qgis.plugin import WbtPlugin

wbt = WbtPlugin()

I am utilizing QGIS 3.34.8-Prizren.

1

If you are using version 1.10 of the plugin, uninstall it and install version 1.09. That fixed the issue for me. Version 1.10 was released 2 days ago and it looks like it contained a bug of some sort.

3

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.