[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 583: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 639: sizeof(): Parameter must be an array or an object that implements Countable
Gephi forumsPlease post new questions on facebook group too (https://www.facebook.com/groups/gephi) 2017-05-03T12:28:59+01:00 https://forum-gephi.org/app.php/feed/topic/5352 2017-05-03T12:28:59+01:002017-05-03T12:28:59+01:00 https://forum-gephi.org/viewtopic.php?t=5352&p=14367#p14367 <![CDATA[Re: Trouble with dynamic edge weights]]> https://github.com/gephi/gephi/issues/1709

Statistics:Posted by eduramiba — 03 May 2017 12:28


]]>
2017-05-03T03:19:22+01:002017-05-03T03:19:22+01:00 https://forum-gephi.org/viewtopic.php?t=5352&p=14366#p14366 <![CDATA[Re: Trouble with dynamic edge weights]]>
java.lang.IllegalStateException: The weight is dynamic, call getWeight(timestamp) or getWeight(interval) instead
at org.gephi.graph.impl.EdgeImpl.getWeight(EdgeImpl.java:87)
at org.gephi.layout.plugin.forceAtlas2.ForceAtlas2.goAlgo(ForceAtlas2.java:199)
at org.gephi.layout.LayoutControllerImpl$LayoutRun.run(LayoutControllerImpl.java:184)
[catch] at org.gephi.utils.longtask.api.LongTaskExecutor$RunningLongTask.run(LongTaskExecutor.java:274)

at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Statistics:Posted by henisz — 03 May 2017 03:19


]]>
2016-07-27T13:51:46+01:002016-07-27T13:51:46+01:00 https://forum-gephi.org/viewtopic.php?t=5352&p=12868#p12868 <![CDATA[Re: Trouble with dynamic edge weights]]>
I look forward to the bug being fixed, and I welcome any advice about other options or workarounds in the meantime. Thanks!!

Statistics:Posted by gusveitch — 27 Jul 2016 13:51


]]>
2016-07-27T08:45:05+01:002016-07-27T08:45:05+01:00 https://forum-gephi.org/viewtopic.php?t=5352&p=12866#p12866 <![CDATA[Re: Trouble with dynamic edge weights]]> I think this is a bug we need to fix. Please check the workaround here: https://github.com/gephi/gephi/issues/1426

Statistics:Posted by eduramiba — 27 Jul 2016 08:45


]]>
2016-07-27T05:23:55+01:002016-07-27T05:23:55+01:00 https://forum-gephi.org/viewtopic.php?t=5352&p=12864#p12864 <![CDATA[Trouble with dynamic edge weights]]>
I believe I have imported the data correctly. A typical entry in the edges CSV looks like this (minus quotemarks):

Source,Target,timeset,Weight,Type
SourceName,TargetName,<[2010-01-01,2010-04-01]>,<[2010-01-01,0.0];[2010-04-01,0.0]>,Undirected

I made the weight column dynamic before importing, and during the import I checked that the timeset and weight columns were assigned the right data types (TimestampSet and TimestampDoubleMap respectively). The edge table in the data laboratory populates successfully.

The trouble starts when I switch to the Overview screen to view the graph. Sometimes Gephi simply freezes at this point, showing nothing except the message "Initializing..." where the graph should be. Other times a graph appears, but the program freezes (sometimes terminally) when I manipulate the timeline or run a layout. Typically, the following error message appears:

Unexpected exception. The weight is dynamic, call getWeight(timestamp) or getWeight(interval) instead.

The same error occurs if I try to export to a GEFX file, the output of which is always missing the list of edges.

If I make the edge weights static, the graph is usually stable, and I can run layouts and use the timeline. But really I want the edge weights to be dynamic. I have successfully created and filtered dynamic edge weights in a very simple made-up graph, but even then the program crashed when I tried to run various layouts including Force Atlas 2.

Am I expecting too much? Is Gephi not able to handle dynamic edge weights properly yet? Or am I doing something wrong? Or do I perhaps need to create my graph as a GEFX file (something I have no experience doing) rather than importing it from spreadsheets?

Thanks for any help you can offer.

Statistics:Posted by gusveitch — 27 Jul 2016 05:23


]]>