Docker-stacks: nbconvert failed: Inkscape svg to pdf conversion failed

Created on 21 Jul 2016  路  2Comments  路  Source: jupyter/docker-stacks

I tried converting a trivial notebook (1 markdown cell, 1 code cell, ggplot output) on the latest jupyter/datascience-notebook image (tag: 97a5071c5775) to a PDF and it failed with a different error than the one in this issue: nbconvert failed: Inkscape svg to pdf conversion failed.

Reported in #99 but appears to be a new issue, not the same as the original report.

Bug

Most helpful comment

Manually doing apt-get install inkscape fixes the problem. We can throw it into minimal-notebook where pandoc and the other nbconvert prereqs are. Or we can put this only in images that use SVGs by default like r- and datascience-notebook.

I think the former is easier to reason about even though it bloats the minimal-notebook image by another ~30 MB.

All 2 comments

Manually doing apt-get install inkscape fixes the problem. We can throw it into minimal-notebook where pandoc and the other nbconvert prereqs are. Or we can put this only in images that use SVGs by default like r- and datascience-notebook.

I think the former is easier to reason about even though it bloats the minimal-notebook image by another ~30 MB.

Adding to minimal seems reasonable. I mean we are already adding TeXLive to it.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jp68138743541 picture jp68138743541  路  4Comments

iyanmv picture iyanmv  路  4Comments

tonywangcn picture tonywangcn  路  4Comments

maresb picture maresb  路  4Comments

jbn picture jbn  路  3Comments