Your message dated Mon, 16 Jan 2017 20:50:05 -0200
with message-id <[email protected]>
and subject line Re: jupyter-nbextension-jupyter-js-widgets: fails to install 
with a traceback
has caused the Debian Bug report #849588,
regarding jupyter-nbextension-jupyter-js-widgets: fails to install with a 
traceback
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.)


-- 
849588: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=849588
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: jupyter-nbextension-jupyter-js-widgets
Version: 5.2.2-2
Severity: important

Hi.

(I'm not sure if this qualifies as an RC-bug, but I left it only as
important. Please, feel free to raise the severity if appropriate).

I was just starting to follow a tutorial that needed widgets in a Jupyter
notebook, but installing jupyter-nbextension-jupyter-js-widgets left me with
a stack trace when dpkg runs:


-------------------------
Setting up jupyter-nbextension-jupyter-js-widgets (5.2.2-2) ...
/usr/lib/python3.5/runpy.py:125: RuntimeWarning: 'notebook.nbextensions' found 
in sys.modules after import of package 'notebook', but prior to execution of 
'notebook.nbextensions'; this may result in unpredictable behaviour
  warn(RuntimeWarning(msg))
Enabling notebook extension jupyter-js-widgets/extension...
Traceback (most recent call last):
  File "/usr/lib/python3.5/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.5/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/usr/lib/python3/dist-packages/notebook/nbextensions.py", line 1176, in 
<module>
    main()
  File "/usr/lib/python3/dist-packages/jupyter_core/application.py", line 267, 
in launch_instance
    return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)
  File "/usr/lib/python3/dist-packages/traitlets/config/application.py", line 
658, in launch_instance
    app.start()
  File "/usr/lib/python3/dist-packages/notebook/nbextensions.py", line 961, in 
start
    super(NBExtensionApp, self).start()
  File "/usr/lib/python3/dist-packages/jupyter_core/application.py", line 256, 
in start
    self.subapp.start()
  File "/usr/lib/python3/dist-packages/notebook/nbextensions.py", line 871, in 
start
    self.toggle_nbextension(self.extra_args[0])
  File "/usr/lib/python3/dist-packages/notebook/nbextensions.py", line 861, in 
toggle_nbextension
    logger=self.log)
  File "/usr/lib/python3/dist-packages/notebook/nbextensions.py", line 407, in 
enable_nbextension
    logger=logger)
  File "/usr/lib/python3/dist-packages/notebook/nbextensions.py", line 345, in 
_set_nbextension_state
    cm.update(section, {"load_extensions": {require: state}})
  File "/usr/lib/python3/dist-packages/traitlets/config/manager.py", line 85, 
in update
    data = self.get(section_name)
  File "/usr/lib/python3/dist-packages/traitlets/config/manager.py", line 63, 
in get
    return json.load(f)
  File "/usr/lib/python3.5/json/__init__.py", line 268, in load
    parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
  File "/usr/lib/python3.5/json/__init__.py", line 319, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3.5/json/decoder.py", line 339, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.5/json/decoder.py", line 357, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
dpkg: error processing package jupyter-nbextension-jupyter-js-widgets 
(--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 jupyter-nbextension-jupyter-js-widgets
Press Return to continue, 'q' followed by Return to quit.
-------------------------

If there is any further information that is needed, please, let me know.


Thanks,

Rogério Brito.


-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing'), (200, 'unstable'), (150, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.8.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf-8, LC_CTYPE=pt_BR.utf-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages jupyter-nbextension-jupyter-js-widgets depends on:
ii  python            2.7.11-2
ii  python-notebook   4.2.3-3
ii  python3           3.5.1-4
ii  python3-notebook  4.2.3-3

jupyter-nbextension-jupyter-js-widgets recommends no packages.

Versions of packages jupyter-nbextension-jupyter-js-widgets suggests:
ii  python-ipywidgets   5.2.2-2
ii  python3-ipywidgets  5.2.2-2

-- no debconf information

-- 
Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFCAAAA
http://cynic.cc/blog/ : github.com/rbrito : profiles.google.com/rbrito
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br

--- End Message ---
--- Begin Message ---
Dear Ximin,

On Jan 06 2017, Ximin Luo wrote:
> Did you previously have jupyter-notebook version 4.2.3-2 installed? If so, 
> then this is the same as:
> 
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=847917

I don't remeber which version I had installed previously. Sorry. :(

> and all you need to do is remove any empty *.json files in
> /etc/jupyter/nbconfig. Please also let me know, so that I can close this
> bug.

Yes, removing the empty files there made everything work, so I'm closing
this bug.


Thanks a lot,

Rogério.

-- 
Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFCAAAA
http://cynic.cc/blog/ : github.com/rbrito : profiles.google.com/rbrito
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br

--- End Message ---
_______________________________________________
Python-modules-team mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to