From: assiss <as...@16...> - 2006-08-18 06:54:08
|
hi all, I installed matplotlib and it worked very well with TkAgg/Agg. But when use GtkAgg or Gtk, python just coredumped without any prompts. For example, python a.py -dTkAgg, it worked. python a.py -dGtkAgg, "Segmentation fault (core dumped)". When running the examples with -dGtkAgg, gtk_spreadsheet.py embedding_in_gtk.py embedding_in_gtk3.py worked, embedding_in_gtk2.py pylab_with_gtk.py failed and coredumped without any prompts. My system is NetBSD AMD64-3.0. With python 2.4.3, gtk+-2.8.19, pygtk-2.8.6. Is there someting wrong with my system? Thanks for your suggestion. assiss 2006.8.18 |
From: assiss <as...@16...> - 2006-08-18 06:37:42
|
hi all, I installed matplotlib and it worked very well with TkAgg/Agg. But when use GtkAgg or Gtk, python just coredumped without any prompts. For example, python a.py -dTkAgg, it worked. python a.py -dGtkAgg, "Segmentation fault (core dumped)". My system is NetBSD AMD64-3.0. With python 2.4.3, gtk+-2.8.19, pygtk-2.8.6. Is there someting wrong with my system? Thanks for your suggestion. assiss 2006.8.18 |
From: Charlie M. <cw...@gm...> - 2006-08-18 12:21:06
|
UGxlYXNlIGZvbGxvdyB0aGUgc2VnZmF1bHQgaW5zdHJ1Y3Rpb25zIGFuZCBnZXQgYmFjayB0byB1 cy4KCmh0dHA6Ly9zdm4uc291cmNlZm9yZ2UubmV0L3ZpZXd2Yy9tYXRwbG90bGliL3RydW5rL21h dHBsb3RsaWIvU0VHRkFVTFRTP3JldmlzaW9uPTIzMTImdmlldz1tYXJrdXAKCgpPbiA4LzE4LzA2 LCBhc3Npc3MgPGFzc2lzc0AxNjMuY29tPiB3cm90ZToKPiBoaSBhbGwsCj4gSSBpbnN0YWxsZWQg bWF0cGxvdGxpYiBhbmQgaXQgd29ya2VkIHZlcnkgd2VsbCB3aXRoIFRrQWdnL0FnZy4gQnV0IHdo ZW4gdXNlCj4gR3RrQWdnIG9yIEd0aywgcHl0aG9uIGp1c3QgY29yZWR1bXBlZCB3aXRob3V0IGFu eSBwcm9tcHRzLgo+IEZvciB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lZCB0ZWNobm9sb2d5IHRvIG1ha2UgeW91ciBqb2IKPiBlYXNpZXIKPiBEb3dubG9h ZCBJQk0gV2ViU3BoZXJlIEFwcGxpY2F0aW9uIFNlcnZlciB2LjEuMC4xIGJhc2VkIG9uIEFwYWNo ZSBHZXJvbmltbwo+IGh0dHA6Ly9zZWwuYXMtdXMuZmFsa2FnLm5ldC9zZWw/Y21kPWxuayZraWQ9 MTIwNzA5JmJpZD0yNjMwNTcmZGF0PTEyMTY0Mgo+Cj4gX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX18KPiBNYXRwbG90bGliLXVzZXJzIG1haWxpbmcgbGlzdAo+ IE1hdHBsb3RsaWItdXNlcnNAbGlzdHMuc291cmNlZm9yZ2UubmV0Cj4gaHR0cHM6Ly9saXN0cy5z b3VyY2Vmb3JnZS5uZXQvbGlzdHMvbGlzdGluZm8vbWF0cGxvdGxpYi11c2Vycwo+Cj4KPgo= |
From: assiss <as...@16...> - 2006-08-19 02:41:38
|
From: "Charlie Moad" <cw...@gm...> To: "assiss" <as...@16...> Date: Fri, 18 Aug 2006 20:20:59 +0800 (CST) Subject: Re: [Matplotlib-users] python coredump when using GtkAgg mode Thanks. 9 import matplotlib._image #worked 10 import matplotlib._transforms #worked 11 12 #one of these three depending on which numerix package you are using 13 import matplotlib.backends._na_backend_agg # for numarray, worked 14 import matplotlib.backends._nc_backend_agg # for Numeric, worked 15 import matplotlib.backends._ns_backend_agg # for numpy, failed, because I didn't install numpy. 16 17 import matplotlib.backends._tkagg #worked 18 import matplotlib._agg #worked 1.py: ###################### from pylab import * plot(range(3)) show() ###################### Build matplotlib with VERBOSE=True , run python 1.py -dGTKAgg, it showed: ########################## LazyValue::init_type Value::init_type BinOp::init_type Point::init_type Interval::init_type Bbox::init_type Func::init_type FuncXY::init_type Transformation::init_type SeparableTransformation::init_type NonseparableTransformation::init_type Affine::init_type init_na_transforms Glyph::init_type FT2Font::init_type _transforms_module::new_value _transforms_module::new_value _transforms_module::new_point Point::Point _transforms_module::new_value _transforms_module::new_value _transforms_module::new_point Point::Point _transforms_module::new_bbox Bbox::Bbox _transforms_module::new_value _transforms_module::new_value _transforms_module::new_point Point::Point _transforms_module::new_value _transforms_module::new_value _transforms_module::new_point Point::Point _transforms_module::new_bbox Bbox::Bbox _transforms_module::new_value _transforms_module::new_value _transforms_module::new_point Point::Point _transforms_module::new_value _transforms_module::new_value _transforms_module::new_point Point::Point _transforms_module::new_bbox Bbox::Bbox _transforms_module::new_func _transforms_module::new_func _transforms_module::new_separable_transformation BBoxTransformation::BBoxTransformation SeparableTransformation::SeparableTransformation init_na_image Image::init_type _transforms_module::new_value Value::~Value init_na_backend_agg _transforms_module::new_value _transforms_module::new_value _transforms_module::new_point Point::Point _transforms_module::new_value _transforms_module::new_value _transforms_module::new_point Point::Point _transforms_module::new_bbox Bbox::Bbox _transforms_module::new_value _transforms_module::new_value _transforms_module::new_point Point::Point _transforms_module::new_value _transforms_module::new_value _transforms_module::new_point Point::Point _transforms_module::new_bbox Bbox::Bbox _transforms_module::new_func _transforms_module::new_func _transforms_module::new_separable_transformation BBoxTransformation::BBoxTransformation SeparableTransformation::SeparableTransformation _transforms_module::new_value _transforms_module::new_value _transforms_module::new_value _transforms_module::new_value _transforms_module::new_value _transforms_module::new_point Point::Point LazyValue::number BinOp::BinOp LazyValue::number BinOp::BinOp _transforms_module::new_point Point::Point _transforms_module::new_bbox Bbox::Bbox _transforms_module::new_value _transforms_module::new_value _transforms_module::new_point Point::Point _transforms_module::new_value _transforms_module::new_value _transforms_module::new_point Point::Point _transforms_module::new_bbox Bbox::Bbox _transforms_module::new_func _transforms_module::new_func _transforms_module::new_separable_transformation BBoxTransformation::BBoxTransformation SeparableTransformation::SeparableTransformation _transforms_module::new_value _transforms_module::new_value _transforms_module::new_point Point::Point _transforms_module::new_value _transforms_module::new_value _transforms_module::new_point Point::Point _transforms_module::new_bbox Bbox::Bbox _transforms_module::new_value _transforms_module::new_value _transforms_module::new_point Point::Point _transforms_module::new_value _transforms_module::new_value _transforms_module::new_point Point::Point _transforms_module::new_bbox Bbox::Bbox _transforms_module::new_func _transforms_module::new_func _transforms_module::new_separable_transformation BBoxTransformation::BBoxTransformation SeparableTransformation::SeparableTransformation SeparableTransformation::~SeparableTransformation Func::~Func Func::~Func BBoxTransformation::~BBoxTransformation Bbox::~Bbox Point::~Point Value::~Value Value::~Value Point::~Point Value::~Value Value::~Value Bbox::~Bbox Point::~Point Value::~Value Value::~Value Point::~Point Value::~Value Value::~Value Transformation::~Transformation Segmentation fault (core dumped) ########################### > Please follow the segfault instructions and get back to us. > > http://svn.sourceforge.net/viewvc/matplotlib/trunk/matplotlib/SEGFAULTS?revision=2312&view=markup > > > On 8/18/06, assiss <as...@16...> wrote: > > hi all, > > I installed matplotlib and it worked very well with TkAgg/Agg. But when use > > GtkAgg or Gtk, python just coredumped without any prompts. > > For example, python a.py -dTkAgg, it worked. python a.py -dGtkAgg, > > "Segmentation fault (core dumped)". > > > > When running the examples with -dGtkAgg, gtk_spreadsheet.py > > embedding_in_gtk.py embedding_in_gtk3.py worked, embedding_in_gtk2.py > > pylab_with_gtk.py failed and coredumped without any prompts. > > > > My system is NetBSD AMD64-3.0. With python 2.4.3, gtk+-2.8.19, pygtk-2.8.6. > > > > Is there someting wrong with my system? Thanks for your suggestion. > > > > assiss > > 2006.8.18 > > > > > > > > > > > > > > _______________________________________________ > > Matplotlib-users mailing list > > Mat...@li... > > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > > > > > > |
From: Charlie M. <cw...@gm...> - 2006-08-19 16:51:46
|
On 8/18/06, assiss <as...@16...> wrote: > From: "Charlie Moad" <cw...@gm...> > To: "assiss" <as...@16...> > Date: Fri, 18 Aug 2006 20:20:59 +0800 (CST) > Subject: Re: [Matplotlib-users] python coredump when using GtkAgg mode > > Thanks. > > 9 import matplotlib._image #worked > 10 import matplotlib._transforms #worked > 11 > 12 #one of these three depending on which numerix package you are using > 13 import matplotlib.backends._na_backend_agg # for > numarray, worked > 14 import matplotlib.backends._nc_backend_agg # for > Numeric, worked > 15 import matplotlib.backends._ns_backend_agg # for numpy, > failed, because I didn't install numpy. > 16 > 17 import matplotlib.backends._tkagg #worked > 18 import matplotlib._agg #worked Since your error was with gtk try: import matplotlib.backends._gtkagg I am guessing that will fail. You might try reinstalling gtk and pygtk. I doubt anyone has NetBSD to confirm your error though. |