Mathieu,

just following up on this again: I've experimented some more, and I'm
now at a point where I'm not sure whether I'm doing something wrong, or
whether there's still an error in Gephi somewhere.

I've created a simple test network in Gephi: two nodes (labelled 'c' and
'g'), which are visible between times 0 and 30, which are linked with an
edge between times 1 and 10, and again between 20 and Infinity.

If I export the nodes and edges tables as CSVs from Gephi's Data
Laboratory, this is what I get:

Nodes.csv:

Id,Label,Time Interval
c,,"<[0.0, 30.0]>"
g,,"<[0.0, 30.0]>"


Edges.csv:

Source,Target,Type,Id,Label,Weight,Time Interval
c,g,Directed,1,,1.0,"<[1.0, 10.0); [20.0, Infinity]>"


Importing these two CSVs back into the Gephi Data Laboratory (in a clean 
Workspace) works fine, but even if I make sure that the field type for 'Time 
Interval' is set to TimeInterval, I'm still not able to do any dynamic 
visualisation - the dynamic filter function simply doesn't work.

Even only importing the nodes CSV file by itself (without the edges CSV)
doesn't work - the lower and upper limits of the timeline slider are
(correctly) set to 0 and 30, but on the 'filters' tab, no filter is
available in the 'dynamic' subsection, and clicking on the 'Filter'
button does nothing...

Is there something I'm doing wrong here ?

Axel

-- 
NullPointerException on importing CSV data in Data Laboratory
https://bugs.launchpad.net/bugs/654030
You received this bug notification because you are a member of Gephi
Team, which is subscribed to 0.7.

Status in Gephi - Network exploration and manipulation: Fix Committed
Status in Gephi 0.7 series: Fix Committed

Bug description:


Graph API throws NPE because source or target is null

Stack trace:
java.lang.NullPointerException
        at 
org.gephi.graph.dhns.core.GraphFactoryImpl.newEdge(GraphFactoryImpl.java:128)
        at 
org.gephi.graph.dhns.core.GraphFactoryImpl.newEdge(GraphFactoryImpl.java:123)
        at 
org.gephi.graph.dhns.core.GraphFactoryImpl.newEdge(GraphFactoryImpl.java:47)
        at 
org.gephi.datalab.impl.GraphElementsControllerImpl.buildEdge(GraphElementsControllerImpl.java:431)
        at 
org.gephi.datalab.impl.GraphElementsControllerImpl.createEdge(GraphElementsControllerImpl.java:89)
        at 
org.gephi.datalab.impl.AttributeColumnsControllerImpl.importCSVToEdgesTable(AttributeColumnsControllerImpl.java:597)
        at 
org.gephi.datalab.plugin.manipulators.general.ui.ImportCSVUIWizardAction.performAction(ImportCSVUIWizardAction.java:85)
        at 
org.gephi.datalab.plugin.manipulators.general.ImportCSV.execute(ImportCSV.java:40)



_______________________________________________
Mailing list: https://launchpad.net/~gephi.team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~gephi.team
More help   : https://help.launchpad.net/ListHelp

Répondre à