[Python-modules-team] Bug#736560: ipython-notebook-common: nbconvert to html raises IOError

Joerg Dietrich joerg at dietrich.net
Fri Jan 24 23:01:13 UTC 2014


Package: ipython-notebook-common
Version: 1.1.0-1
Severity: important

Dear Maintainer,

   * What led up to the situation?

Trying to convert a notebook to html.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

$ ipython nbconvert --to html Notebook.ipynb

   * What was the outcome of this action?

  File "/usr/lib/python2.7/dist-packages/IPython/nbconvert/exporters/exporter.py", line 339, in register_transformer
    self.register_transformer(transformer(parent=self), enabled)
  File "/usr/lib/python2.7/dist-packages/IPython/nbconvert/transformers/csshtmlheader.py", line 56, in __init__
    self._regen_header()
  File "/usr/lib/python2.7/dist-packages/IPython/nbconvert/transformers/csshtmlheader.py", line 95, in _regen_header
    with io.open(sheet_filename, encoding='utf-8') as file:
IOError: [Errno 2] No such file or directory: '/usr/lib/python2.7/dist-packages/IPython/html/static/style/style.min.css'

   * What outcome did you expect instead?

An html file, including the stylesheet from its actual location
/usr/share/ipython/notebook/static/style/style.min.css.

Cheers,
	Joerg


-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.9-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ipython-notebook-common depends on:
ii  fonts-font-awesome  4.0.0~dfsg-1
ii  libjs-highlight     7.4+ds-1
ii  libjs-jquery        1.7.2+dfsg-3
ii  libjs-jquery-ui     1.10.1+dfsg-1
ii  libjs-marked        0.3.0+dfsg-1
ii  libjs-mathjax       2.2-1

ipython-notebook-common recommends no packages.

ipython-notebook-common suggests no packages.

-- no debconf information



More information about the Python-modules-team mailing list