On 20.09.2015 17:26, yannis panagis wrote:
Dear all,
I am new to graph tool. I have installed it under Ubuntu 14.04 64-bit and Python 2.7. When I tried to run the animation demos in the Cookbook section of the documentation I got a segmentation fault error. I loaded the core with gdb but couldnt get any further details on the source of the error.
Stepping into the code I managed to find out that the segmentation fault takes place when win.graph.regenerate_surface() is executed, e.g. On line 122 in animation_sirs.py. Gtk seems to be using TkAgg for what it matters.
Do you have any idea on why this error occurs? Shall I try another GTK backend?
Unfortunately, it is very hard to say anything without a backtrace. You need to give more detailed information. I don't observe any segfaults with the animation examples. Also, I'm not sure what you mean with "another GTK backend". TKAgg is not a GTK backend, it is a matplotlib backend. Best, Tiago -- Tiago de Paula Peixoto <tiago@skewed.de>