new version of nbconvert

212 views
Skip to first unread message

Jim Schmitz

unread,
Oct 20, 2020, 3:52:15 PM10/20/20
to nikola-...@googlegroups.com
There seems to be a new bug in Nikola when building Jupyter notebook pages and using the latest version of nbconvert. [This is the Jupyter library that converts the *.ipynb files to html.] 

When I install nbconvert==5.5, it works fine. When I install 6.0, released in September, I get this exception:

jinja2.exceptions.TemplateNotFound: basic.tpl

That file basic.tpl is found here in the 5.5 installation:

./nbconvert/templates/html/basic.tpl

It is missing from the 6.0 installation. In fact, that templates directory is basically empty. It seems the latest release made significant changes to the template system. From looking at the github issues for nbconvert, it seems other people are experiencing this issue also.

This issue points to their documentation that talks about customizing templates but I don't see what needs to be changed to fix this.

-Jim









Chris Warrick

unread,
Oct 20, 2020, 3:54:12 PM10/20/20
to Nikola—Discuss
This has already been solved on the master branch:

https://github.com/getnikola/nikola/issues/3457
https://github.com/getnikola/nikola/pull/3458

If reporting a bug, please use GitHub, and please search for it first.

--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16

Jim Schmitz

unread,
Oct 20, 2020, 3:59:26 PM10/20/20
to nikola-...@googlegroups.com
Sorry about that. I should have gone to Github first.

--
You received this message because you are subscribed to the Google Groups "nikola-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nikola-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/nikola-discuss/CAMw%2Bj7K-eq2-WXV68yBoc2%2B6hAHYUSraZ3r_dBn9cqkX%3DgXYbw%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages