Hi Tim, Ran into the same thing today, but with more output on the error:
PermissionError: [Errno 13] Permission denied: '/usr/local/opt/grass7/grass-base/etc/colors/grass' Changing line # 108 in: python/plugins/processing/algs/grass7/Grass7Utils.py from: shell=False, to: shell=True if isMac() else False, fixes the issue for me. Processing loads and GRASS algs open. (Not sure if True is needed for other platforms; untested.) Fix not pushed. Please verify on your setup first (mine is macOS 10.11.6). Thanks! Regards, Larry Shaffer Dakota Cartography Black Hills, South Dakota ---------------------------------- Boundless Desktop and QGIS Support/Development Boundless Spatial - http://boundlessgeo.com lshaf...@boundlessgeo.com On Wed, Nov 29, 2017 at 7:39 AM, Tim Sutton <t...@kartoza.com> wrote: > Hi All > > Its been a few days since I pulled from master - now I am getting the > error below on startup. Does anyone else get it? (Building on MacOS here): > > Couldn't load plugin 'processing' due to an error when calling its > initGui() method > > PermissionError: [Errno 13] Permission denied > > Traceback (most recent call last): > File > "/Users/timlinux/dev/cpp/QGIS-QtCreator-Build/output/python/qgis/utils.py", > line 345, in startPlugin > plugins[packageName].initGui() > File > "/Users/timlinux/dev/cpp/QGIS-QtCreator-Build/output/python/plugins/processing/ProcessingPlugin.py", > line 178, in initGui > self.toolbox = ProcessingToolbox() > File > "/Users/timlinux/dev/cpp/QGIS-QtCreator-Build/output/python/plugins/processing/gui/ProcessingToolbox.py", > line 93, in __init__ > self.fillTree() > File > "/Users/timlinux/dev/cpp/QGIS-QtCreator-Build/output/python/plugins/processing/gui/ProcessingToolbox.py", > line 317, in fillTree > self.fillTreeUsingProviders() > File > "/Users/timlinux/dev/cpp/QGIS-QtCreator-Build/output/python/plugins/processing/gui/ProcessingToolbox.py", > line 382, in fillTreeUsingProviders > providerItem = TreeProviderItem(provider, self.algorithmTree, self) > File > "/Users/timlinux/dev/cpp/QGIS-QtCreator-Build/output/python/plugins/processing/gui/ProcessingToolbox.py", > line 513, in __init__ > self.setToolTip(0, self.provider.longName()) > File > "/Users/timlinux/dev/cpp/QGIS-QtCreator-Build/output/python/plugins/processing/algs/grass7/Grass7AlgorithmProvider.py", > line 122, in longName > version = Grass7Utils.installedVersion() > File > "/Users/timlinux/dev/cpp/QGIS-QtCreator-Build/output/python/plugins/processing/algs/grass7/Grass7Utils.py", > line 113, in installedVersion > startupinfo=si if isWindows() else None > File > "/usr/local/opt/python3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py", > line 707, in __init__ > restore_signals, start_new_session) > File > "/usr/local/opt/python3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py", > line 1333, in _execute_child > raise child_exception_type(errno_num, err_msg) > PermissionError: [Errno 13] Permission denied > > > Python version: 3.6.2 (default, Jul 17 2017, 16:44:45) [GCC 4.2.1 > Compatible Apple LLVM 8.1.0 (clang-802.0.42)] > QGIS version: 2.99.0-Master Master, e8213b8e41 > > Python Path: > > - /Users/timlinux/dev/cpp/QGIS-QtCreator-Build/output/python/ > plugins/processing > - /Users/timlinux/dev/cpp/QGIS-QtCreator-Build/output/python > - /Users/timlinux/Library/Application Support/QGIS/QGIS3/profiles/ > default/python > - /Users/timlinux/Library/Application Support/QGIS/QGIS3/profiles/ > default/python/plugins > - /Users/timlinux/dev/cpp/QGIS-QtCreator-Build/output/python/plugins > - /Users/timlinux/dev/cpp/QGIS-QtCreator-Build/output/bin/$PYTHONPATH > - /usr/local/opt/gdal2-python/lib/python3.6/site-packages > - /usr/local/opt/python3/Frameworks/Python.framework/ > Versions/3.6/lib/python36.zip > - /usr/local/opt/python3/Frameworks/Python.framework/ > Versions/3.6/lib/python3.6 > - /usr/local/opt/python3/Frameworks/Python.framework/ > Versions/3.6/lib/python3.6/lib-dynload > - /usr/local/opt/python3/Frameworks/Python.framework/ > Versions/3.6/lib/python3.6/site-packages > - /usr/local/opt/python3/Frameworks/Python.framework/ > Versions/3.6/lib/python3.6/site-packages/pycharm-debug-py3k.egg > - /Users/timlinux/Library/Application Support/QGIS/QGIS3/profiles/ > default/python > > > — > > > > > > > *Tim Sutton* > > *Co-founder:* Kartoza > *Project chair:* QGIS.org > > Visit http://kartoza.com to find out about open source: > > Desktop GIS programming services > Geospatial web development > GIS Training > Consulting Services > > *Skype*: timlinux > *IRC:* timlinux on #qgis at freenode.net > > > _______________________________________________ > QGIS-Developer mailing list > QGIS-Developer@lists.osgeo.org > List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer >
_______________________________________________ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer