#9798: Accelerate Polyhedron constructor and fix cddlib output ordering
----------------------------+-----------------------------------------------
   Reporter:  vbraun        |       Owner:  mhampton  
       Type:  defect        |      Status:  needs_work
   Priority:  major         |   Milestone:  sage-4.6  
  Component:  geometry      |    Keywords:            
     Author:  Volker Braun  |    Upstream:  N/A       
   Reviewer:                |      Merged:            
Work_issues:                |  
----------------------------+-----------------------------------------------

Comment(by jhpalmieri):

 After running all tests, there were lots of failures, as you might
 imagine:
 {{{
 The following tests failed:

         sage -t  -long devel/sage/sage/rings/polynomial/groebner_fan.py #
 4 doctests failed
         sage -t  -long
 devel/sage/sage/rings/polynomial/multi_polynomial.pyx # 4 doctests failed
         sage -t  -long devel/sage/sage/geometry/fan.py # 139 doctests
 failed
         sage -t  -long devel/sage/sage/geometry/cone.py # 409 doctests
 failed
         sage -t  -long devel/sage/sage/geometry/polyhedra.py # 733
 doctests failed
         sage -t  -long devel/sage/sage/plot/misc.py # 4 doctests failed
         sage -t  -long devel/sage/sage/plot/plot.py # 12 doctests failed
         sage -t  -long devel/sage/sage/schemes/generic/toric_variety.py #
 153 doctests failed
         sage -t  -long
 devel/sage/sage/schemes/generic/toric_variety_library.py # 99 doctests
 failed
         sage -t  -long
 devel/sage/sage/schemes/generic/toric_divisor_class.pyx # 56 doctests
 failed
         sage -t  -long devel/sage/sage/schemes/generic/toric_divisor.py #
 312 doctests failed
         sage -t  -long
 devel/sage/sage/schemes/generic/fano_toric_variety.py # 7 doctests failed
 }}}
 Many of these are basically the same as the earlier error.  I'm also
 seeing this one, as in for example plot/misc.py:
 {{{
 sage -t  -long devel/sage/sage/plot/misc.py
 **********************************************************************
 File "/home/palmieri/fulvia/32bit/sage-4.6.alpha2/devel/sage-
 main/sage/plot/misc.py", line 483:
     sage: plot(sin(x), (x,0,2*pi), ticks=pi/3, tick_formatter=pi)
 Exception raised:
     Traceback (most recent call last):
       File
 "/home/palmieri/fulvia/32bit/sage-4.6.alpha2/local/bin/ncadoctest.py",
 line 1231, in run_one_test
         self.run_one_example(test, example, filename, compileflags)
       File
 "/home/palmieri/fulvia/32bit/sage-4.6.alpha2/local/bin/sagedoctest.py",
 line 38, in run_one_example
         OrigDocTestRunner.run_one_example(self, test, example, filename,
 compileflags)
       File
 "/home/palmieri/fulvia/32bit/sage-4.6.alpha2/local/bin/ncadoctest.py",
 line 1172, in run_one_example
         compileflags, 1) in test.globs
       File "<doctest __main__.example_12[2]>", line 1, in <module>
         plot(sin(x), (x,Integer(0),Integer(2)*pi), ticks=pi/Integer(3),
 tick_formatter=pi)###line 483:
     sage: plot(sin(x), (x,0,2*pi), ticks=pi/3, tick_formatter=pi)
       File "/home/palmieri/fulvia/32bit/sage-4.6.alpha2/local/lib/python
 /site-packages/sage/misc/displayhook.py", line 174, in displayhook
         print_obj(sys.stdout, obj)
       File "/home/palmieri/fulvia/32bit/sage-4.6.alpha2/local/lib/python
 /site-packages/sage/misc/displayhook.py", line 142, in print_obj
         print >>out_stream, `obj`
       File "sage_object.pyx", line 101, in
 sage.structure.sage_object.SageObject.__repr__
 (sage/structure/sage_object.c:1370)
       File "/home/palmieri/fulvia/32bit/sage-4.6.alpha2/local/lib/python
 /site-packages/sage/plot/plot.py", line 922, in _repr_
         self.show()
       File "/home/palmieri/fulvia/32bit/sage-4.6.alpha2/local/lib/python
 /site-packages/sage/plot/plot.py", line 1546, in show
         self.save(DOCTEST_MODE_FILE, **options)
       File "/home/palmieri/fulvia/32bit/sage-4.6.alpha2/local/lib/python
 /site-packages/sage/plot/plot.py", line 2202, in save
         figure.savefig(filename,dpi=dpi,bbox_inches='tight',**options)
       File "/home/palmieri/fulvia/32bit/sage-4.6.alpha2/local/lib/python
 /site-packages/matplotlib/figure.py", line 1032, in savefig
         self.canvas.print_figure(*args, **kwargs)
       File "/home/palmieri/fulvia/32bit/sage-4.6.alpha2/local/lib/python
 /site-packages/matplotlib/backend_bases.py", line 1455, in print_figure
         **kwargs)
       File "/home/palmieri/fulvia/32bit/sage-4.6.alpha2/local/lib/python
 /site-packages/matplotlib/backends/backend_agg.py", line 358, in print_png
         FigureCanvasAgg.draw(self)
       File "/home/palmieri/fulvia/32bit/sage-4.6.alpha2/local/lib/python
 /site-packages/matplotlib/backends/backend_agg.py", line 314, in draw
         self.figure.draw(self.renderer)
       File "/home/palmieri/fulvia/32bit/sage-4.6.alpha2/local/lib/python
 /site-packages/matplotlib/artist.py", line 46, in draw_wrapper
         draw(artist, renderer, *args, **kwargs)
       File "/home/palmieri/fulvia/32bit/sage-4.6.alpha2/local/lib/python
 /site-packages/matplotlib/figure.py", line 773, in draw
         for a in self.axes: a.draw(renderer)
       File "/home/palmieri/fulvia/32bit/sage-4.6.alpha2/local/lib/python
 /site-packages/matplotlib/artist.py", line 46, in draw_wrapper
         draw(artist, renderer, *args, **kwargs)
       File "/home/palmieri/fulvia/32bit/sage-4.6.alpha2/local/lib/python
 /site-packages/matplotlib/axes.py", line 1735, in draw
         a.draw(renderer)
       File "/home/palmieri/fulvia/32bit/sage-4.6.alpha2/local/lib/python
 /site-packages/matplotlib/artist.py", line 46, in draw_wrapper
         draw(artist, renderer, *args, **kwargs)
       File "/home/palmieri/fulvia/32bit/sage-4.6.alpha2/local/lib/python
 /site-packages/matplotlib/axis.py", line 742, in draw
         tick.draw(renderer)
       File "/home/palmieri/fulvia/32bit/sage-4.6.alpha2/local/lib/python
 /site-packages/matplotlib/artist.py", line 46, in draw_wrapper
         draw(artist, renderer, *args, **kwargs)
       File "/home/palmieri/fulvia/32bit/sage-4.6.alpha2/local/lib/python
 /site-packages/matplotlib/axis.py", line 196, in draw
         self.label1.draw(renderer)
       File "/home/palmieri/fulvia/32bit/sage-4.6.alpha2/local/lib/python
 /site-packages/matplotlib/text.py", line 518, in draw
         bbox, info = self._get_layout(renderer)
       File "/home/palmieri/fulvia/32bit/sage-4.6.alpha2/local/lib/python
 /site-packages/matplotlib/text.py", line 280, in _get_layout
         clean_line, self._fontproperties, ismath=ismath)
       File "/home/palmieri/fulvia/32bit/sage-4.6.alpha2/local/lib/python
 /site-packages/matplotlib/backends/backend_agg.py", line 156, in
 get_text_width_height_descent
         self.mathtext_parser.parse(s, self.dpi, prop)
       File "/home/palmieri/fulvia/32bit/sage-4.6.alpha2/local/lib/python
 /site-packages/matplotlib/mathtext.py", line 2797, in parse
         font_output = fontset_class(prop, backend)
       File "/home/palmieri/fulvia/32bit/sage-4.6.alpha2/local/lib/python
 /site-packages/matplotlib/mathtext.py", line 658, in __init__
         self._stix_fallback = StixFonts(*args, **kwargs)
       File "/home/palmieri/fulvia/32bit/sage-4.6.alpha2/local/lib/python
 /site-packages/matplotlib/mathtext.py", line 900, in __init__
         fullpath = findfont(name)
       File "/home/palmieri/fulvia/32bit/sage-4.6.alpha2/local/lib/python
 /site-packages/matplotlib/font_manager.py", line 1306, in findfont
         if not os.path.exists(font):
       File
 
"/home/palmieri/fulvia/32bit/sage-4.6.alpha2/local/lib/python2.6/genericpath.py",
 line 18, in exists
         st = os.stat(path)
     TypeError: coercing to Unicode: need string or buffer, dict found
 **********************************************************************
 }}}
 I've put the full test log on-line:
 [http://sage.math.washington.edu/home/palmieri/misc/fulvia-ptestlong.log].

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9798#comment:41>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to