#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 nthiery):
Replying to [comment:45 tscrim]:
> I'd like this to also be a standard package.
>
> However just running `sage -i` on the spkg, I get the following:
> {{{
> ----------------------------------------------------------------------
> | Sage Version 5.10.beta3, Release Date: 2013-05-15 |
> | Type "notebook()" for the browser-based notebook interface. |
> | Type "help()" for help. |
> ----------------------------------------------------------------------
> **********************************************************************
> * *
> * Warning: this is a prerelease version, and it may be unstable. *
> * *
> **********************************************************************
> sage: C = CrystalOfTableaux(['A',2], shape=[2,1])
> ERROR Could not locate Graphviz binaries
> ERROR Failed to create xdotdata. Is Graphviz installed?
> ERROR Failed to parse the input data. Is it a valid dot file?
> Try to input xdot data directly. Example:
> dot -Txdot file.dot | dot2tex > file.tex
>
> If this does not work, check that you have an updated version of
PyParsing and
> Graphviz. Users have reported problems with old versions. You can also
run
> dot2tex in debug mode using the --debug option:
> dot2tex --debug file.dot
> A file dot2tex.log will be written to the current directory with
detailed
> information useful for debugging.
> An exception has occurred, use %tb to see the full traceback.
>
> SystemExit: 1
>
> To exit: use 'exit', 'quit', or Ctrl-D.
> }}}
> which was working with the p1 spkg. I presume I shouldn't have to do
anything else to get it to work, but what else should I try/do? (I don't
think installing the (experimental) graphviz would work, nor does it seem
like the right solution...)
For the record, I just tried the above command (adding a call to view)
with Sage 5.10.beta4, and it worked for me (Ubuntu, with graphviz
provided by the distribution).
I assume graphviz is in Sage's path?
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14594#comment:46>
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.