igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [igraph] Question regarding graphml format reading


From: Tamas Nepusz
Subject: Re: [igraph] Question regarding graphml format reading
Date: Wed, 11 Mar 2015 22:13:12 +0100
User-agent: Mutt/1.5.23 (2014-03-12)

Hi Robin,

Newer versions of igraph give a more meaningful error mesage:

InternalError: Error at ../../src/foreign-graphml.c:595: Cannot parse GraphML
file, unknown attribute type, Parse error

This happens because your GraphML file lists some attributes as type "integer".
According to the GraphML XSD file, there is no such GraphML attribute type,
only "int":

http://graphml.graphdrawing.org/xmlns/1.1/graphml-attributes.xsd

Replacing "integer" with "int" in the input file seems to fix this.

-- 
T.

On 03/11, Robin Müller-Bady wrote:
> Dear list,
> 
> I have a graphml file which contains the "full" dataset of the european
> interconnect network:
> http://www.topology-zoo.org/eu_nren.html
> 
> You can find the problematic file here:
> https://mueller-bady.com/owncloud/index.php/s/eR9YfNDy8tujno2
> 
> Unfortunately, reading the graphml file with igraph results in the following
> problem:
> $> In [1]: g = Graph.Read_GraphML("interconnect.graphml")
> $> python: igraph_strvector.c:467: igraph_strvector_size: Assertion
> `sv->data != 0' failed.
> $> Aborted
> I work under debian linux using igraph 0.7.0
> 
> Any ideas?
> 
> Thank you very much in advance!
> 
> Best regards,
> Robin
> 
> _______________________________________________
> igraph-help mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/igraph-help

-- 
T.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]