#16026: Unable to view graph of small A2 odd KR crystal
---------------------------------+-----------------------------
       Reporter:  tscrim         |        Owner:  sage-combinat
           Type:  defect         |       Status:  new
       Priority:  major          |    Milestone:  sage-6.2
      Component:  combinatorics  |   Resolution:
       Keywords:                 |    Merged in:
        Authors:                 |    Reviewers:
Report Upstream:  N/A            |  Work issues:
         Branch:                 |       Commit:
   Dependencies:                 |     Stopgaps:
---------------------------------+-----------------------------

Comment (by aschilling):

 This might be more helpful
 {{{
 sage: C = KirillovReshetikhinCrystal(['A',5,2], 1,1)
 sage: view_anne(C)
 ---------------------------------------------------------------------------
 RuntimeError                              Traceback (most recent call
 last)
 <ipython-input-2-8553f374adee> in <module>()
 ----> 1 view_anne(C)

 <ipython-input-1-667d302d2adc> in view_anne(x, **options)
      18         x = copy(x)
      19         x.set_latex_options(**latex_options)
 ---> 20     view(x, **options)
      21
      22

 /Applications/sage/local/lib/python2.7/site-packages/sage/misc/latex.pyc
 in view(objects, title, debug, sep, tiny, pdflatex, engine, viewer,
 tightpage, mode, combine_all, **kwds)
    2144     else:
    2145         latex_options = {}
 -> 2146     s = _latex_file_(objects, title=title, sep=sep, tiny=tiny,
 debug=debug, **latex_options)
    2147     if engine is None:
    2148         engine = _Latex_prefs._option["engine"]

 /Applications/sage/local/lib/python2.7/site-packages/sage/misc/latex.pyc
 in _latex_file_(objects, title, debug, sep, tiny, math_left, math_right,
 extra_preamble)
    1753         for i in range(len(objects)):
    1754             x = objects[i]
 -> 1755             L = latex(x)
    1756             if not '\\begin{verbatim}' in L:
    1757                 s += '%s%s%s'%(math_left, L, math_right)

 /Applications/sage/local/lib/python2.7/site-packages/sage/misc/latex.pyc
 in __call__(self, x, combine_all)
     912         """
     913         if has_latex_attr(x):
 --> 914             return LatexExpr(x._latex_())
     915         try:
     916             f = latex_table[type(x)]

 /Applications/sage/local/lib/python2.7/site-
 packages/sage/graphs/generic_graph.pyc in _latex_(self)
     651         setup_latex_preamble()
     652
 --> 653         return self.latex_options().latex()
     654
     655     def _matrix_(self, R=None):

 /Applications/sage/local/lib/python2.7/site-
 packages/sage/graphs/graph_latex.pyc in latex(self)
    1312             return self.tkz_picture()
    1313         elif format == "dot2tex":
 -> 1314             return self.dot2tex_picture()
    1315
    1316     def dot2tex_picture(self):

 /Applications/sage/local/lib/python2.7/site-
 packages/sage/graphs/graph_latex.pyc in dot2tex_picture(self)
    1344         """
    1345         from sage.graphs.dot2tex_utils import assert_have_dot2tex
 -> 1346         assert_have_dot2tex()
    1347
    1348         options = self.__graphlatex_options.copy()

 /Applications/sage/local/lib/python2.7/site-
 packages/sage/graphs/dot2tex_utils.pyc in assert_have_dot2tex()
      60             raise RuntimeError(check_error_string)
      61     except ImportError:
 ---> 62         raise RuntimeError(missing_error_string)
      63
      64 def quoted_latex(x):

 RuntimeError:
 dot2tex not available.

 Please see :meth:`sage.graphs.generic_graph.GenericGraph.layout_graphviz`
 for installation instructions.
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/16026#comment:4>
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