The OTB Provider QGis plugin is now available on QGis plugin catalog. Since QGis version 3.36, the plugin previously packaged is no longer in QGis package.
To use OTB with QGis 3.36 you need to install plugin from QGis plugin catalog (“Extensions menu –> Install/Manage Extensions” and type OTB in not-installed tab). Then follow plugin settings instructions available on Cookbook.
I get this error when trying to use “Segmentation”. “2024-05-09T16:34:03 WARNING Traceback (most recent call last):
File “C:\PROGRA~1/QGIS33~1.2/apps/qgis/./python/plugins\processing\ProcessingPlugin.py”, line 431, in executeAlgorithm
dlg = AlgorithmDialog(alg, in_place, iface.mainWindow())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:\PROGRA~1/QGIS33~1.2/apps/qgis/./python/plugins\processing\gui\AlgorithmDialog.py”, line 68, in __init__
self.setMainWidget(self.getParametersPanel(alg, self))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:\PROGRA~1/QGIS33~1.2/apps/qgis/./python/plugins\processing\gui\AlgorithmDialog.py”, line 92, in getParametersPanel
panel = ParametersPanel(parent, alg, self.in_place, self.active_layer)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:\PROGRA~1/QGIS33~1.2/apps/qgis/./python/plugins\processing\gui\ParametersPanel.py”, line 69, in __init__
self.initWidgets()
File “C:\PROGRA~1/QGIS33~1.2/apps/qgis/./python/plugins\processing\gui\ParametersPanel.py”, line 116, in initWidgets
wrapper = WidgetWrapperFactory.create_wrapper(param, self.parent())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:\PROGRA~1/QGIS33~1.2/apps/qgis/./python/plugins\processing\gui\wrappers.py”, line 1844, in create_wrapper
return WidgetWrapperFactory.create_wrapper_from_metadata(param, dialog, row, col)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:\PROGRA~1/QGIS33~1.2/apps/qgis/./python/plugins\processing\gui\wrappers.py”, line 1875, in create_wrapper_from_metadata
mod = __import__(‘.’.join(tokens[:-1]), fromlist=[tokens[-1]])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:\PROGRA~1/QGIS33~1.2/apps/qgis/./python\qgis\utils.py”, line 923, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named ‘otbprovider'” I have installed the plugin of OTB and also put the two paths of application and main folder. What is the issue here?
Hi Jiajun, your problem is similar to this issue https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/2395 . Could you please follow instructions here (update to 3.0.3) ? Thank you