[MacPorts] #64226: qgis3 Permission Error
MacPorts
noreply at macports.org
Wed Dec 15 21:52:20 UTC 2021
#64226: qgis3 Permission Error
-------------------------------------+--------------------
Reporter: abruto | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: qgis3, Permission error | Port:
-------------------------------------+--------------------
I work on an Apple M1 with Monterey.
When starting qgis this error comes up.
It runs ok after that but every script in the program fails with a similar
error
{{{
PermissionError: [Errno 13] Permission denied:
'/opt/local/share/grass78/etc/colors/grass'
Traceback (most recent call last):
File
"/Applications/MacPorts/QGIS3.app/Contents/MacOS/../Resources/python/plugins/grassprovider/Grass7AlgorithmProvider.py",
line 106, in loadAlgorithms
version = Grass7Utils.installedVersion(True)
File
"/Applications/MacPorts/QGIS3.app/Contents/MacOS/../Resources/python/plugins/grassprovider/Grass7Utils.py",
line 116, in installedVersion
with subprocess.Popen(
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py",
line 951, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py",
line 1821, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
PermissionError: [Errno 13] Permission denied:
'/opt/local/share/grass78/etc/colors/grass'
Python-Version: 3.9.9 (main, Nov 16 2021, 07:57:58) [Clang 13.0.0
(clang-1300.0.29.3)]
QGIS-Version: 3.22.0-Białowieża Białowieża, exported
Python-Pfad:
/Applications/MacPorts/QGIS3.app/Contents/MacOS/../Resources/python
/Users/constantin/Library/Application
Support/QGIS/QGIS3/profiles/default/python
/Users/constantin/Library/Application
Support/QGIS/QGIS3/profiles/default/python/plugins
/Applications/MacPorts/QGIS3.app/Contents/MacOS/../Resources/python/plugins
/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python39.zip
/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
/lib-dynload
/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
/site-packages
/Users/constantin/Library/Application
Support/QGIS/QGIS3/profiles/default/python
}}}
--
Ticket URL: <https://trac.macports.org/ticket/64226>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list