i solved it
i have to gunzip the file twice!
first you should download the file pgp.xml.gz from the link mentioned before
-gunzip pgp.xml.gz to pgp.xml-rename pgp.xml to pgp.xml.gz-gunzip pgp.xml.gz to 
pgp.xmlafter finishing above 3 steps, you can run gt_bench.py to test 
performance
thanks

Zhao Jun

From: [email protected]
To: [email protected]
Date: Mon, 13 Apr 2015 10:31:04 +0800
Subject: [graph-tool] unable to load pgp.xml




hi all, i am new to graph tool, and i encounter a problem
i got the performance test files from http://graph-tool.skewed.de/performance
when i run gt_bench.py, it shows
[zhaojun@fedora performance]$ python gt_bench.py Traceback (most recent call 
last):  File "gt_bench.py", line 6, in <module>    g = load_graph("pgp.xml")  
File "/usr/lib/python2.7/site-packages/graph_tool/__init__.py", line 2352, in 
load_graph    g.load(file_name, fmt, ignore_vp, ignore_ep, ignore_gp)  File 
"/usr/lib/python2.7/site-packages/graph_tool/__init__.py", line 1989, in load   
 ignore_ep, ignore_gp)IOError: error reading from file 'pgp.xml':parse error: 
on line 1, column 0: not well-formed (invalid token)
i have no idea whether it is something related with the formate of xml file or 
with the graph tool API i installed
thanks 

Zhao Jun                                          

_______________________________________________
graph-tool mailing list
[email protected]
http://lists.skewed.de/mailman/listinfo/graph-tool                              
          
_______________________________________________
graph-tool mailing list
[email protected]
http://lists.skewed.de/mailman/listinfo/graph-tool

Reply via email to