[graph-tool] random_graph function crashes python