Hello, Mr.Tiago de Paula Peixoto

I am sorry for the late reply. I have not checked Google Forums for a while. It seems that there is something wrong with pre-compiled packages for Ubuntu 13.10 64Bit version. If I complie the source code and install graph-tool, graph_draw() works well under graph-tool 2.27 and graph-tool 2.28 version. But after I install python-graph-tool with apt-get command, graph_draw() fails drawing any graph which has more than 1000 vertexes. 

Here is the test python code I used:
########################################################
import sys, os
from graph_tool.all import *
g = load_graph("price.xml.gz")
age = g.vertex_properties["age"]
graph_draw(g, output_size=(1000, 1000), vertex_color=age,
           vertex_fill_color=age, vertex_size=1, edge_pen_width=1.2,
           output="price.png")
########################################################

And the "price.xml.gz" is produced by a example in the documention of graph-tool(http://graph-tool.skewed.de/static/doc/quickstart.html#an-example-building-a-price-network). The attachment also can be used.

I hope these may help you.

Best,
Liu

在 2014年1月5日星期日UTC+8上午12时14分19秒,Tiago Peixoto写道:
On 01/04/2014 05:34 AM, boxili...@gmail.com wrote:
> Hello, Mr.Tiago de Paula Peixoto,
>
> I have installed python-graph-tool with apt-get command. But another
> problem occurs. When I execute the example, Building a Price Network
> and then draw the network with graph_draw() function, my python2.7.5
> crashs down. It reports that python has a segmentation fault. I have
> the core dumped. I have installed all requirements to use
> graph_tool. Is there any wrong setting I made? Or it is a bug?
>

I cannot reproduce this with Ubuntu 13.10. Could you provide a minimal
but complete example of when you observer the crash?

A new version of graph-tool (2.2.28) was released today. Do you observe
the crash with this version as well?

Best,
Tiago

--
Tiago de Paula Peixoto <ti...@skewed.de>