<html><head><base href="x-msg://417/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Hi there,</div><div><br></div>Seem to work fine here on master. <div><br></div><div>You can grab the result here : </div><div><a href="https://gist.github.com/Carreau/6625498">https://gist.github.com/Carreau/6625498</a></div><div><br></div><div>Are you running dev ? 1.0 ? 1.1 ?</div><div><br></div><div>-- </div><div>M</div><div><br><div><br><div><div>Le 19 sept. 2013 à 17:43, Johan Beke a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite"><div class="hmmessage" style="font-size: 12pt; font-family: Calibri; "><div dir="ltr">Hello all,<br><br>I have a notebook which fails to convert. I've already encountered the problem (see user list) a few weeks ago with another notebook. The message is the same:<br><br>johan$ ipython nbconvert Fit_wind.ipynb<span class="Apple-converted-space"> </span><br>[NbConvertApp] Using existing profile dir: u'/home/johan/.config/ipython/profile_default'<br>[NbConvertApp] Converting notebook Fit_wind.ipynb to html<br>[NbConvertApp] Support files will be in Fit_wind_files/<br>[NbConvertApp] Loaded template html_full.tpl<br>pandoc: option `--mathjax' requires an argument URL<br>Try pandoc --help for more information.<br>Traceback (most recent call last):<br>  File "/usr/local/bin/ipython", line 6, in <module><br>    start_ipython()<br>  File "/usr/local/lib/python2.7/dist-packages/IPython/__init__.py", line 118, in start_ipython<br>    return launch_new_instance(argv=argv, **kwargs)<br>  File "/usr/local/lib/python2.7/dist-packages/IPython/config/application.py", line 545, in launch_instance<br>    app.start()<br>  File "/usr/local/lib/python2.7/dist-packages/IPython/terminal/ipapp.py", line 358, in start<br>    return self.subapp.start()<br>  File "/usr/local/lib/python2.7/dist-packages/IPython/nbconvert/nbconvertapp.py", line 267, in start<br>    self.convert_notebooks()<br>  File "/usr/local/lib/python2.7/dist-packages/IPython/nbconvert/nbconvertapp.py", line 300, in convert_notebooks<br>    output, resources = exporter.from_filename(notebook_filename, resources=resources)<br>  File "/usr/local/lib/python2.7/dist-packages/IPython/nbconvert/exporters/exporter.py", line 289, in from_filename<br>    return self.from_notebook_node(nbformat.read(f, 'json'), resources=resources,**kw)<br>  File "/usr/local/lib/python2.7/dist-packages/IPython/nbconvert/exporters/exporter.py", line 260, in from_notebook_node<br>    output = self.template.render(nb=nb_copy, resources=resources)<br>  File "/usr/local/lib/python2.7/dist-packages/Jinja2-2.6-py2.7.egg/jinja2/environment.py", line 894, in render<br>    return self.environment.handle_exception(exc_info, True)<br>  File "/usr/local/lib/python2.7/dist-packages/IPython/nbconvert/exporters/../templates/html_full.tpl", line 1, in top-level template code<br>    {%- extends 'html_basic.tpl' -%}<br>  File "/usr/local/lib/python2.7/dist-packages/IPython/nbconvert/exporters/../templates/html_basic.tpl", line 1, in top-level template code<br>    {%- extends 'display_priority.tpl' -%}<br>  File "/usr/local/lib/python2.7/dist-packages/IPython/nbconvert/exporters/../templates/skeleton/display_priority.tpl", line 1, in top-level template code<br>    {%- extends 'null.tpl' -%}<br>  File "/usr/local/lib/python2.7/dist-packages/IPython/nbconvert/exporters/../templates/skeleton/null.tpl", line 26, in top-level template code<br>    {%- block body -%}<br>  File "/usr/local/lib/python2.7/dist-packages/IPython/nbconvert/exporters/../templates/html_full.tpl", line 62, in block "body"<br>    {{ super() }}<br>  File "/usr/local/lib/python2.7/dist-packages/IPython/nbconvert/exporters/../templates/skeleton/null.tpl", line 29, in block "body"<br>    {%- block any_cell scoped -%}<br>  File "/usr/local/lib/python2.7/dist-packages/IPython/nbconvert/exporters/../templates/skeleton/null.tpl", line 76, in block "any_cell"<br>    {%- block headingcell scoped-%}<br>  File "/usr/local/lib/python2.7/dist-packages/IPython/nbconvert/exporters/../templates/html_basic.tpl", line 64, in block "headingcell"<br>    {{ ("#" * cell.level + cell.source) | replace('\n', ' ') | strip_math_space | markdown2html | strip_files_prefix | add_anchor }}<br>  File "/usr/local/lib/python2.7/dist-packages/IPython/nbconvert/filters/strings.py", line 85, in add_anchor<br>    h = ElementTree.fromstring(py3compat.cast_bytes_py2(html, encoding='utf-8'))<br>  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1283, in XML<br>    return parser.close()<br>  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1636, in close<br>    self._raiseerror(v)<br>  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1488, in _raiseerror<br>    raise err<br>ParseError: no element found: line 1, column 0<br><br>If you suspect this is an IPython bug, please report it at:<br>   <span class="Apple-converted-space"> </span><a href="https://github.com/ipython/ipython/issues">https://github.com/ipython/ipython/issues</a><br>or send an email to the mailing list at<span class="Apple-converted-space"> </span><a href="mailto:ipython-dev@scipy.org">ipython-dev@scipy.org</a><br><br>You can print a more detailed traceback right now with "%tb", or use "%debug"<br>to interactively debug it.<br><br>Extra-detailed tracebacks for bug-reporting purposes can be enabled via:<br>    c.Application.verbose_crash=True<br><br>Is this a bug or is there something wrong with my file or system? Notebook at:<span class="Apple-converted-space"> </span><a href="http://pastebin.com/FZu2j5xY" target="_blank">http://pastebin.com/FZu2j5xY</a><br><br>Kind regards,<br><br>Johan<br></div>_______________________________________________<br>IPython-dev mailing list<br><a href="mailto:IPython-dev@scipy.org">IPython-dev@scipy.org</a><br><a href="http://mail.scipy.org/mailman/listinfo/ipython-dev">http://mail.scipy.org/mailman/listinfo/ipython-dev</a><br></div></blockquote></div><br></div></div></body></html>