Bug report #16487

Processing broken on QGIS 2.18.2 for macOS from KyngChaos

Added by Giovanni Manghi over 2 years ago. Updated over 2 years ago.

Status:Closed
Priority:High
Assignee:Victor Olaya
Category:Processing/Core
Affected QGIS version:2.18.2 Regression?:Yes
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:fixed/implemented
Crashes QGIS or corrupts data:No Copied to github as #:24395

Description

Not an issues with QGIS 2.14.10 from same source.

On QGIS start:

TypeError: coercing to Unicode: need string or buffer, NoneType found 
Traceback (most recent call last):
  File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 333, in startPlugin
    plugins[packageName] = package.classFactory(iface)
  File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/__init__.py", line 38, in classFactory
    return ProcessingPlugin(iface)
  File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/ProcessingPlugin.py", line 58, in __init__
    Processing.initialize()
  File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/core/Processing.py", line 148, in initialize
    Processing.addProvider(c())
  File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/core/Processing.py", line 103, in addProvider
    % (provider.getDescription(), traceback.format_exc()))
  File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/algs/saga/SagaAlgorithmProvider.py", line 123, in getDescription
    version = SagaUtils.getSagaInstalledVersion()
  File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/algs/saga/SagaUtils.py", line 130, in getSagaInstalledVersion
    commands = [os.path.join(sagaPath(), "saga_cmd -v")]
  File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/algs/saga/SagaUtils.py", line 75, in sagaPath
    if not os.path.isdir(folder):
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/genericpath.py", line 49, in isdir
    st = os.stat(s)
TypeError: coercing to Unicode: need string or buffer, NoneType found

History

#1 Updated by Giovanni Manghi over 2 years ago

see also: #16332

#2 Updated by Jürgen Fischer over 2 years ago

  • Description updated (diff)

#3 Updated by Giovanni Manghi over 2 years ago

  • Regression? set to Yes

#4 Updated by Giovanni Manghi over 2 years ago

  • Priority changed from Severe/Regression to High

#5 Updated by Giovanni Manghi over 2 years ago

  • Easy fix? set to No

#6 Updated by Larry Shaffer over 2 years ago

This should be fixed with this 4923e46a6d1cfceb93069c41b723af98d42db8a2

I believe, Kyngchaos installer just needs updated to newere 2.18 tagged code release.

#7 Updated by Giovanni Manghi over 2 years ago

  • Status changed from Open to Closed
  • Resolution set to fixed/implemented

All fine installing from brew on 10.12.4

https://github.com/OSGeo/homebrew-osgeo4mac

packages must be updated.

Also available in: Atom PDF