#17960: Jinja2 is too old
----------------------------------+----------------------------
   Reporter:  vbraun              |            Owner:
       Type:  defect              |           Status:  new
   Priority:  major               |        Milestone:  sage-6.6
  Component:  packages: standard  |         Keywords:
  Merged in:                      |          Authors:
  Reviewers:                      |  Report Upstream:  N/A
Work issues:                      |           Branch:
     Commit:                      |     Dependencies:
   Stopgaps:                      |
----------------------------------+----------------------------
 If you try to save ipython notebooks as pdf, you'll get the following
 error
 {{{
 $ sage -ipython nbconvert Untitled.ipynb --to pdf
 [...]
   File "/home/vbraun/Code/sage.git/local/lib/python2.7/site-
 packages/IPython/nbconvert/exporters/../templates/latex/skeleton/null.tplx",
 line 34, in block "any_cell"
     ((*- block codecell scoped -*))
   File "/home/vbraun/Code/sage.git/local/lib/python2.7/site-
 packages/IPython/nbconvert/exporters/../templates/latex/skeleton/null.tplx",
 line 35, in block "codecell"
     ((*- block input_group -*))
   File "/home/vbraun/Code/sage.git/local/lib/python2.7/site-
 packages/IPython/nbconvert/exporters/../templates/latex/skeleton/null.tplx",
 line 37, in block "input_group"
     ((*- block input -*))((*- endblock input -*))
   File "/home/vbraun/Code/sage.git/local/lib/python2.7/site-
 packages/IPython/nbconvert/exporters/../templates/latex/style_ipython.tplx",
 line 23, in block "input"
     ((( add_prompt(cell.source | highlight_code(strip_verbatim=True),
 cell, 'In ', 'incolor') )))
 UndefinedError: 'add_prompt' is undefined
 }}}
 Workaround is `sage -pip install --upgrade jinja2`

--
Ticket URL: <http://trac.sagemath.org/ticket/17960>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to