[Qgis-developer] Processing plugin error on qgis start

Stefan Ziegler stefan.ziegler.de at gmail.com
Fri Jan 15 02:17:09 PST 2016


Hi

I get the following error when launching QGIS (Ubuntu 14.04, qgis master):

Couldn't load plugin processing due to an error when calling its initGui()
method

AttributeError: 'NoneType' object has no attribute 'endswith'
Traceback (most recent call last):
  File "/usr/local/qgis_master/share/qgis/python/qgis/utils.py", line 315,
in startPlugin
    plugins[packageName].initGui()
  File
"/usr/local/qgis_master/share/qgis/python/plugins/processing/ProcessingPlugin.py",
line 57, in initGui
    Processing.initialize()
  File
"/usr/local/qgis_master/share/qgis/python/plugins/processing/core/Processing.py",
line 149, in initialize
    Processing.loadFromProviders()
  File
"/usr/local/qgis_master/share/qgis/python/plugins/processing/core/Processing.py",
line 164, in loadFromProviders
    Processing.loadAlgorithms()
  File
"/usr/local/qgis_master/share/qgis/python/plugins/processing/core/Processing.py",
line 199, in loadAlgorithms
    Processing.updateProviders()
  File
"/usr/local/qgis_master/share/qgis/python/plugins/processing/core/Processing.py",
line 172, in updateProviders
    provider.loadAlgorithms()
  File
"/usr/local/qgis_master/share/qgis/python/plugins/processing/core/AlgorithmProvider.py",
line 54, in loadAlgorithms
    self._loadAlgorithms()
  File
"/usr/local/qgis_master/share/qgis/python/plugins/processing/algs/otb/OTBAlgorithmProvider.py",
line 61, in _loadAlgorithms
    version = OTBUtils.getInstalledVersion(True)
  File
"/usr/local/qgis_master/share/qgis/python/plugins/processing/algs/otb/OTBUtils.py",
line 138, in getInstalledVersion
    commands = [os.path.join(otbPath(), "otbcli_Smoothing")]
  File "/usr/lib/python2.7/posixpath.py", line 77, in join
    elif path == '' or path.endswith('/'):
AttributeError: 'NoneType' object has no attribute 'endswith'

regards
Stefan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20160115/eee42f86/attachment.html>


More information about the Qgis-developer mailing list