#13624: KeyError raised by GraphLatex.dot2tex_picture when edge_labels=True
------------------------------------------+---------------------------------
Reporter: slabbe | Owner: tbd
Type: defect | Status: needs_work
Priority: major | Milestone: sage-5.9
Component: packages: optional | Resolution:
Keywords: dot2tex, graph drawing | Work issues:
Report Upstream: N/A | Reviewers:
Authors: Nicolas M. ThiƩry | Merged in:
Dependencies: | Stopgaps:
------------------------------------------+---------------------------------
Comment (by ncohen):
5 doctests fail on my machine. The error message do not seem to say that
there is something wrong with my install (dot or graphviz which I
installed through my distro).
{{{
sage -t --long dot2tex_utils.py
**********************************************************************
File "dot2tex_utils.py", line 11, in sage.graphs.dot2tex_utils
Failed example:
output = dot2tex.dot2tex(graph, format="positions", prog="neato") #
optional - requires dot2tex and graphviz
Expected nothing
Got:
ERROR Failed to process input
Traceback (most recent call last):
File "/home/ncohen/.Sage/local/lib/python2.7/site-
packages/dot2tex/dot2tex.py", line 2928, in main
s = conv.convert(dotdata)
File "/home/ncohen/.Sage/local/lib/python2.7/site-
packages/dot2tex/dot2tex.py", line 848, in convert
return self.output()
File "/home/ncohen/.Sage/local/lib/python2.7/site-
packages/dot2tex/dot2tex.py", line 2566, in output
positions[node.name] = map(int, pos.split(','))
ValueError: invalid literal for int() with base 10: '87.137'
**********************************************************************
}}}
Nathann
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13624#comment:21>
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.