#5301: In sage-3.3.rc2, doing sage -t -long "devel/sage/sage/plot/plot.py" 
causing
a matplotlib GUI window to popup
----------------------+-----------------------------------------------------
 Reporter:  was       |       Owner:  was     
     Type:  defect    |      Status:  new     
 Priority:  blocker   |   Milestone:  sage-3.3
Component:  graphics  |    Keywords:          
----------------------+-----------------------------------------------------
 This happens on OS X with a local GUI. Moreover, I get this doctest
 failure, which is perhaps related:
 {{{
          [2.5 s]
 sage -t -long "devel/sage/sage/plot/plot.py"
 **********************************************************************
 File
 "/Users/wstein/build/build/sage-3.3.rc2/devel/sage/sage/plot/plot.py",
 line 173:
     sage: savefig('sage.png')
 Exception raised:
     Traceback (most recent call last):
       File
 "/Users/wstein/build/build/sage-3.3.rc2/local/bin/ncadoctest.py", line
 1231, in run_one_test
         self.run_one_example(test, example, filename, compileflags)
       File
 "/Users/wstein/build/build/sage-3.3.rc2/local/bin/sagedoctest.py", line
 38, in run_one_example
         OrigDocTestRunner.run_one_example(self, test, example, filename,
 compileflags)
       File
 "/Users/wstein/build/build/sage-3.3.rc2/local/bin/ncadoctest.py", line
 1172, in run_one_example
         compileflags, 1) in test.globs
       File "<doctest __main__.example_0[61]>", line 1, in <module>
         savefig('sage.png')###line 173:
     sage: savefig('sage.png')
       File "/Users/wstein/build/build/sage-3.3.rc2/local/lib/python2.5
 /site-packages/matplotlib/pyplot.py", line 346, in savefig
         return fig.savefig(*args, **kwargs)
       File "/Users/wstein/build/build/sage-3.3.rc2/local/lib/python2.5
 /site-packages/matplotlib/figure.py", line 1001, in savefig
         self.canvas.print_figure(*args, **kwargs)
       File "/Users/wstein/build/build/sage-3.3.rc2/local/lib/python2.5
 /site-packages/matplotlib/backends/backend_macosx.py", line 268, in
 print_figure
         self.write_bitmap(filename, width, height)
     ValueError: Unknown file type
 **********************************************************************
 1 items had failures:
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5301>
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