Re: [sage-release] Re: Sage 6.2.beta5 released

2014-03-29 Thread leif

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).



-leif

[1] http://trac.sagemath.org/ticket/14993

--
() The ASCII Ribbon Campaign
/\   Help Cure HTML E-Mail

--
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 sage-release+unsubscr...@googlegroups.com.
To post to this group, send email to sage-release@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-release.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-release] Re: Sage 6.2.beta5 released

2014-03-29 Thread Francois Bissey
On 30/03/2014, at 8:49, leif not.rea...@online.de 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 sage-release+unsubscr...@googlegroups.com.
To post to this group, send email to sage-release@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-release.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-release] Re: Sage 6.2.beta5 released

2014-03-29 Thread leif

On 29.03.2014 20:49, leif 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).


-leif

[1] http://trac.sagemath.org/ticket/14993



P.S.:  This is meanwhile http://trac.sagemath.org/ticket/16026 (Upgrade 
dot2tex spkg and make it work with most recent matplotlib).



-leif

--
() The ASCII Ribbon Campaign
/\   Help Cure HTML E-Mail

--
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 sage-release+unsubscr...@googlegroups.com.
To post to this group, send email to sage-release@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-release.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-release] Sage 6.2.beta5 released

2014-03-29 Thread kcrisman


On Friday, March 28, 2014 2:49:01 PM UTC-4, François wrote:

 And for when you come back:
 Do you have either local/include/ft2build.h or 
 local/include/freetype2/ft2build.h present.



Thanks, I'll look at this.  I don't know whether 
http://trac.sagemath.org/ticket/14993 is the problem since I hadn't 
finished the previous build of beta4, but I note 
http://trac.sagemath.org/ticket/14993#comment:29 and 
http://trac.sagemath.org/ticket/15742 as just conceivably relevant.  Now 
that there is no indication of *which* beta things are merged in on Trac, 
it's a little harder to know where to look... anyway, I'll look on Monday, 
thanks. 

-- 
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 sage-release+unsubscr...@googlegroups.com.
To post to this group, send email to sage-release@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-release.
For more options, visit https://groups.google.com/d/optout.