jupyter-incubator / contentmanagement

Jupyter Content Management Extensions
Other
78 stars 26 forks source link

loadnotebook() not working with nbconvert 5.0.0 #50

Closed linuxrider closed 7 years ago

linuxrider commented 7 years ago

The loadnotebook() (from loader.py) relies on export_html from nbconvert which is not present with nbconvert 5.0.0. It seams to have been moved to nbconvert.exporters.html. Possible solution: In loader.py change from nbconvert import export_html to from nbconvert.exporters import html as export_html

parente commented 7 years ago

Thanks for the report. I see the problem here (and maybe another). I'll get a PR in soon.