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(a)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

Zhao Jun

attachment.html (1.86 KB)

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

Zhao Jun

attachment.html (3.4 KB)

Do you use firefox? This might be due to a bug:

The file is downloaded correctly if I use wget.


yes, using wget can download the file correctly when i tried just now
i am using fedora 21, firefox 37.0.1 and chrome 41.0.2272.101, both of whick have the problem i mentioned above

Zhao Jun

attachment.html (2.02 KB)