#14594: Make dot2tex work with matplotlib 1.2.x (as well as older versions)
------------------------------------------+---------------------------------
Reporter: aschilling | Owner: sage-combinat
Type: defect | Status: needs_review
Priority: critical | Milestone: sage-5.10
Component: packages: optional | Resolution:
Keywords: dot2tex spkg pyparsing | Work issues:
Report Upstream: N/A | Reviewers: Travis Scrimshaw
Authors: Leif Leonhardy | Merged in:
Dependencies: | Stopgaps:
------------------------------------------+---------------------------------
Comment (by tscrim):
Since it seems like the question of making `dot2tex` a standard package is
controversial and the changes currently fix the problem, what's left to do
before setting this to positive review? Has anyone tried this on `5.9` or
below? The spkg diff looks good to me and running:
{{{
sage -i -f -c
http://boxen.math.washington.edu/home/leif/Sage/spkgs/dot2tex-2.8.7.p2.spkg
...
GPL Ghostscript 9.05: Error: Font Renderer Plugin ( FreeType ) return code
= -1
ready. %%BoundingBox: 148 556 612 667
Creating output file nodenames_pst.eps ... ready.
GPL Ghostscript 9.05: Error: Font Renderer Plugin ( FreeType ) return code
= -1
GPL Ghostscript 9.05: Error: Font Renderer Plugin ( FreeType ) return code
= -1
GPL Ghostscript 9.05: Error: Font Renderer Plugin ( FreeType ) return code
= -1
GPL Ghostscript 9.05: Error: Font Renderer Plugin ( FreeType ) return code
= -1
.sh: 1: pdftk: not found
WARNING Failed to run command:
pdftk autosize_cmp.pdf colors_cmp.pdf compassports_cmp.pdf
concentrate_cmp.pdf escstr_cmp.pdf invis_cmp.pdf nodenames_cmp.pdf cat
output testrenders.pdf dont_ask
F
======================================================================
FAIL: test_zzzzzzzzzzzfinal (__main__.RenderTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_multirender.py", line 313, in test_zzzzzzzzzzzfinal
self.failIf(err)
AssertionError: 32512 is not false
----------------------------------------------------------------------
Ran 8 tests in 72.121s
FAILED (failures=1)
Processing autosize.dot
Processing colors.dot
Processing compassports.dot
Processing concentrate.dot
Processing escstr.dot
Processing invis.dot
Processing nodenames.dot
Error(s) running dot2tex's test suite.
real 2m42.307s
user 1m11.820s
sys 0m49.403s
************************************************************************
Error testing package dot2tex-2.8.7.p2
************************************************************************
}}}
However I do '''not''' have `pdftk` installed on my system. From
comment:25 I'm guessing this is okay? I'll also try it with `pdftk`
installed.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14594#comment:54>
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.