On 30/03/2014, at 8:49, leif <[email protected]> wrote: > Ben Salisbury wrote: >> Hi all, >> >> It seems that my dot2tex no longer functions after upgrading to 6.2.beta5. >> >> sage: C = crystals.Tableaux("B2",shape=[2,1]) >> sage: view(C) >> dot2tex not available. Install after running 'sage -sh' >> >> I attempted to force a reinstallation of dot2tex via sage -i -f dot2tex, >> which succeeded without any errors. However, the same error appears in Sage >> when trying to compile something with dot2tex. > > > Well, (re)try this with SAGE_CHECK=yes: > > ... > Successfully installed dot2tex-2.8.7.p2 > Running the test suite for dot2tex-2.8.7.p2... > ############################################################ > spkg-check: Running test_buildexamples.py... > ############################################################ > Traceback (most recent call last): > File "/Users/leif/Sage/sage-6.2.beta5/local/bin/dot2tex", line 2, in <module> > from dot2tex.dot2tex import main > File > "/Users/leif/Sage/sage-6.2.beta5/local/lib/python2.7/site-packages/dot2tex/__init__.py", > line 36, in <module> > import dot2tex as d2t > File > "/Users/leif/Sage/sage-6.2.beta5/local/lib/python2.7/site-packages/dot2tex/dot2tex.py", > line 47, in <module> > import dotparsing > File > "/Users/leif/Sage/sage-6.2.beta5/local/lib/python2.7/site-packages/dot2tex/dotparsing.py", > line 26, in <module> > import matplotlib.pyparsing as pyparsing > ImportError: No module named pyparsing > ... > > > This is (once again ;-) ) due to #14993 [1] (matplotlib upgrade), merged into > beta5. > > Matplotlib no longer ships pyparsing, so we presumably have to update the > dot2tex package accordingly. And it would probably make sense to add some > tiny test to its spkg-install to avoid such issues in the future (and/or > slightly change the way dot2tex gets run from within Sage, as the error > message is misleading, not to say plain wrong).
I looked for dot2tex in the git tree and it looks like it hasn't been updated to git yet. So it will be the perfect opportunity to review it. Francois This email may be confidential and subject to legal privilege, it may not reflect the views of the University of Canterbury, and it is not guaranteed to be virus free. If you are not an intended recipient, please notify the sender immediately and erase all copies of the message and any attachments. Please refer to http://www.canterbury.ac.nz/emaildisclaimer for more information. -- You received this message because you are subscribed to the Google Groups "sage-release" 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-release. For more options, visit https://groups.google.com/d/optout.
