Hi, On Wed, Nov 2, 2011 at 18:12, John Jameson <jwin...@gmail.com> wrote: > In the meantime I notice that with MPL v1.1.0 the program crashes at the end > a most of my old MPL example programs (I use the GTKAgg backend for all of > them). A typical way to end the program is: > > gtk.main_quit() > > raise SystemExit > > and it crashes on the call the ''raise SystemExit". A typical output is > > /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/backends/backend_gtk.py:552: > GtkWarning: gtk_widget_unrealize: assertion `GTK_IS_WIDGET (widget)' failed > > self.toolbar.destroy() > > /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/backends/backend_gtk.py:552: > GtkWarning: gtk_widget_is_toplevel: assertion `GTK_IS_WIDGET (widget)' > failed > > self.toolbar.destroy() >
it happens also on Debian: $ python Python 2.7.2+ (default, Oct 5 2011, 10:41:47) [GCC 4.6.1] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import matplotlib >>> matplotlib.use('GTKAgg') >>> from matplotlib import pyplot as plt >>> plt.plot((1,2), (2,4)) [<matplotlib.lines.Line2D object at 0x2f7e6d0>] >>> plt.show() /usr/lib/pymodules/python2.7/matplotlib/backends/backend_gtk.py:552: GtkWarning: IA__gtk_widget_unrealize: assertion `GTK_IS_WIDGET (widget)' failed self.toolbar.destroy() /usr/lib/pymodules/python2.7/matplotlib/backends/backend_gtk.py:552: GtkWarning: IA__gtk_widget_is_toplevel: assertion `GTK_IS_WIDGET (widget)' failed self.toolbar.destroy() Segmentation fault Cheers, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.org/SandroTosi ------------------------------------------------------------------------------ RSA® Conference 2012 Save $700 by Nov 18 Register now! http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users