[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [igraph] Python Read_GraphML---Assertion Failed
From: |
Tamás Nepusz |
Subject: |
Re: [igraph] Python Read_GraphML---Assertion Failed |
Date: |
Wed, 22 Jan 2014 01:56:10 +0100 |
Hi,
I’m receiving a different error; igraph complains about an unknown attribute
type, but since we have made a few updates in the GraphML parser, it could be
the case that both error messages (yours and mine) are caused by the same issue.
I took a quick look at the GraphML file and it seems like the problem is caused
by the “vector_string”, “vector_long” and “vector_float” attribute types; these
are not valid GraphML attribute types and are not supported by igraph.
Replacing these with “string” seems to fix the problem.
--
T.
On Wednesday, 22 January 2014 at 00:45, Bradford Boyle wrote:
> I'm trying to read in a GraphML file containing the stongly connected
> component of the PGP network of trust [1]. When I load the file
>
> g = Graph.Read_GraphML("pgp.xml")
>
> I get the following error
>
> python: igraph_strvector.c:467: igraph_strvector_size: Assertion
> `sv->data != 0' failed.
>
> I am not really sure how to go about determining if this is an issue
> with the GraphML file or an issue with the library; I have a core file
> and can provide a stack trace.
>
> I am running Ubuntu 13.04 with libigraph 0.6.5-4~ubuntu13.04.1 and
> python-igraph 0.6.5-4.
>
> [1]: http://graph-tool.skewed.de/static/performance/pgp.xml.gz
>
> Bradford
>
> _______________________________________________
> igraph-help mailing list
> address@hidden (mailto:address@hidden)
> https://lists.nongnu.org/mailman/listinfo/igraph-help