[Python-modules-team] Bug#966006: jupyter-notebook: Service crashes

Nicolas Patrois nicolas.patrois at gmail.com
Wed Jul 22 06:55:01 BST 2020


Package: jupyter-notebook
Version: 6.0.3-3
Severity: minor

Dear Maintainer,


The jupyter service seems to crash, according to these systemd logs:

juil. 22 07:47:10 nicolas.home jupyter-notebook[10658]: Traceback (most recent
call last):
juil. 22 07:47:10 nicolas.home jupyter-notebook[10658]:   File
"/usr/lib/python3/dist-packages/traitlets/traitlets.py", line 528, in get
juil. 22 07:47:10 nicolas.home jupyter-notebook[10658]:     value =
obj._trait_values[self.name]
juil. 22 07:47:10 nicolas.home jupyter-notebook[10658]: KeyError: 'runtime_dir'
juil. 22 07:47:10 nicolas.home jupyter-notebook[10658]: During handling of the
above exception, another exception occurred:
juil. 22 07:47:10 nicolas.home jupyter-notebook[10658]: Traceback (most recent
call last):
juil. 22 07:47:10 nicolas.home jupyter-notebook[10658]:   File
"/usr/bin/jupyter-notebook", line 11, in <module>
juil. 22 07:47:10 nicolas.home jupyter-notebook[10658]:
load_entry_point('notebook==6.0.3', 'console_scripts', 'jupyter-notebook')()
juil. 22 07:47:10 nicolas.home jupyter-notebook[10658]:   File
"/usr/lib/python3/dist-packages/jupyter_core/application.py", line 270, in
launch_instance
juil. 22 07:47:10 nicolas.home jupyter-notebook[10658]:     return
super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)
juil. 22 07:47:10 nicolas.home jupyter-notebook[10658]:   File
"/usr/lib/python3/dist-packages/traitlets/config/application.py", line 663, in
launch_instance
juil. 22 07:47:10 nicolas.home jupyter-notebook[10658]:
app.initialize(argv)
juil. 22 07:47:10 nicolas.home jupyter-notebook[10658]:   File "<decorator-
gen-7>", line 2, in initialize
juil. 22 07:47:10 nicolas.home jupyter-notebook[10658]:   File
"/usr/lib/python3/dist-packages/traitlets/config/application.py", line 87, in
catch_config_error
juil. 22 07:47:10 nicolas.home jupyter-notebook[10658]:     return method(app,
*args, **kwargs)
juil. 22 07:47:10 nicolas.home jupyter-notebook[10658]:   File
"/usr/lib/python3/dist-packages/notebook/notebookapp.py", line 1766, in
initialize
juil. 22 07:47:10 nicolas.home jupyter-notebook[10658]:
self.init_configurables()
juil. 22 07:47:10 nicolas.home jupyter-notebook[10658]:   File
"/usr/lib/python3/dist-packages/notebook/notebookapp.py", line 1380, in
init_configurables
juil. 22 07:47:10 nicolas.home jupyter-notebook[10658]:
connection_dir=self.runtime_dir,
juil. 22 07:47:10 nicolas.home jupyter-notebook[10658]:   File
"/usr/lib/python3/dist-packages/traitlets/traitlets.py", line 556, in __get__
juil. 22 07:47:10 nicolas.home jupyter-notebook[10658]:     return
self.get(obj, cls)
juil. 22 07:47:10 nicolas.home jupyter-notebook[10658]:   File
"/usr/lib/python3/dist-packages/traitlets/traitlets.py", line 535, in get
juil. 22 07:47:10 nicolas.home jupyter-notebook[10658]:     value =
self._validate(obj, dynamic_default())
juil. 22 07:47:10 nicolas.home jupyter-notebook[10658]:   File
"/usr/lib/python3/dist-packages/jupyter_core/application.py", line 100, in
_runtime_dir_default
juil. 22 07:47:10 nicolas.home jupyter-notebook[10658]:
ensure_dir_exists(rd, mode=0o700)
juil. 22 07:47:10 nicolas.home jupyter-notebook[10658]:   File
"/usr/lib/python3/dist-packages/jupyter_core/utils/__init__.py", line 13, in
ensure_dir_exists
juil. 22 07:47:10 nicolas.home jupyter-notebook[10658]:     os.makedirs(path,
mode=mode)
juil. 22 07:47:10 nicolas.home jupyter-notebook[10658]:   File
"/usr/lib/python3.8/os.py", line 213, in makedirs
juil. 22 07:47:10 nicolas.home jupyter-notebook[10658]:     makedirs(head,
exist_ok=exist_ok)
juil. 22 07:47:10 nicolas.home jupyter-notebook[10658]:   File
"/usr/lib/python3.8/os.py", line 213, in makedirs
juil. 22 07:47:10 nicolas.home jupyter-notebook[10658]:     makedirs(head,
exist_ok=exist_ok)
juil. 22 07:47:10 nicolas.home jupyter-notebook[10658]:   File
"/usr/lib/python3.8/os.py", line 213, in makedirs
juil. 22 07:47:10 nicolas.home jupyter-notebook[10658]:     makedirs(head,
exist_ok=exist_ok)
juil. 22 07:47:10 nicolas.home jupyter-notebook[10658]:   [Previous line
repeated 1 more time]
juil. 22 07:47:10 nicolas.home jupyter-notebook[10658]:   File
"/usr/lib/python3.8/os.py", line 223, in makedirs
juil. 22 07:47:10 nicolas.home jupyter-notebook[10658]:     mkdir(name, mode)
juil. 22 07:47:10 nicolas.home jupyter-notebook[10658]: PermissionError: [Errno
13] Permission denied: '/nonexistent'
juil. 22 07:47:10 nicolas.home systemd[10637]: jupyter-notebook.service: Main
process exited, code=exited, status=1/FAILURE
juil. 22 07:47:10 nicolas.home systemd[10637]: jupyter-notebook.service: Failed
with result 'exit-code'.



-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 5.4.0-2-686-pae (SMP w/3 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr_FR:fr:en_GB:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages jupyter-notebook depends on:
ii  init-system-helpers  1.58
ii  jupyter-core         4.6.3-3
ii  python3              3.8.2-3
ii  python3-notebook     6.0.3-3

jupyter-notebook recommends no packages.

jupyter-notebook suggests no packages.

-- no debconf information



More information about the Python-modules-team mailing list