[sage-release] Re: Sage 8.0.beta4 released

2017-05-04 Thread Steven Trogdon
The sage -t --long src/sage/combinat/posets/posets.py failure is now 
https://trac.sagemath.org/ticket/22950

On Sunday, April 30, 2017 at 5:59:55 AM UTC-5, Emmanuel Charpentier wrote:
>
> On Debian testing runninng on Core I7 + 16 GB RAM, after fetching diffs 
> over 8.0.beta3, I get three errors :
>
> --
> sage -t --long src/sage/combinat/posets/posets.py  # 1 doctest failed
> sage -t --long src/sage/calculus/calculus.py  # 1 doctest failed
> sage -t --long src/sage/homology/simplicial_complex.py  # 1 doctest failed
> --
>
> Details : the first one is new AFAIK, and seems genuine : 
>
> charpent@asus16-ec:/usr/local/sage-8$ sage -t --long 
> src/sage/combinat/posets/posets.py
> too many failed tests, not using stored timings
> Running doctests with ID 2017-04-30-12-50-37-126fd53d.
> Git branch: develop
> Using --optional=database_gap,giacpy_sage,git_trac,mpir,python2,sage
> Doctesting 1 file.
> sage -t --long src/sage/combinat/posets/posets.py
> **
> File "src/sage/combinat/posets/posets.py", line 1742, in 
> sage.combinat.posets.posets.FinitePoset.?
> Failed example:
> L.plot(figsize=12, border=True, element_shape='s',
>element_size=400, element_color='white',
>element_colors={'blue': F, 'green': L.double_irreducibles()},
>cover_color='lightgray', cover_colors={'black': F_internal},
>title='The Frattini\nsublattice in blue', fontsize=10)
> Exception raised:
> Traceback (most recent call last):
>   File 
> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/doctest/forker.py", 
> line 509, in _run
> self.compile_and_execute(example, compiler, test.globs)
>   File 
> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/doctest/forker.py", 
> line 872, in compile_and_execute
> exec(compiled, globs)
>   File "", line 
> 5, in 
> title='The Frattini\nsublattice in blue', fontsize=Integer(10))
>   File 
> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/combinat/posets/posets.py",
>  
> line 1834, in plot
> **kwds)
>   File 
> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/misc/decorators.py",
>  
> line 564, in wrapper
> return func(*args, **options)
>   File 
> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/graphs/generic_graph.py",
>  
> line 18733, in plot
> return self.graphplot(**options).plot()
>   File 
> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/graphs/generic_graph.py",
>  
> line 18384, in graphplot
> return GraphPlot(graph=self, options=options)
>   File 
> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/graphs/graph_plot.py",
>  
> line 262, in __init__
> self.set_pos()
>   File 
> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/graphs/graph_plot.py",
>  
> line 346, in set_pos
> self._pos = self._graph.layout(**self._options)
>   File 
> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/graphs/generic_graph.py",
>  
> line 17847, in layout
> pos = getattr(self, "layout_%s"%layout)(dim = dim, **options)
>   File 
> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/graphs/digraph.py", 
> line 2915, in layout_acyclic
> return self.layout_graphviz(rankdir=rankdir, **options)
>   File 
> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/graphs/generic_graph.py",
>  
> line 18315, in layout_graphviz
> positions = dot2tex.dot2tex(self.graphviz_string(**options), 
> format = "positions", prog = prog)
>   File 
> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/misc/decorators.py",
>  
> line 564, in wrapper
> return func(*args, **options)
>   File 
> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/graphs/generic_graph.py",
>  
> line 19532, in graphviz_string
> "%s is not a valid format for edge"%(edge)
> AssertionError: [0, 4] is not a valid format for edge
> **
> 1 item had failures:
>1 of  37 in sage.combinat.posets.posets.FinitePoset.?
> [1222 tests, 1 failure, 8.61 s]
> --
> sage -t --long src/sage/combinat/posets/posets.py  # 1 doctest failed
> --
> Total time for all tests: 8.8 seconds
> cpu time: 8.1 seconds
> cumulative wall time: 8.6 seconds
>
> The second one has already been reported more than once :
>
> charpent@asus16-ec:/usr/local/sage-8$ sage -t --long 
> src/sage/calculus/calculus.py
> too many failed tests, not using stored timings
> Running doctests with ID 2017-04-30-12-51-05-338d0836.
> Git branch: develop
> Using --optional

Re: [sage-release] Re: Sage 8.0.beta4 released

2017-05-04 Thread Steven Trogdon
On gentoo the real issue is with dot2tex which pulls in graphviz and pydot. 
I noticed that dot2tex is an optional Sage package. Could this be the issue?

On Thursday, May 4, 2017 at 9:45:47 AM UTC-5, tsc...@ucdavis.edu wrote:
>
> I have graphviz installed as well. It does seem odd that graphviz would be 
> the problem. My thought is more of that the DiGraph constructor is getting 
> confused about the input. We might have to specify the input data to the 
> DiGraph.
>
> Best,
> Travis
>
>
> On Thursday, May 4, 2017 at 9:14:28 AM UTC-5, Steven Trogdon wrote:
>>
>> I have system graphviz installed. Removing it allowed the posets.py test 
>> to pass on sage-on-gentoo. Of course having and not having graphviz 
>> installed has no effect on testing posets.py from vanilla Sage. The test 
>> always passes. If graphviz is the source then it seems odd that system 
>> graphviz is only affecting the test on debian.
>>
>> On Thursday, May 4, 2017 at 4:49:11 AM UTC-5, François wrote:
>>>
>>> And it doesn’t on my sage-on-gentoo install. I notice that graphviz 
>>> is involved in the traceback and I don’t have graphviz installed 
>>> currently. 
>>> Would all the people with the failing test happen to have graphviz? 
>>> And the one who don’t, not? 
>>>
>>> François 
>>>
>>> > On 4/05/2017, at 18:23, Steven Trogdon  wrote: 
>>> > 
>>> > The posets.py test fails here on my Gentoo machine with sage-on-gentoo 
>>> installed, but with vanilla Sage on the same machine the test passes. 
>>> > 
>>> > On Sunday, April 30, 2017 at 5:59:55 AM UTC-5, Emmanuel Charpentier 
>>> wrote: 
>>> > On Debian testing runninng on Core I7 + 16 GB RAM, after fetching 
>>> diffs over 8.0.beta3, I get three errors : 
>>> > 
>>> > -- 
>>> > sage -t --long src/sage/combinat/posets/posets.py  # 1 doctest failed 
>>> > sage -t --long src/sage/calculus/calculus.py  # 1 doctest failed 
>>> > sage -t --long src/sage/homology/simplicial_complex.py  # 1 doctest 
>>> failed 
>>> > -- 
>>> > 
>>> > Details : the first one is new AFAIK, and seems genuine : 
>>> > 
>>> > charpent@asus16-ec:/usr/local/sage-8$ sage -t --long 
>>> src/sage/combinat/posets/posets.py 
>>> > too many failed tests, not using stored timings 
>>> > Running doctests with ID 2017-04-30-12-50-37-126fd53d. 
>>> > Git branch: develop 
>>> > Using --optional=database_gap,giacpy_sage,git_trac,mpir,python2,sage 
>>> > Doctesting 1 file. 
>>> > sage -t --long src/sage/combinat/posets/posets.py 
>>> > ** 
>>> > File "src/sage/combinat/posets/posets.py", line 1742, in 
>>> sage.combinat.posets.posets.FinitePoset.? 
>>> > Failed example: 
>>> > L.plot(figsize=12, border=True, element_shape='s', 
>>> >element_size=400, element_color='white', 
>>> >element_colors={'blue': F, 'green': 
>>> L.double_irreducibles()}, 
>>> >cover_color='lightgray', cover_colors={'black': 
>>> F_internal}, 
>>> >title='The Frattini\nsublattice in blue', fontsize=10) 
>>> > Exception raised: 
>>> > Traceback (most recent call last): 
>>> >   File 
>>> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/doctest/forker.py",
>>>  
>>> line 509, in _run 
>>> > self.compile_and_execute(example, compiler, test.globs) 
>>> >   File 
>>> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/doctest/forker.py",
>>>  
>>> line 872, in compile_and_execute 
>>> > exec(compiled, globs) 
>>> >   File "", 
>>> line 5, in  
>>> > title='The Frattini\nsublattice in blue', 
>>> fontsize=Integer(10)) 
>>> >   File 
>>> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/combinat/posets/posets.py",
>>>  
>>> line 1834, in plot 
>>> > **kwds) 
>>> >   File 
>>> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/misc/decorators.py",
>>>  
>>> line 564, in wrapper 
>>> > return func(*args, **options) 
>>> >   File 
>>> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/graphs/generic_graph.py",
>>>  
>>> line 18733, in plot 
>>> > return self.graphplot(**options).plot() 
>>> >   File 
>>> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/graphs/generic_graph.py",
>>>  
>>> line 18384, in graphplot 
>>> > return GraphPlot(graph=self, options=options) 
>>> >   File 
>>> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/graphs/graph_plot.py",
>>>  
>>> line 262, in __init__ 
>>> > self.set_pos() 
>>> >   File 
>>> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/graphs/graph_plot.py",
>>>  
>>> line 346, in set_pos 
>>> > self._pos = self._graph.layout(**self._options) 
>>> >   File 
>>> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/graphs/generic_graph.py",
>>>  
>>> line 17847, in layout 
>>> > pos = geta

Re: [sage-release] Re: Sage 8.0.beta4 released

2017-05-04 Thread tscrim
I have graphviz installed as well. It does seem odd that graphviz would be 
the problem. My thought is more of that the DiGraph constructor is getting 
confused about the input. We might have to specify the input data to the 
DiGraph.

Best,
Travis


On Thursday, May 4, 2017 at 9:14:28 AM UTC-5, Steven Trogdon wrote:
>
> I have system graphviz installed. Removing it allowed the posets.py test 
> to pass on sage-on-gentoo. Of course having and not having graphviz 
> installed has no effect on testing posets.py from vanilla Sage. The test 
> always passes. If graphviz is the source then it seems odd that system 
> graphviz is only affecting the test on debian.
>
> On Thursday, May 4, 2017 at 4:49:11 AM UTC-5, François wrote:
>>
>> And it doesn’t on my sage-on-gentoo install. I notice that graphviz 
>> is involved in the traceback and I don’t have graphviz installed 
>> currently. 
>> Would all the people with the failing test happen to have graphviz? 
>> And the one who don’t, not? 
>>
>> François 
>>
>> > On 4/05/2017, at 18:23, Steven Trogdon  wrote: 
>> > 
>> > The posets.py test fails here on my Gentoo machine with sage-on-gentoo 
>> installed, but with vanilla Sage on the same machine the test passes. 
>> > 
>> > On Sunday, April 30, 2017 at 5:59:55 AM UTC-5, Emmanuel Charpentier 
>> wrote: 
>> > On Debian testing runninng on Core I7 + 16 GB RAM, after fetching diffs 
>> over 8.0.beta3, I get three errors : 
>> > 
>> > -- 
>> > sage -t --long src/sage/combinat/posets/posets.py  # 1 doctest failed 
>> > sage -t --long src/sage/calculus/calculus.py  # 1 doctest failed 
>> > sage -t --long src/sage/homology/simplicial_complex.py  # 1 doctest 
>> failed 
>> > -- 
>> > 
>> > Details : the first one is new AFAIK, and seems genuine : 
>> > 
>> > charpent@asus16-ec:/usr/local/sage-8$ sage -t --long 
>> src/sage/combinat/posets/posets.py 
>> > too many failed tests, not using stored timings 
>> > Running doctests with ID 2017-04-30-12-50-37-126fd53d. 
>> > Git branch: develop 
>> > Using --optional=database_gap,giacpy_sage,git_trac,mpir,python2,sage 
>> > Doctesting 1 file. 
>> > sage -t --long src/sage/combinat/posets/posets.py 
>> > ** 
>> > File "src/sage/combinat/posets/posets.py", line 1742, in 
>> sage.combinat.posets.posets.FinitePoset.? 
>> > Failed example: 
>> > L.plot(figsize=12, border=True, element_shape='s', 
>> >element_size=400, element_color='white', 
>> >element_colors={'blue': F, 'green': 
>> L.double_irreducibles()}, 
>> >cover_color='lightgray', cover_colors={'black': F_internal}, 
>> >title='The Frattini\nsublattice in blue', fontsize=10) 
>> > Exception raised: 
>> > Traceback (most recent call last): 
>> >   File 
>> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/doctest/forker.py",
>>  
>> line 509, in _run 
>> > self.compile_and_execute(example, compiler, test.globs) 
>> >   File 
>> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/doctest/forker.py",
>>  
>> line 872, in compile_and_execute 
>> > exec(compiled, globs) 
>> >   File "", 
>> line 5, in  
>> > title='The Frattini\nsublattice in blue', fontsize=Integer(10)) 
>> >   File 
>> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/combinat/posets/posets.py",
>>  
>> line 1834, in plot 
>> > **kwds) 
>> >   File 
>> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/misc/decorators.py",
>>  
>> line 564, in wrapper 
>> > return func(*args, **options) 
>> >   File 
>> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/graphs/generic_graph.py",
>>  
>> line 18733, in plot 
>> > return self.graphplot(**options).plot() 
>> >   File 
>> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/graphs/generic_graph.py",
>>  
>> line 18384, in graphplot 
>> > return GraphPlot(graph=self, options=options) 
>> >   File 
>> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/graphs/graph_plot.py",
>>  
>> line 262, in __init__ 
>> > self.set_pos() 
>> >   File 
>> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/graphs/graph_plot.py",
>>  
>> line 346, in set_pos 
>> > self._pos = self._graph.layout(**self._options) 
>> >   File 
>> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/graphs/generic_graph.py",
>>  
>> line 17847, in layout 
>> > pos = getattr(self, "layout_%s"%layout)(dim = dim, **options) 
>> >   File 
>> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/graphs/digraph.py",
>>  
>> line 2915, in layout_acyclic 
>> > return self.layout_graphviz(rankdir=rankdir, **options) 
>> >   File 
>> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/graphs/generic_graph.py

Re: [sage-release] Re: Sage 8.0.beta4 released

2017-05-04 Thread Steven Trogdon
I have system graphviz installed. Removing it allowed the posets.py test to 
pass on sage-on-gentoo. Of course having and not having graphviz installed 
has no effect on testing posets.py from vanilla Sage. The test always 
passes. If graphviz is the source then it seems odd that system graphviz is 
only affecting the test on debian.

On Thursday, May 4, 2017 at 4:49:11 AM UTC-5, François wrote:
>
> And it doesn’t on my sage-on-gentoo install. I notice that graphviz 
> is involved in the traceback and I don’t have graphviz installed 
> currently. 
> Would all the people with the failing test happen to have graphviz? 
> And the one who don’t, not? 
>
> François 
>
> > On 4/05/2017, at 18:23, Steven Trogdon  > wrote: 
> > 
> > The posets.py test fails here on my Gentoo machine with sage-on-gentoo 
> installed, but with vanilla Sage on the same machine the test passes. 
> > 
> > On Sunday, April 30, 2017 at 5:59:55 AM UTC-5, Emmanuel Charpentier 
> wrote: 
> > On Debian testing runninng on Core I7 + 16 GB RAM, after fetching diffs 
> over 8.0.beta3, I get three errors : 
> > 
> > -- 
> > sage -t --long src/sage/combinat/posets/posets.py  # 1 doctest failed 
> > sage -t --long src/sage/calculus/calculus.py  # 1 doctest failed 
> > sage -t --long src/sage/homology/simplicial_complex.py  # 1 doctest 
> failed 
> > -- 
> > 
> > Details : the first one is new AFAIK, and seems genuine : 
> > 
> > charpent@asus16-ec:/usr/local/sage-8$ sage -t --long 
> src/sage/combinat/posets/posets.py 
> > too many failed tests, not using stored timings 
> > Running doctests with ID 2017-04-30-12-50-37-126fd53d. 
> > Git branch: develop 
> > Using --optional=database_gap,giacpy_sage,git_trac,mpir,python2,sage 
> > Doctesting 1 file. 
> > sage -t --long src/sage/combinat/posets/posets.py 
> > ** 
> > File "src/sage/combinat/posets/posets.py", line 1742, in 
> sage.combinat.posets.posets.FinitePoset.? 
> > Failed example: 
> > L.plot(figsize=12, border=True, element_shape='s', 
> >element_size=400, element_color='white', 
> >element_colors={'blue': F, 'green': L.double_irreducibles()}, 
> >cover_color='lightgray', cover_colors={'black': F_internal}, 
> >title='The Frattini\nsublattice in blue', fontsize=10) 
> > Exception raised: 
> > Traceback (most recent call last): 
> >   File 
> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/doctest/forker.py", 
> line 509, in _run 
> > self.compile_and_execute(example, compiler, test.globs) 
> >   File 
> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/doctest/forker.py", 
> line 872, in compile_and_execute 
> > exec(compiled, globs) 
> >   File "", 
> line 5, in  
> > title='The Frattini\nsublattice in blue', fontsize=Integer(10)) 
> >   File 
> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/combinat/posets/posets.py",
>  
> line 1834, in plot 
> > **kwds) 
> >   File 
> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/misc/decorators.py",
>  
> line 564, in wrapper 
> > return func(*args, **options) 
> >   File 
> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/graphs/generic_graph.py",
>  
> line 18733, in plot 
> > return self.graphplot(**options).plot() 
> >   File 
> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/graphs/generic_graph.py",
>  
> line 18384, in graphplot 
> > return GraphPlot(graph=self, options=options) 
> >   File 
> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/graphs/graph_plot.py",
>  
> line 262, in __init__ 
> > self.set_pos() 
> >   File 
> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/graphs/graph_plot.py",
>  
> line 346, in set_pos 
> > self._pos = self._graph.layout(**self._options) 
> >   File 
> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/graphs/generic_graph.py",
>  
> line 17847, in layout 
> > pos = getattr(self, "layout_%s"%layout)(dim = dim, **options) 
> >   File 
> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/graphs/digraph.py", 
> line 2915, in layout_acyclic 
> > return self.layout_graphviz(rankdir=rankdir, **options) 
> >   File 
> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/graphs/generic_graph.py",
>  
> line 18315, in layout_graphviz 
> > positions = dot2tex.dot2tex(self.graphviz_string(**options), 
> format = "positions", prog = prog) 
> >   File 
> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/misc/decorators.py",
>  
> line 564, in wrapper 
> > return func(*args, **options) 
> >   File 
> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/graphs/generic_graph.py",
>  
> line 19532, in gra

Re: [sage-release] Re: Sage 8.0.beta4 released

2017-05-04 Thread Emmanuel Charpentier
I have the problem and I do have graphviz installed (Debian package 
2.28.0-17).

--
Emmanuel Charpentier

Le jeudi 4 mai 2017 11:49:11 UTC+2, François a écrit :
>
> And it doesn’t on my sage-on-gentoo install. I notice that graphviz 
> is involved in the traceback and I don’t have graphviz installed 
> currently. 
> Would all the people with the failing test happen to have graphviz? 
> And the one who don’t, not? 
>
> François 
>
> > On 4/05/2017, at 18:23, Steven Trogdon  > wrote: 
> > 
> > The posets.py test fails here on my Gentoo machine with sage-on-gentoo 
> installed, but with vanilla Sage on the same machine the test passes. 
> > 
> > On Sunday, April 30, 2017 at 5:59:55 AM UTC-5, Emmanuel Charpentier 
> wrote: 
> > On Debian testing runninng on Core I7 + 16 GB RAM, after fetching diffs 
> over 8.0.beta3, I get three errors : 
> > 
> > -- 
> > sage -t --long src/sage/combinat/posets/posets.py  # 1 doctest failed 
> > sage -t --long src/sage/calculus/calculus.py  # 1 doctest failed 
> > sage -t --long src/sage/homology/simplicial_complex.py  # 1 doctest 
> failed 
> > -- 
> > 
> > Details : the first one is new AFAIK, and seems genuine : 
> > 
> > charpent@asus16-ec:/usr/local/sage-8$ sage -t --long 
> src/sage/combinat/posets/posets.py 
> > too many failed tests, not using stored timings 
> > Running doctests with ID 2017-04-30-12-50-37-126fd53d. 
> > Git branch: develop 
> > Using --optional=database_gap,giacpy_sage,git_trac,mpir,python2,sage 
> > Doctesting 1 file. 
> > sage -t --long src/sage/combinat/posets/posets.py 
> > ** 
> > File "src/sage/combinat/posets/posets.py", line 1742, in 
> sage.combinat.posets.posets.FinitePoset.? 
> > Failed example: 
> > L.plot(figsize=12, border=True, element_shape='s', 
> >element_size=400, element_color='white', 
> >element_colors={'blue': F, 'green': L.double_irreducibles()}, 
> >cover_color='lightgray', cover_colors={'black': F_internal}, 
> >title='The Frattini\nsublattice in blue', fontsize=10) 
> > Exception raised: 
> > Traceback (most recent call last): 
> >   File 
> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/doctest/forker.py", 
> line 509, in _run 
> > self.compile_and_execute(example, compiler, test.globs) 
> >   File 
> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/doctest/forker.py", 
> line 872, in compile_and_execute 
> > exec(compiled, globs) 
> >   File "", 
> line 5, in  
> > title='The Frattini\nsublattice in blue', fontsize=Integer(10)) 
> >   File 
> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/combinat/posets/posets.py",
>  
> line 1834, in plot 
> > **kwds) 
> >   File 
> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/misc/decorators.py",
>  
> line 564, in wrapper 
> > return func(*args, **options) 
> >   File 
> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/graphs/generic_graph.py",
>  
> line 18733, in plot 
> > return self.graphplot(**options).plot() 
> >   File 
> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/graphs/generic_graph.py",
>  
> line 18384, in graphplot 
> > return GraphPlot(graph=self, options=options) 
> >   File 
> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/graphs/graph_plot.py",
>  
> line 262, in __init__ 
> > self.set_pos() 
> >   File 
> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/graphs/graph_plot.py",
>  
> line 346, in set_pos 
> > self._pos = self._graph.layout(**self._options) 
> >   File 
> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/graphs/generic_graph.py",
>  
> line 17847, in layout 
> > pos = getattr(self, "layout_%s"%layout)(dim = dim, **options) 
> >   File 
> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/graphs/digraph.py", 
> line 2915, in layout_acyclic 
> > return self.layout_graphviz(rankdir=rankdir, **options) 
> >   File 
> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/graphs/generic_graph.py",
>  
> line 18315, in layout_graphviz 
> > positions = dot2tex.dot2tex(self.graphviz_string(**options), 
> format = "positions", prog = prog) 
> >   File 
> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/misc/decorators.py",
>  
> line 564, in wrapper 
> > return func(*args, **options) 
> >   File 
> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/graphs/generic_graph.py",
>  
> line 19532, in graphviz_string 
> > "%s is not a valid format for edge"%(edge) 
> > AssertionError: [0, 4] is not a valid format for edge 
> > ** 
> > 1 item had failures: 
> 

Re: [sage-release] Re: Sage 8.0.beta4 released

2017-05-04 Thread Francois Bissey
And it doesn’t on my sage-on-gentoo install. I notice that graphviz
is involved in the traceback and I don’t have graphviz installed currently.
Would all the people with the failing test happen to have graphviz?
And the one who don’t, not?

François

> On 4/05/2017, at 18:23, Steven Trogdon  wrote:
> 
> The posets.py test fails here on my Gentoo machine with sage-on-gentoo 
> installed, but with vanilla Sage on the same machine the test passes.
> 
> On Sunday, April 30, 2017 at 5:59:55 AM UTC-5, Emmanuel Charpentier wrote:
> On Debian testing runninng on Core I7 + 16 GB RAM, after fetching diffs over 
> 8.0.beta3, I get three errors :
> 
> --
> sage -t --long src/sage/combinat/posets/posets.py  # 1 doctest failed
> sage -t --long src/sage/calculus/calculus.py  # 1 doctest failed
> sage -t --long src/sage/homology/simplicial_complex.py  # 1 doctest failed
> --
> 
> Details : the first one is new AFAIK, and seems genuine : 
> 
> charpent@asus16-ec:/usr/local/sage-8$ sage -t --long 
> src/sage/combinat/posets/posets.py
> too many failed tests, not using stored timings
> Running doctests with ID 2017-04-30-12-50-37-126fd53d.
> Git branch: develop
> Using --optional=database_gap,giacpy_sage,git_trac,mpir,python2,sage
> Doctesting 1 file.
> sage -t --long src/sage/combinat/posets/posets.py
> **
> File "src/sage/combinat/posets/posets.py", line 1742, in 
> sage.combinat.posets.posets.FinitePoset.?
> Failed example:
> L.plot(figsize=12, border=True, element_shape='s',
>element_size=400, element_color='white',
>element_colors={'blue': F, 'green': L.double_irreducibles()},
>cover_color='lightgray', cover_colors={'black': F_internal},
>title='The Frattini\nsublattice in blue', fontsize=10)
> Exception raised:
> Traceback (most recent call last):
>   File 
> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/doctest/forker.py", 
> line 509, in _run
> self.compile_and_execute(example, compiler, test.globs)
>   File 
> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/doctest/forker.py", 
> line 872, in compile_and_execute
> exec(compiled, globs)
>   File "", line 5, 
> in 
> title='The Frattini\nsublattice in blue', fontsize=Integer(10))
>   File 
> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/combinat/posets/posets.py",
>  line 1834, in plot
> **kwds)
>   File 
> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/misc/decorators.py",
>  line 564, in wrapper
> return func(*args, **options)
>   File 
> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/graphs/generic_graph.py",
>  line 18733, in plot
> return self.graphplot(**options).plot()
>   File 
> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/graphs/generic_graph.py",
>  line 18384, in graphplot
> return GraphPlot(graph=self, options=options)
>   File 
> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/graphs/graph_plot.py",
>  line 262, in __init__
> self.set_pos()
>   File 
> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/graphs/graph_plot.py",
>  line 346, in set_pos
> self._pos = self._graph.layout(**self._options)
>   File 
> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/graphs/generic_graph.py",
>  line 17847, in layout
> pos = getattr(self, "layout_%s"%layout)(dim = dim, **options)
>   File 
> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/graphs/digraph.py", 
> line 2915, in layout_acyclic
> return self.layout_graphviz(rankdir=rankdir, **options)
>   File 
> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/graphs/generic_graph.py",
>  line 18315, in layout_graphviz
> positions = dot2tex.dot2tex(self.graphviz_string(**options), format = 
> "positions", prog = prog)
>   File 
> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/misc/decorators.py",
>  line 564, in wrapper
> return func(*args, **options)
>   File 
> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/graphs/generic_graph.py",
>  line 19532, in graphviz_string
> "%s is not a valid format for edge"%(edge)
> AssertionError: [0, 4] is not a valid format for edge
> **
> 1 item had failures:
>1 of  37 in sage.combinat.posets.posets.FinitePoset.?
> [1222 tests, 1 failure, 8.61 s]
> --
> sage -t --long src/sage/combinat/posets/posets.py  # 1 doctest failed
> --
> Total time for all tests: 8.8 seconds
> cpu time: 8.1 seconds
> cumulative wall ti

[sage-release] Re: Sage 8.0.beta4 released

2017-05-03 Thread Steven Trogdon
The posets.py test fails here on my Gentoo machine with sage-on-gentoo 
installed, but with vanilla Sage on the same machine the test passes.

On Sunday, April 30, 2017 at 5:59:55 AM UTC-5, Emmanuel Charpentier wrote:
>
> On Debian testing runninng on Core I7 + 16 GB RAM, after fetching diffs 
> over 8.0.beta3, I get three errors :
>
> --
> sage -t --long src/sage/combinat/posets/posets.py  # 1 doctest failed
> sage -t --long src/sage/calculus/calculus.py  # 1 doctest failed
> sage -t --long src/sage/homology/simplicial_complex.py  # 1 doctest failed
> --
>
> Details : the first one is new AFAIK, and seems genuine : 
>
> charpent@asus16-ec:/usr/local/sage-8$ sage -t --long 
> src/sage/combinat/posets/posets.py
> too many failed tests, not using stored timings
> Running doctests with ID 2017-04-30-12-50-37-126fd53d.
> Git branch: develop
> Using --optional=database_gap,giacpy_sage,git_trac,mpir,python2,sage
> Doctesting 1 file.
> sage -t --long src/sage/combinat/posets/posets.py
> **
> File "src/sage/combinat/posets/posets.py", line 1742, in 
> sage.combinat.posets.posets.FinitePoset.?
> Failed example:
> L.plot(figsize=12, border=True, element_shape='s',
>element_size=400, element_color='white',
>element_colors={'blue': F, 'green': L.double_irreducibles()},
>cover_color='lightgray', cover_colors={'black': F_internal},
>title='The Frattini\nsublattice in blue', fontsize=10)
> Exception raised:
> Traceback (most recent call last):
>   File 
> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/doctest/forker.py", 
> line 509, in _run
> self.compile_and_execute(example, compiler, test.globs)
>   File 
> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/doctest/forker.py", 
> line 872, in compile_and_execute
> exec(compiled, globs)
>   File "", line 
> 5, in 
> title='The Frattini\nsublattice in blue', fontsize=Integer(10))
>   File 
> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/combinat/posets/posets.py",
>  
> line 1834, in plot
> **kwds)
>   File 
> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/misc/decorators.py",
>  
> line 564, in wrapper
> return func(*args, **options)
>   File 
> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/graphs/generic_graph.py",
>  
> line 18733, in plot
> return self.graphplot(**options).plot()
>   File 
> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/graphs/generic_graph.py",
>  
> line 18384, in graphplot
> return GraphPlot(graph=self, options=options)
>   File 
> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/graphs/graph_plot.py",
>  
> line 262, in __init__
> self.set_pos()
>   File 
> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/graphs/graph_plot.py",
>  
> line 346, in set_pos
> self._pos = self._graph.layout(**self._options)
>   File 
> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/graphs/generic_graph.py",
>  
> line 17847, in layout
> pos = getattr(self, "layout_%s"%layout)(dim = dim, **options)
>   File 
> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/graphs/digraph.py", 
> line 2915, in layout_acyclic
> return self.layout_graphviz(rankdir=rankdir, **options)
>   File 
> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/graphs/generic_graph.py",
>  
> line 18315, in layout_graphviz
> positions = dot2tex.dot2tex(self.graphviz_string(**options), 
> format = "positions", prog = prog)
>   File 
> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/misc/decorators.py",
>  
> line 564, in wrapper
> return func(*args, **options)
>   File 
> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/graphs/generic_graph.py",
>  
> line 19532, in graphviz_string
> "%s is not a valid format for edge"%(edge)
> AssertionError: [0, 4] is not a valid format for edge
> **
> 1 item had failures:
>1 of  37 in sage.combinat.posets.posets.FinitePoset.?
> [1222 tests, 1 failure, 8.61 s]
> --
> sage -t --long src/sage/combinat/posets/posets.py  # 1 doctest failed
> --
> Total time for all tests: 8.8 seconds
> cpu time: 8.1 seconds
> cumulative wall time: 8.6 seconds
>
> The second one has already been reported more than once :
>
> charpent@asus16-ec:/usr/local/sage-8$ sage -t --long 
> src/sage/calculus/calculus.py
> too many failed tests, not using stored timings
> Running doctests with ID 2017-04-30-12-51-05-338d0836.
> Git b

[sage-release] Re: Sage 8.0.beta4 released

2017-05-03 Thread tscrim
Another developer and I are also getting the failure in 
combinat/posets/posets.py.

Best,
Travis


On Sunday, April 30, 2017 at 5:59:55 AM UTC-5, Emmanuel Charpentier wrote:
>
> On Debian testing runninng on Core I7 + 16 GB RAM, after fetching diffs 
> over 8.0.beta3, I get three errors :
>
> --
> sage -t --long src/sage/combinat/posets/posets.py  # 1 doctest failed
> sage -t --long src/sage/calculus/calculus.py  # 1 doctest failed
> sage -t --long src/sage/homology/simplicial_complex.py  # 1 doctest failed
> --
>
> Details : the first one is new AFAIK, and seems genuine : 
>
> charpent@asus16-ec:/usr/local/sage-8$ sage -t --long 
> src/sage/combinat/posets/posets.py
> too many failed tests, not using stored timings
> Running doctests with ID 2017-04-30-12-50-37-126fd53d.
> Git branch: develop
> Using --optional=database_gap,giacpy_sage,git_trac,mpir,python2,sage
> Doctesting 1 file.
> sage -t --long src/sage/combinat/posets/posets.py
> **
> File "src/sage/combinat/posets/posets.py", line 1742, in 
> sage.combinat.posets.posets.FinitePoset.?
> Failed example:
> L.plot(figsize=12, border=True, element_shape='s',
>element_size=400, element_color='white',
>element_colors={'blue': F, 'green': L.double_irreducibles()},
>cover_color='lightgray', cover_colors={'black': F_internal},
>title='The Frattini\nsublattice in blue', fontsize=10)
> Exception raised:
> Traceback (most recent call last):
>   File 
> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/doctest/forker.py", 
> line 509, in _run
> self.compile_and_execute(example, compiler, test.globs)
>   File 
> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/doctest/forker.py", 
> line 872, in compile_and_execute
> exec(compiled, globs)
>   File "", line 
> 5, in 
> title='The Frattini\nsublattice in blue', fontsize=Integer(10))
>   File 
> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/combinat/posets/posets.py",
>  
> line 1834, in plot
> **kwds)
>   File 
> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/misc/decorators.py",
>  
> line 564, in wrapper
> return func(*args, **options)
>   File 
> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/graphs/generic_graph.py",
>  
> line 18733, in plot
> return self.graphplot(**options).plot()
>   File 
> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/graphs/generic_graph.py",
>  
> line 18384, in graphplot
> return GraphPlot(graph=self, options=options)
>   File 
> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/graphs/graph_plot.py",
>  
> line 262, in __init__
> self.set_pos()
>   File 
> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/graphs/graph_plot.py",
>  
> line 346, in set_pos
> self._pos = self._graph.layout(**self._options)
>   File 
> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/graphs/generic_graph.py",
>  
> line 17847, in layout
> pos = getattr(self, "layout_%s"%layout)(dim = dim, **options)
>   File 
> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/graphs/digraph.py", 
> line 2915, in layout_acyclic
> return self.layout_graphviz(rankdir=rankdir, **options)
>   File 
> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/graphs/generic_graph.py",
>  
> line 18315, in layout_graphviz
> positions = dot2tex.dot2tex(self.graphviz_string(**options), 
> format = "positions", prog = prog)
>   File 
> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/misc/decorators.py",
>  
> line 564, in wrapper
> return func(*args, **options)
>   File 
> "/usr/local/sage-8/local/lib/python2.7/site-packages/sage/graphs/generic_graph.py",
>  
> line 19532, in graphviz_string
> "%s is not a valid format for edge"%(edge)
> AssertionError: [0, 4] is not a valid format for edge
> **
> 1 item had failures:
>1 of  37 in sage.combinat.posets.posets.FinitePoset.?
> [1222 tests, 1 failure, 8.61 s]
> --
> sage -t --long src/sage/combinat/posets/posets.py  # 1 doctest failed
> --
> Total time for all tests: 8.8 seconds
> cpu time: 8.1 seconds
> cumulative wall time: 8.6 seconds
>
> The second one has already been reported more than once :
>
> charpent@asus16-ec:/usr/local/sage-8$ sage -t --long 
> src/sage/calculus/calculus.py
> too many failed tests, not using stored timings
> Running doctests with ID 2017-04-30-12-51-05-338d0836.
> Git branch: develop
> Using --optional=database_

[sage-release] Re: Sage 8.0.beta4 released

2017-04-30 Thread Emmanuel Charpentier
On Debian testing runninng on Core I7 + 16 GB RAM, after fetching diffs 
over 8.0.beta3, I get three errors :

--
sage -t --long src/sage/combinat/posets/posets.py  # 1 doctest failed
sage -t --long src/sage/calculus/calculus.py  # 1 doctest failed
sage -t --long src/sage/homology/simplicial_complex.py  # 1 doctest failed
--

Details : the first one is new AFAIK, and seems genuine : 

charpent@asus16-ec:/usr/local/sage-8$ sage -t --long 
src/sage/combinat/posets/posets.py
too many failed tests, not using stored timings
Running doctests with ID 2017-04-30-12-50-37-126fd53d.
Git branch: develop
Using --optional=database_gap,giacpy_sage,git_trac,mpir,python2,sage
Doctesting 1 file.
sage -t --long src/sage/combinat/posets/posets.py
**
File "src/sage/combinat/posets/posets.py", line 1742, in 
sage.combinat.posets.posets.FinitePoset.?
Failed example:
L.plot(figsize=12, border=True, element_shape='s',
   element_size=400, element_color='white',
   element_colors={'blue': F, 'green': L.double_irreducibles()},
   cover_color='lightgray', cover_colors={'black': F_internal},
   title='The Frattini\nsublattice in blue', fontsize=10)
Exception raised:
Traceback (most recent call last):
  File 
"/usr/local/sage-8/local/lib/python2.7/site-packages/sage/doctest/forker.py", 
line 509, in _run
self.compile_and_execute(example, compiler, test.globs)
  File 
"/usr/local/sage-8/local/lib/python2.7/site-packages/sage/doctest/forker.py", 
line 872, in compile_and_execute
exec(compiled, globs)
  File "", line 
5, in 
title='The Frattini\nsublattice in blue', fontsize=Integer(10))
  File 
"/usr/local/sage-8/local/lib/python2.7/site-packages/sage/combinat/posets/posets.py",
 
line 1834, in plot
**kwds)
  File 
"/usr/local/sage-8/local/lib/python2.7/site-packages/sage/misc/decorators.py", 
line 564, in wrapper
return func(*args, **options)
  File 
"/usr/local/sage-8/local/lib/python2.7/site-packages/sage/graphs/generic_graph.py",
 
line 18733, in plot
return self.graphplot(**options).plot()
  File 
"/usr/local/sage-8/local/lib/python2.7/site-packages/sage/graphs/generic_graph.py",
 
line 18384, in graphplot
return GraphPlot(graph=self, options=options)
  File 
"/usr/local/sage-8/local/lib/python2.7/site-packages/sage/graphs/graph_plot.py",
 
line 262, in __init__
self.set_pos()
  File 
"/usr/local/sage-8/local/lib/python2.7/site-packages/sage/graphs/graph_plot.py",
 
line 346, in set_pos
self._pos = self._graph.layout(**self._options)
  File 
"/usr/local/sage-8/local/lib/python2.7/site-packages/sage/graphs/generic_graph.py",
 
line 17847, in layout
pos = getattr(self, "layout_%s"%layout)(dim = dim, **options)
  File 
"/usr/local/sage-8/local/lib/python2.7/site-packages/sage/graphs/digraph.py", 
line 2915, in layout_acyclic
return self.layout_graphviz(rankdir=rankdir, **options)
  File 
"/usr/local/sage-8/local/lib/python2.7/site-packages/sage/graphs/generic_graph.py",
 
line 18315, in layout_graphviz
positions = dot2tex.dot2tex(self.graphviz_string(**options), format 
= "positions", prog = prog)
  File 
"/usr/local/sage-8/local/lib/python2.7/site-packages/sage/misc/decorators.py", 
line 564, in wrapper
return func(*args, **options)
  File 
"/usr/local/sage-8/local/lib/python2.7/site-packages/sage/graphs/generic_graph.py",
 
line 19532, in graphviz_string
"%s is not a valid format for edge"%(edge)
AssertionError: [0, 4] is not a valid format for edge
**
1 item had failures:
   1 of  37 in sage.combinat.posets.posets.FinitePoset.?
[1222 tests, 1 failure, 8.61 s]
--
sage -t --long src/sage/combinat/posets/posets.py  # 1 doctest failed
--
Total time for all tests: 8.8 seconds
cpu time: 8.1 seconds
cumulative wall time: 8.6 seconds

The second one has already been reported more than once :

charpent@asus16-ec:/usr/local/sage-8$ sage -t --long 
src/sage/calculus/calculus.py
too many failed tests, not using stored timings
Running doctests with ID 2017-04-30-12-51-05-338d0836.
Git branch: develop
Using --optional=database_gap,giacpy_sage,git_trac,mpir,python2,sage
Doctesting 1 file.
sage -t --long src/sage/calculus/calculus.py
**
File "src/sage/calculus/calculus.py", line 1406, in 
sage.calculus.calculus.laplace
Failed example:
laplace(t^n, t, s, algorithm='giac')
Expected:
Traceback (most recent call last):
...
NotImplementedError: Unabl

[sage-release] Re: Sage 8.0.beta4 released

2017-04-28 Thread Eric Gourgoulhon
On Ubuntu 16.04 x86_64 Xeon E5-2623 + 16 GB RAM, from a fresh git clone + 
pull develop, parallel (-j16) build OK;  make ptestlong failed with the 
same error as for versions 8.0.beta2 and beta3:

File "src/sage/calculus/calculus.py", line 1406, in 
sage.calculus.calculus.laplace
Failed example:
laplace(t^n, t, s, algorithm='giac')
Expected:
Traceback (most recent call last):
...
NotImplementedError: Unable to parse Giac output: 
integrate(t^n*exp(-s*t),t,0,+infinity)
Got:
integration(t^n*e^(-s*t), t, 0, +Infinity)

-- 
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 https://groups.google.com/group/sage-release.
For more options, visit https://groups.google.com/d/optout.