I would like to know to do with this error, to manage Jupiter Note.
[W 2024-10-09 09:26:12.067 ServerApp] A _jupyter_server_extension_points
function was not found in jupyter_lsp. Instead, a _jupyter_server_extension_paths
function was found and will be used for now. This function name will be deprecated in future releases of Jupyter Server.
[W 2024-10-09 09:26:12.286 ServerApp] A _jupyter_server_extension_points
function was not found in notebook_shim. Instead, a _jupyter_server_extension_paths
function was found and will be used for now. This function name will be deprecated in future releases of Jupyter Server.
[I 2024-10-09 09:26:14.464 ServerApp] Extension package panel.io.jupyter_server_extension took 2.1802s to import
[I 2024-10-09 09:26:14.471 ServerApp] jupyter_lsp | extension was successfully linked.
[I 2024-10-09 09:26:14.471 ServerApp] jupyter_server_terminals | extension was successfully linked.
[I 2024-10-09 09:26:14.486 ServerApp] jupyterlab | extension was successfully linked.
[I 2024-10-09 09:26:14.506 ServerApp] notebook | extension was successfully linked.
[W 2024-10-09 09:26:14.520 ServerApp] notebook_shim | error linking extension: [Errno 13] Permission denied: ‘C:\Users\com05169\AppData\Roaming\jupyter\runtime\jupyter_cookie_secret’
Traceback (most recent call last):
File “C:\Users\com05169\AppData\Local\anaconda3\Lib\site-packages\traitlets\traitlets.py”, line 632, in get
value = obj._trait_values[self.name]
KeyError: 'cookie_secret'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\com05169\AppData\Local\anaconda3\Lib\site-packages\jupyter_server\extension\manager.py", line 346, in link_extension
extension.link_all_points(self.serverapp)
File "C:\Users\com05169\AppData\Local\anaconda3\Lib\site-packages\jupyter_server\extension\manager.py", line 228, in link_all_points
self.link_point(point_name, serverapp)
File "C:\Users\com05169\AppData\Local\anaconda3\Lib\site-packages\jupyter_server\extension\manager.py", line 218, in link_point
point.link(serverapp)
File "C:\Users\com05169\AppData\Local\anaconda3\Lib\site-packages\jupyter_server\extension\manager.py", line 140, in link
linker(serverapp)
File "C:\Users\com05169\AppData\Local\anaconda3\Lib\site-packages\notebook_shim\nbserver.py", line 109, in _link_jupyter_server_extension
members = diff_members(serverapp, nbapp)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\com05169\AppData\Local\anaconda3\Lib\site-packages\notebook_shim\nbserver.py", line 62, in diff_members
m1 = public_members(obj1)
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\com05169\AppData\Local\anaconda3\Lib\site-packages\notebook_shim\nbserver.py", line 56, in public_members
members = inspect.getmembers(obj)
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\com05169\AppData\Local\anaconda3\Lib\inspect.py", line 608, in getmembers
return _getmembers(object, predicate, getattr)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\com05169\AppData\Local\anaconda3\Lib\inspect.py", line 586, in _getmembers
value = getter(object, key)
^^^^^^^^^^^^^^^^^^^
File "C:\Users\com05169\AppData\Local\anaconda3\Lib\site-packages\traitlets\traitlets.py", line 687, in __get__
return t.cast(G, self.get(obj, cls)) # the G should encode the Optional
^^^^^^^^^^^^^^^^^^
File "C:\Users\com05169\AppData\Local\anaconda3\Lib\site-packages\traitlets\traitlets.py", line 635, in get
default = obj.trait_defaults(self.name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\com05169\AppData\Local\anaconda3\Lib\site-packages\traitlets\traitlets.py", line 1897, in trait_defaults
return t.cast(Sentinel, self._get_trait_default_generator(names[0])(self))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\com05169\AppData\Local\anaconda3\Lib\site-packages\traitlets\traitlets.py", line 1241, in __call__
return self.func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\com05169\AppData\Local\anaconda3\Lib\site-packages\jupyter_server\serverapp.py", line 1153, in _default_cookie_secret
with open(self.cookie_secret_file, "rb") as f:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
PermissionError: [Errno 13] Permission denied: 'C:\\Users\\com05169\\AppData\\Roaming\\jupyter\\runtime\\jupyter_cookie_secret'
[I 2024-10-09 09:26:14.528 ServerApp] panel.io.jupyter_server_extension | extension was successfully linked.
Traceback (most recent call last):
File "C:\Users\com05169\AppData\Local\anaconda3\Lib\site-packages\traitlets\traitlets.py", line 632, in get
value = obj._trait_values[self.name]
~~~~~~~~~~~~~~~~~^^^^^^^^^^^
KeyError: 'cookie_secret'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\com05169\AppData\Local\anaconda3\Scripts\jupyter-notebook-script.py", line 10, in
sys.exit(main())
^^^^^^
File "C:\Users\com05169\AppData\Local\anaconda3\Lib\site-packages\jupyter_server\extension\application.py", line 616, in launch_instance
serverapp = cls.initialize_server(argv=args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\com05169\AppData\Local\anaconda3\Lib\site-packages\jupyter_server\extension\application.py", line 586, in initialize_server
serverapp.initialize(
File "C:\Users\com05169\AppData\Local\anaconda3\Lib\site-packages\traitlets\config\application.py", line 118, in inner
return method(app, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\com05169\AppData\Local\anaconda3\Lib\site-packages\jupyter_server\serverapp.py", line 2756, in initialize
self.init_webapp()
File "C:\Users\com05169\AppData\Local\anaconda3\Lib\site-packages\jupyter_server\serverapp.py", line 2236, in init_webapp
self.web_app = ServerWebApplication(
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\com05169\AppData\Local\anaconda3\Lib\site-packages\jupyter_server\serverapp.py", line 276, in __init__
settings = self.init_settings(
^^^^^^^^^^^^^^^^^^^
File "C:\Users\com05169\AppData\Local\anaconda3\Lib\site-packages\jupyter_server\serverapp.py", line 427, in init_settings
"cookie_secret": jupyter_app.cookie_secret,
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\com05169\AppData\Local\anaconda3\Lib\site-packages\traitlets\traitlets.py", line 687, in __get__
return t.cast(G, self.get(obj, cls)) # the G should encode the Optional
^^^^^^^^^^^^^^^^^^
File "C:\Users\com05169\AppData\Local\anaconda3\Lib\site-packages\traitlets\traitlets.py", line 635, in get
default = obj.trait_defaults(self.name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\com05169\AppData\Local\anaconda3\Lib\site-packages\traitlets\traitlets.py", line 1897, in trait_defaults
return t.cast(Sentinel, self._get_trait_default_generator(names[0])(self))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\com05169\AppData\Local\anaconda3\Lib\site-packages\traitlets\traitlets.py", line 1241, in __call__
return self.func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\com05169\AppData\Local\anaconda3\Lib\site-packages\jupyter_server\serverapp.py", line 1153, in _default_cookie_secret
with open(self.cookie_secret_file, "rb") as f:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
PermissionError: [Errno 13] Permission denied: 'C:\\Users\\com05169\\AppData\\Roaming\\jupyter\\runtime\\jupyter_cookie_secret'
Please, Can you help me?