[Python-modules-team] Bug#751008: ipython3-notebook: Print Preview Fails
Xavier Grandmougin
grandmou at gmail.com
Mon Jun 9 12:41:41 UTC 2014
Package: ipython3-notebook
Version: 2.1.0-1
Severity: normal
Dear Maintainer,
*** Reporter, please consider answering these questions, where appropriate ***
* What led up to the situation?
* What exactly did you do (or not do) that was effective (or
ineffective)?
* What was the outcome of this action?
* What outcome did you expect instead?
*** End of the template - remove these template lines ***
I start ipython3 notebook in a Jessie chroot. After installing nodejs, which is required but not listed as a dependency, the problems appears when hitting File -> Print Preview. I noticed this problem in a basic notebook test in both Iceweasel 24 and 29. This leads to an incomplete HTML output preview, and generates the following console output:
$ ipython3 notebook
2014-06-09 12:03:25.666 [NotebookApp] Using existing profile dir: '/home/xav/.ipython/profile_default'
2014-06-09 12:03:25.673 [NotebookApp] Using system MathJax
2014-06-09 12:03:25.690 [NotebookApp] Serving notebooks from local directory: /home/xav
2014-06-09 12:03:25.690 [NotebookApp] 0 active kernels
2014-06-09 12:03:25.690 [NotebookApp] The IPython Notebook is running at: http://localhost:8888/
2014-06-09 12:03:25.690 [NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
2014-06-09 12:03:29.902 [NotebookApp] Kernel started: 3e01b517-2298-413d-81a2-dc4a521599ac
2014-06-09 12:03:36.828 [NotebookApp] Loaded template full.tpl
module.js:340
throw err;
^
Error: Cannot find module '/usr/lib/python3/dist-packages/IPython/nbconvert/filters/../../html/static/components/marked/lib/marked.js'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.<anonymous> (/usr/lib/python3/dist-packages/IPython/nbconvert/filters/marked.js:12:14)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
module.js:340
throw err;
^
Error: Cannot find module '/usr/lib/python3/dist-packages/IPython/nbconvert/filters/../../html/static/components/marked/lib/marked.js'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.<anonymous> (/usr/lib/python3/dist-packages/IPython/nbconvert/filters/marked.js:12:14)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
module.js:340
throw err;
^
Error: Cannot find module '/usr/lib/python3/dist-packages/IPython/nbconvert/filters/../../html/static/components/marked/lib/marked.js'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.<anonymous> (/usr/lib/python3/dist-packages/IPython/nbconvert/filters/marked.js:12:14)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
module.js:340
throw err;
^
Error: Cannot find module '/usr/lib/python3/dist-packages/IPython/nbconvert/filters/../../html/static/components/marked/lib/marked.js'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.<anonymous> (/usr/lib/python3/dist-packages/IPython/nbconvert/filters/marked.js:12:14)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
module.js:340
throw err;
^
Error: Cannot find module '/usr/lib/python3/dist-packages/IPython/nbconvert/filters/../../html/static/components/marked/lib/marked.js'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.<anonymous> (/usr/lib/python3/dist-packages/IPython/nbconvert/filters/marked.js:12:14)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
WARNING:tornado.access:404 GET /nbconvert/html/custom.css (::1) 9.96ms referer=http://localhost:8888/nbconvert/html/Untitled0.ipynb?download=false
-- System Information:
Debian Release: jessie/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (x86_64)
Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages ipython3-notebook depends on:
ii ipython-notebook-common 2.1.0-1
ii ipython3 2.1.0-1
ii python3-jinja2 2.7.2-2
ii python3-tornado 3.2.0-1
ii python3-zmq 14.1.1-1
pn python3:any <none>
ipython3-notebook recommends no packages.
ipython3-notebook suggests no packages.
-- no debconf information
More information about the Python-modules-team
mailing list