[QGIS-Developer] Python error in processing on 2.99 startup

Tim Sutton tim at kartoza.com
Wed Nov 29 06:39:14 PST 2017


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 <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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20171129/e6e5545d/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: KartozaNewLogoThumbnail.jpg
Type: image/jpeg
Size: 6122 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20171129/e6e5545d/attachment-0001.jpg>


More information about the QGIS-Developer mailing list