On 16.02.2016 18:23, Chris Barrington-Leigh wrote: > I have followed the instructions for Ubuntu here > > https://graph-tool.skewed.de/download#debian > > to install the precompiled version of graph-tool onto my Ubuntu 15.10 > system. > It went okay except that I got the complaint, even after installing the key, > that the graph-tool package wasn't verified. > > After installation, there seems to be a conflict between graph_tool and > pylab. > I usually start python 2.7 under ipython with ipython --pdb --pylab > > After doing so, the following works alright > > from graph_tool import Graph > > However, the following hangs forever: > > > from graph_tool.all import graph_draw > /usr/lib/python2.7/dist-packages/gi/module.py:176: Warning: cannot register > existing type 'GtkWidget' > g_type = info.get_g_type() > /usr/lib/python2.7/dist-packages/gi/module.py:176: Warning: cannot add class > private field to invalid type '<invalid>' > g_type = info.get_g_type() > /usr/lib/python2.7/dist-packages/gi/module.py:176: Warning: cannot add > private field to invalid (non-instantiatable) type '<invalid>' > g_type = info.get_g_type() > /usr/lib/python2.7/dist-packages/gi/module.py:176: Warning: > g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE > (instance_type)' failed > g_type = info.get_g_type() > /usr/lib/python2.7/dist-packages/gi/module.py:176: Warning: cannot register > existing type 'GtkBuildable' > g_type = info.get_g_type() > /usr/lib/python2.7/dist-packages/gi/module.py:176: Warning: > g_type_interface_add_prerequisite: assertion 'G_TYPE_IS_INTERFACE > (interface_type)' failed > g_type = info.get_g_type() > /usr/lib/python2.7/dist-packages/gi/module.py:176: Warning: > g_once_init_leave: assertion 'result != 0' failed > g_type = info.get_g_type() > > > > I don't understand the errors, but possibly some test could avert the > hang/crash outcome?
This looks like a GTK+ problem. Do you known which matplotlib backend you are using? Best, Tiago -- Tiago de Paula Peixoto <[email protected]>
signature.asc
Description: OpenPGP digital signature
_______________________________________________ graph-tool mailing list [email protected] http://lists.skewed.de/mailman/listinfo/graph-tool
