There seems to be an odd error that comes up when exiting python after using
matplotlib with gtkagg backend.  I only notice this error if I do not
display the figure (i.e., only saving figures in a headless mode) and during
the test.  Also, this is with matplotlib master branch.  I have not tested
this with any other branch.  Here is the error message:

Error in atexit._run_exitfuncs:
Traceback (most recent call last):
  File "/usr/lib/python2.6/atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
  File "/home/bvr/Programs/matplotlib/lib/matplotlib/_pylab_helpers.py",
line 82, in destroy_all
    manager.destroy()
  File
"/home/bvr/Programs/matplotlib/lib/matplotlib/backends/backend_gtk.py", line
552, in destroy
    self.canvas.destroy()
AttributeError: FigureManagerGTKAgg instance has no attribute 'canvas'
Error in sys.exitfunc:
Traceback (most recent call last):
  File "/usr/lib/python2.6/atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
  File "/home/bvr/Programs/matplotlib/lib/matplotlib/_pylab_helpers.py",
line 82, in destroy_all
    manager.destroy()
  File
"/home/bvr/Programs/matplotlib/lib/matplotlib/backends/backend_gtk.py", line
552, in destroy
    self.canvas.destroy()
AttributeError: FigureManagerGTKAgg instance has no attribute 'canvas'


This happens with both python 2.6 and 2.7.  I have not tested any other
version.

Ben Root
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to