#15225: dot2tex breaks Poset.show()
--------------------------------------+---------------------------
Reporter: jmantysalo | Owner:
Type: defect | Status: needs_work
Priority: minor | Milestone: sage-5.13
Component: packages: optional | Resolution:
Keywords: poset, dot2tex | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues: fix dot2tex
Branch: | Commit:
Dependencies: | Stopgaps:
--------------------------------------+---------------------------
Comment (by tscrim):
True. Although I do get this error message:
{{{
ERROR Failed to process input
Traceback (most recent call last):
File "/home/travis/sage-5.13.beta2/local/lib/python2.7/site-
packages/dot2tex/dot2tex.py", line 2928, in main
s = conv.convert(dotdata)
File "/home/travis/sage-5.13.beta2/local/lib/python2.7/site-
packages/dot2tex/dot2tex.py", line 848, in convert
return self.output()
File "/home/travis/sage-5.13.beta2/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: '185.4'
}}}
I'm not convinced it is a `dot2tex` error. If you run `view(P)` it works,
but `P._hasse_diagram.plot()` does not. I've uncovered another minor
issue; the `hasse_diagram()` method only returns a `DiGraph`, not a
`HasseDiagram`, but that probably won't fix this problem. The error gets
triggered when I create the corresponding `DiGraph` object and tell it to
plot with `layout='acyclic'`.
--
Ticket URL: <http://trac.sagemath.org/ticket/15225#comment:14>
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/groups/opt_out.