{"action":"created","issue":{"url":"https://api.github.com/repos/OSGeo/homebrew-osgeo4mac/issues/203","repository_url":"https://api.github.com/repos/OSGeo/homebrew-osgeo4mac","labels_url":"https://api.github.com/repos/OSGeo/homebrew-osgeo4mac/issues/203/labels{/name}","comments_url":"https://api.github.com/repos/OSGeo/homebrew-osgeo4mac/issues/203/comments","events_url":"https://api.github.com/repos/OSGeo/homebrew-osgeo4mac/issues/203/events","html_url":"https://github.com/OSGeo/homebrew-osgeo4mac/issues/203","id":200372161,"number":203,"title":"QGIS2 - could not load \"processing\" plugin","user":{"login":"rkrug","id":487172,"avatar_url":"https://avatars.githubusercontent.com/u/487172?v=3","gravatar_id":"","url":"https://api.github.com/users/rkrug","html_url":"https://github.com/rkrug","followers_url":"https://api.github.com/users/rkrug/followers","following_url":"https://api.github.com/users/rkrug/following{/other_user}","gists_url":"https://api.github.com/users/rkrug/gists{/gist_id}","starred_url":"https://api.github.com/users/rkrug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkrug/subscriptions","organizations_url":"https://api.github.com/users/rkrug/orgs","repos_url":"https://api.github.com/users/rkrug/repos","events_url":"https://api.github.com/users/rkrug/events{/privacy}","received_events_url":"https://api.github.com/users/rkrug/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":21,"created_at":"2017-01-12T13:53:05Z","updated_at":"2017-02-02T13:15:43Z","closed_at":null,"body":"I installed qgis2 on Sierrra, and I get the following error when starting:\r\n\r\n```\r\nCouldn't load plugin processing due to an error when calling its classFactory() method \r\n\r\nTypeError: coercing to Unicode: need string or buffer, NoneType found \r\nTraceback (most recent call last):\r\n  File \"/usr/local/Cellar/qgis2/2.18.2/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py\", line 333, in startPlugin\r\n    plugins[packageName] = package.classFactory(iface)\r\n  File \"/usr/local/Cellar/qgis2/2.18.2/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/__init__.py\", line 38, in classFactory\r\n    return ProcessingPlugin(iface)\r\n  File \"/usr/local/Cellar/qgis2/2.18.2/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/ProcessingPlugin.py\", line 58, in __init__\r\n    Processing.initialize()\r\n  File \"/usr/local/Cellar/qgis2/2.18.2/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/core/Processing.py\", line 148, in initialize\r\n    Processing.addProvider(c())\r\n  File \"/usr/local/Cellar/qgis2/2.18.2/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/core/Processing.py\", line 103, in addProvider\r\n    % (provider.getDescription(), traceback.format_exc()))\r\n  File \"/usr/local/Cellar/qgis2/2.18.2/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/algs/saga/SagaAlgorithmProvider.py\", line 123, in getDescription\r\n    version = SagaUtils.getSagaInstalledVersion()\r\n  File \"/usr/local/Cellar/qgis2/2.18.2/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/algs/saga/SagaUtils.py\", line 130, in getSagaInstalledVersion\r\n    commands = [os.path.join(sagaPath(), \"saga_cmd -v\")]\r\n  File \"/usr/local/Cellar/qgis2/2.18.2/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/algs/saga/SagaUtils.py\", line 75, in sagaPath\r\n    if not os.path.isdir(folder):\r\n  File \"/usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/lib/python2.7/genericpath.py\", line 49, in isdir\r\n    st = os.stat(s)\r\nTypeError: coercing to Unicode: need string or buffer, NoneType found\r\n\r\n\r\nPython version: 2.7.13 (default, Dec 18 2016, 07:03:39) [GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.42.1)] \r\nQGIS version: 2.18.2 Las Palmas, exported \r\n\r\nPython Path:\r\n/usr/local/Cellar/qgis2/2.18.2/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing\r\n/usr/local/Cellar/qgis2/2.18.2/QGIS.app/Contents/MacOS/../Resources/python\r\n/Users/rainerkrug/.qgis2/python\r\n/Users/rainerkrug/.qgis2/python/plugins\r\n/usr/local/Cellar/qgis2/2.18.2/QGIS.app/Contents/MacOS/../Resources/python/plugins\r\n/usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/geeknote-0.2a-py2.7.egg\r\n/usr/local/opt/gdal2-python/lib/python2.7/site-packages\r\n/usr/local/lib/qt-4/python2.7/site-packages\r\n/usr/local/opt/qgis2/lib/python2.7/site-packages\r\n/usr/local/lib/python2.7/site-packages\r\n/usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/lib/python27.zip\r\n/usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/lib/python2.7\r\n/usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin\r\n/usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac\r\n/usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages\r\n/usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk\r\n/usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-old\r\n/usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload\r\n/Users/rainerkrug/Library/Python/2.7/lib/python/site-packages\r\n/usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages\r\n/usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/geos\r\n/usr/local/Cellar/matplotlib/1.5.1/libexec/lib/python2.7/site-packages\r\n/usr/local/Cellar/numpy/1.11.2/libexec/nose/lib/python2.7/site-packages\r\n/usr/local/opt/libxml2/lib/python2.7/site-packages\r\n/usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gtk-2.0\r\n/usr/local/lib/python2.7/site-packages/gtk-2.0\r\n/usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/wx-3.0-osx_cocoa\r\n/Users/rainerkrug/.qgis2//python\r\n```\r\n\r\nThe same happens if Y start from the wrapper script.\r\n\r\nAny suggestions?\r\n"},"comment":{"url":"https://api.github.com/repos/OSGeo/homebrew-osgeo4mac/issues/comments/276954003","html_url":"https://github.com/OSGeo/homebrew-osgeo4mac/issues/203#issuecomment-276954003","issue_url":"https://api.github.com/repos/OSGeo/homebrew-osgeo4mac/issues/203","id":276954003,"user":{"login":"rkrug","id":487172,"avatar_url":"https://avatars.githubusercontent.com/u/487172?v=3","gravatar_id":"","url":"https://api.github.com/users/rkrug","html_url":"https://github.com/rkrug","followers_url":"https://api.github.com/users/rkrug/followers","following_url":"https://api.github.com/users/rkrug/following{/other_user}","gists_url":"https://api.github.com/users/rkrug/gists{/gist_id}","starred_url":"https://api.github.com/users/rkrug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkrug/subscriptions","organizations_url":"https://api.github.com/users/rkrug/orgs","repos_url":"https://api.github.com/users/rkrug/repos","events_url":"https://api.github.com/users/rkrug/events{/privacy}","received_events_url":"https://api.github.com/users/rkrug/received_events","type":"User","site_admin":false},"created_at":"2017-02-02T13:15:43Z","updated_at":"2017-02-02T13:15:43Z","body":"@pat-s @dakcarto This is really strange. I assume some python modules which are not up to date? Do you have egis installed via cask? Maybe some interference?\r\n"}}
{"actor":{"display_login":"rkrug"}}