#4774: [with patch and with spkg, needs review] Upgrade matplotlib to
0.98.5.3-svn6910
-------------------------+--------------------------------------------------
 Reporter:  jason        |        Owner:  jason   
     Type:  enhancement  |       Status:  assigned
 Priority:  critical     |    Milestone:  sage-3.3
Component:  packages     |   Resolution:          
 Keywords:               |  
-------------------------+--------------------------------------------------
Comment (by mabshoff):

 On sage.math we are having problems with the tkagg backend. It used to
 happen only occasionally, but now it happens every time I doctest plot.py:
 {{{
 File "/scratch/mabshoff/sage-3.3.rc1/devel/sage/sage/plot/plot.py", line
 172:
     sage: grid(True)
 Exception raised:
     Traceback (most recent call last):
       File "/scratch/mabshoff/sage-3.3.rc1/local/bin/ncadoctest.py", line
 1231, in run_one_test
         self.run_one_example(test, example, filename, compileflags)
       File "/scratch/mabshoff/sage-3.3.rc1/local/bin/sagedoctest.py", line
 38, in run_one_example
         OrigDocTestRunner.run_one_example(self, test, example, filename,
 compileflags)
       File "/scratch/mabshoff/sage-3.3.rc1/local/bin/ncadoctest.py", line
 1172, in run_one_example
         compileflags, 1) in test.globs
       File "<doctest __main__.example_0[60]>", line 1, in <module>
         grid(True)###line 172:
     sage: grid(True)
       File "/scratch/mabshoff/sage-3.3.rc1/local/lib/python2.5/site-
 packages/matplotlib/pyplot.py", line 2453, in grid
         ret =  gca().grid(*args, **kwargs)
       File "/scratch/mabshoff/sage-3.3.rc1/local/lib/python2.5/site-
 packages/matplotlib/pyplot.py", line 572, in gca
         ax =  gcf().gca(**kwargs)
       File "/scratch/mabshoff/sage-3.3.rc1/local/lib/python2.5/site-
 packages/matplotlib/pyplot.py", line 274, in gcf
         return figure()
       File "/scratch/mabshoff/sage-3.3.rc1/local/lib/python2.5/site-
 packages/matplotlib/pyplot.py", line 252, in figure
         **kwargs)
       File "/scratch/mabshoff/sage-3.3.rc1/local/lib/python2.5/site-
 packages/matplotlib/backends/backend_tkagg.py", line 90, in
 new_figure_manager
         window = Tk.Tk()
       File "/scratch/mabshoff/sage-3.3.rc1/local/lib/python2.5/lib-
 tk/Tkinter.py", line 1636, in __init__
         self.tk = _tkinter.create(screenName, baseName, className,
 interactive, wantobjects, useTk, sync, use)
     TclError: no display name and no $DISPLAY environment variable
 }}}

 We already disable tkagg on Itanium/Linux, so let's get rid of it
 globally.

 Cheers,

 Michael

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4774#comment:31>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of 
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
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