Skip to content

GePhi freezes after successfully importing dynamic gexf file #1566

Closed
@Haonan-Zhou

Description

I'm using GePhi 0.9.1 on OS X to import gexf file into the workspace. I test three gexf files containing dynamic graphs.

File 1 is the gexf file saved from the built-in dynamic graph example. Load into GePhi, everything is fine.

File 2 comes from Kikohs's answer: http://stackoverflow.com/questions/34646956/making-dynamic-graphs-in-pythons-networkx. Load into GePhi, the usual import screen appears, which seems to suggest the gexf file is fine.
screen shot 2016-09-03 at 11 44 30 pm

However, GePhi freezes after importing the graph, although the bottom-left corner suggests "1 sources successfully imported". There's the error icon on the bottom-right corner.

File 3 is my own dynamic gexf file. Significantly larger than File 2. Encounter the same problem.

I also tested File 3 on a Windows 7 machine. While the file can be loaded and GePhi did not freeze. It cannot calculate dynamic graph statistics, nor can it be saved as a .gephi project file (can be saved, actually, but the size is 0KB). In addition, the bottom right corner suggests "null pointer exception".

For reference: the key structural difference between File 1 and File 2,3 is that File 1 does not have dynamic edge attributes, while both File 2 and 3 have dynamic edge attributes, in particular the weight attributes is overridden using

<attributes class="edge" mode="dynamic"> <attribute id="weight" title="Weight" type="float"/> </attributes>

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions