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 <[email protected] 
> <javascript:>> 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 "<doctest sage.combinat.posets.posets.FinitePoset.?[12]>", 
> line 5, in <module> 
> >         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: Unable to parse Giac output: 
> integrate(t^n*exp(-s*t),t,0,+infinity) 
> > Got: 
> >     integration(t^n*e^(-s*t), t, 0, +Infinity) 
> > ********************************************************************** 
> > 1 item had failures: 
> >    1 of  39 in sage.calculus.calculus.laplace 
> >     [419 tests, 1 failure, 9.85 s] 
> > ---------------------------------------------------------------------- 
> > sage -t --long src/sage/calculus/calculus.py  # 1 doctest failed 
> > ---------------------------------------------------------------------- 
> > Total time for all tests: 9.9 seconds 
> >     cpu time: 9.3 seconds 
> >     cumulative wall time: 9.9 seconds 
> > 
> > The third one is transient, i. e. passes when run standalone. 
> > 
> > HTH, 
> > 
> > -- 
> > Emmanuel Charpentier 
> > 
> > Le jeudi 27 avril 2017 23:56:10 UTC+2, Volker Braun a écrit : 
> > As always, you can get the latest beta version from the "develop" git 
> branch. Alternatively, the self-contained source tarball is at 
> http://www.sagemath.org/download-latest.html 
> > 
> > 7177ef5 Updated SageMath version to 8.0.beta4 
> > cffd8ca Trac #10070: make heaviside and step play nicely together. 
> > 0aaa0fd Trac #22862: Invalid pointers in sympow on OpenSuSE 
> > 4b9abab Trac #22839: Patch python2 to increase FD_SETSIZE on Cygwin 
> > 9c0831c Trac #22838: Upgrade to Pynac-0.7.6 
> > f1c06a5 Trac #22746: Update sage.lfunctions.dokchitser.Dokchitser to use 
> only one gp interpreter 
> > ffab656 Trac #20238: Move the Sage <-> PARI interface to a stand-alone 
> package CyPari 
> > 6f0a31d Trac #22860: ticket #22840 causes breakage with some linkers 
> when the order is important. 
> > 8553abb Trac #22644: Fix and test interact library 
> > 42c0fa2 Trac #22117: LatticePoset: Add certificate for is_distributive 
> > b3aee2d Trac #18545: Some examples to plot() for posets. 
> > fa8ec79 Trac #16086: Python 3 preparation: Py2 vs. Py3 return value of 
> write() in doctests 
> > aec9477 Trac #22810: Pari initialization segfaults in Cygwin since 
> #22633 
> > b248d03 Trac #22691: Upgrade cysignals 
> > d77ed66 Trac #22795: Fixing a typo in error message within finite 
> subgroups of modular abelian varieties 
> > b6308c9 Trac #22837: zeromq: don't run self-tests in parallel 
> > c1f8784 Trac #22835: molien series for finite matrix gap groups in char 
> 0 
> > 8d16ba4 Trac #22215: Allow "sage -n jupyterlab" 
> > 9a4febf Trac #21843: Update the .cython_version format to include all 
> cythonize options 
> > 33f91b5 Trac #21206: Add improved process shutdown code for 
> PALPreader._iterate_list 
> > f9ea9b8 Trac #22644: Fix and test interact library 
> > f32d774 Trac #21889: add strongly regular  (216,40,4,8)- and 
> (540,187,58,68)-graphs to the database of SRGs 
> > 3d51375 Trac #21045: Implement Zariski-VanKampen method to compute 
> fundamental groups of complements of plane curves. 
> > 2f5a28f Updated SageMath version to 8.0.beta3 
> > 
> > 
> > -- 
> > 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] <javascript:>. 
> > To post to this group, send email to [email protected] 
> <javascript:>. 
> > Visit this group at https://groups.google.com/group/sage-release. 
> > For more options, visit https://groups.google.com/d/optout. 
>
>

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

Reply via email to