[X] I searched for other issues and couldn't find a solution or duplication
[X] I already searched in Google and didn't find any good information or help
[X] I looked at the docs and didn't see anything to help
What happened?
Main Error
Unable to configure handler 'file'
Traceback
Traceback (most recent call last):
File "/Applications/anaconda3/lib/python3.11/logging/config.py", line 573, in configure
handler = self.configure_handler(handlers[name])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Applications/anaconda3/lib/python3.11/logging/config.py", line 758, in configure_handler
result = factory(**kwargs)
^^^^^^^^^^^^^^^^^
File "/Applications/anaconda3/lib/python3.11/logging/handlers.py", line 155, in init
BaseRotatingHandler.init(self, filename, mode, encoding=encoding,
File "/Applications/anaconda3/lib/python3.11/logging/handlers.py", line 58, in init
logging.FileHandler.init(self, filename, mode=mode,
File "/Applications/anaconda3/lib/python3.11/logging/init.py", line 1181, in init
StreamHandler.init(self, self._open())
^^^^^^^^^^^^
File "/Applications/anaconda3/lib/python3.11/logging/init.py", line 1213, in _open
return open_func(self.baseFilename, self.mode,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
PermissionError: [Errno 1] Operation not permitted: '/Users/$User/.anaconda/navigator/logs/navigator.log'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Applications/anaconda3/lib/python3.11/site-packages/anaconda_navigator/exceptions.py", line 109, in exception_handler
return_value = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Applications/anaconda3/lib/python3.11/site-packages/anaconda_navigator/app/start.py", line 100, in start_app
setup_logger()
File "/Applications/anaconda3/lib/python3.11/site-packages/anaconda_navigator/utils/logs/init.py", line 25, in setup_logger
logging.config.dictConfig(LOGGER_CONFIG.dict_config)
File "/Applications/anaconda3/lib/python3.11/logging/config.py", line 823, in dictConfig
dictConfigClass(config).configure()
File "/Applications/anaconda3/lib/python3.11/logging/config.py", line 580, in configure
raise ValueError('Unable to configure handler '
ValueError: Unable to configure handler 'file'
This is issue can be resolved by re-installing anaconda and selecting 'only for me' option . The reason is when we select install for all users in anaconda ,currently anaconda doesn't support it.
Checklist
What happened?
Main Error Unable to configure handler 'file' Traceback Traceback (most recent call last): File "/Applications/anaconda3/lib/python3.11/logging/config.py", line 573, in configure handler = self.configure_handler(handlers[name]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Applications/anaconda3/lib/python3.11/logging/config.py", line 758, in configure_handler result = factory(**kwargs) ^^^^^^^^^^^^^^^^^ File "/Applications/anaconda3/lib/python3.11/logging/handlers.py", line 155, in init BaseRotatingHandler.init(self, filename, mode, encoding=encoding, File "/Applications/anaconda3/lib/python3.11/logging/handlers.py", line 58, in init logging.FileHandler.init(self, filename, mode=mode, File "/Applications/anaconda3/lib/python3.11/logging/init.py", line 1181, in init StreamHandler.init(self, self._open()) ^^^^^^^^^^^^ File "/Applications/anaconda3/lib/python3.11/logging/init.py", line 1213, in _open return open_func(self.baseFilename, self.mode, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ PermissionError: [Errno 1] Operation not permitted: '/Users/$User/.anaconda/navigator/logs/navigator.log'
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "/Applications/anaconda3/lib/python3.11/site-packages/anaconda_navigator/exceptions.py", line 109, in exception_handler return_value = func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Applications/anaconda3/lib/python3.11/site-packages/anaconda_navigator/app/start.py", line 100, in start_app setup_logger() File "/Applications/anaconda3/lib/python3.11/site-packages/anaconda_navigator/utils/logs/init.py", line 25, in setup_logger logging.config.dictConfig(LOGGER_CONFIG.dict_config) File "/Applications/anaconda3/lib/python3.11/logging/config.py", line 823, in dictConfig dictConfigClass(config).configure() File "/Applications/anaconda3/lib/python3.11/logging/config.py", line 580, in configure raise ValueError('Unable to configure handler ' ValueError: Unable to configure handler 'file'
Conda info
Conda config
Conda list
Additional Context
No response