[issue41005] Permission denied: 'xdg-settings' when executing 'jupyter notebook' from command line

Ronald Oussoren report at bugs.python.org
Sun Jun 21 05:18:43 EDT 2020


Ronald Oussoren <ronaldoussoren at mac.com> added the comment:

I've commented on the attached PR.

IMHO a correct fix is to catch and ignore PermissionError when calling xdg-settings (on all platforms). An xdg-settings executable that cannot be started due to permission problems is similar to that executable not being available at all.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41005>
_______________________________________


More information about the Python-bugs-list mailing list