[Qgis-developer] QGIS 2.18 on OSX

Paolo Cavallini cavallini at faunalia.it
Sun Mar 12 15:02:46 PDT 2017


Hi all,
I'm quickly testing QGIS 2.18 on OSX, and I'm finding several annoyances:
* the user is presented a notice about a new version being available
(2.18.4), but when visiting the download page only 2.18.2 is available
* Processing throws an error:
===
Couldn't load plugin processing due to an error when calling its
classFactory() method

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


Python version: 2.7.10 (default, Jul 30 2016, 19:40:32) [GCC 4.2.1
Compatible Apple LLVM 8.0.0 (clang-800.0.34)]
QGIS version: 2.18.2 Las Palmas, exported

Python Path:

/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing
/Applications/QGIS.app/Contents/MacOS/../Resources/python
/Users/ToscaMac/.qgis2/python
/Users/ToscaMac/.qgis2/python/plugins
/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins
/Library/Frameworks/SQLite3.framework/Versions/C/Python/2.7
/Library/Frameworks/GEOS.framework/Versions/3/Python/2.7/site-packages
/Library/Python/2.7/site-packages/numpy-override
/Library/Python/2.7/site-packages/matplotlib-override
/Library/Frameworks/GDAL.framework/Versions/2.1/Python/2.7/site-packages
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python27.zip
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-old
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload
/Library/Python/2.7/site-packages
/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python
/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC
/Users/ToscaMac/.qgis2//python
/Users/ToscaMac/.qgis2/python/plugins
===
Any hope to improve this? I'm available for help and further testing.
All the best.
-- 
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
https://www.google.com/trends/explore?date=all&geo=IT&q=qgis,arcgis


More information about the Qgis-developer mailing list