Your message dated Sun, 4 Aug 2024 12:58:43 +0100
with message-id <[email protected]>
and subject line Re: Bug#1068901: jupyter-core: upstream bug report and fix
has caused the Debian Bug report #1068901,
regarding jupyter notebook fails to start: ModuleNotFoundError: No module named 
'jupyter_server.contents'
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1068901: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1068901
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: jupyter
Version: 5.3.2-1
Severity: normal

$ jupyter notebook
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/notebook/traittypes.py", line 235, in
_resolve_classes
    klass = self._resolve_string(klass)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/traitlets/traitlets.py", line 2015, in
_resolve_string
    return import_item(string)
           ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/traitlets/utils/importstring.py", line
33, in import_item
    module = __import__(package, fromlist=[obj])
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'jupyter_server.contents'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/bin/jupyter-notebook", line 33, in <module>
    sys.exit(load_entry_point('notebook==6.4.12', 'console_scripts', 'jupyter-
notebook')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/jupyter_core/application.py", line 282,
in launch_instance
    super().launch_instance(argv=argv, **kwargs)
  File "/usr/lib/python3/dist-packages/traitlets/config/application.py", line
1073, in launch_instance
    app = cls.instance(**kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/traitlets/config/configurable.py", line
583, in instance
    inst = cls(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/traitlets/traitlets.py", line 1292, in
__new__
    inst.setup_instance(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/traitlets/traitlets.py", line 1335, in
setup_instance
    super(HasTraits, self).setup_instance(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/traitlets/traitlets.py", line 1311, in
setup_instance
    init(self)
  File "/usr/lib/python3/dist-packages/notebook/traittypes.py", line 226, in
instance_init
    self._resolve_classes()
  File "/usr/lib/python3/dist-packages/notebook/traittypes.py", line 238, in
_resolve_classes
    warn(f"{klass} is not importable. Is it installed?", ImportWarning)
TypeError: warn() missing 1 required keyword-only argument: 'stacklevel'


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (700, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.7.9-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_CA:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages jupyter depends on:
ii  jupyter-client    7.4.9-2
ii  jupyter-console   6.6.3-1
ii  jupyter-core      5.3.2-1
ii  jupyter-nbformat  5.9.1-1

Versions of packages jupyter recommends:
ii  jupyter-nbconvert  6.5.3-4
ii  jupyter-notebook   6.4.12-2.2
ii  python3-ipykernel  6.29.3-1

Versions of packages jupyter suggests:
ii  jupyter-qtconsole  5.5.1-1

-- no debconf information

Attachment: signature.asc
Description: This is a digitally signed message part.


--- End Message ---
--- Begin Message ---
Source: jupyter-core
Source-Version: 5.7.2-3

On Mon, Jun 10, 2024 at 09:53:40AM +0200, Fabrice Silva wrote:
> Source: jupyter-core
> Version: 4.7.1-1+deb11u1
> Followup-For: Bug #1068901
> Dear Maintainer,
> The issue is discussed upstream
> https://github.com/jupyter/notebook/issues/7048

I'm not sure which part of the toolchain has fixed this, but the
updated versions of jupyter-core, jupyter-client and their
dependencies now in testing allow jupyter notebook to work, so I'm
closing this.

If you still have problems, please do feel free to reopen this bug.

Best wishes,

   Julian

--- End Message ---

Reply via email to