[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
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
Gephi forums •Problems with Streaming Graph plugin
Page 1 of 1

Problems with Streaming Graph plugin

Posted: 21 Feb 2017 11:29
by leostra
Hi All,
i'm following the OrientDb-Gephi user guide (http://orientdb.com/docs/2.0/orientdb.wiki/Gephi.html) to visualize my OrientDB graph with Gephi (version: 0.9.1)

I install the Graph Streaming with success and update all the other plugins as required. But when i click on + simbol to add the new streaming entry with the following url

http://localhost:2480/gephi/EmbeddedDB/ ... limit%20-1

i get a lot of "Unknown type org.gephi.streaming.impl.json.parser.JSONObject" Warning in the report section.

If i use the url above in my browser, i receive correctly my graph in JSON format.

My operative system is a 64bit Windows 7 Professional and my java version is 1.8.0_121

What did I do wrong?

Any suggestion will be appreciated.

Thanks in advance
Leo

Re: Problems with Streaming Graph plugin

Posted: 21 Feb 2017 11:34
by eduramiba
Can you show a few lines of your json data?

Re: Problems with Streaming Graph plugin

Posted: 21 Feb 2017 11:42
by leostra
Hi eduramiba,
thanks for you reply. It follows a portion of JSON:

Code: Select all

{  "an": {    "#11:11": {      "Site_User": "Bosch_Diego",      "jsonSoulution": {"SlotId":43,"P1":0,"P2":0.5235897435897436,"P3":0,"P4":0.2564102564102564,"P5":0,"P6":0.78,"P7":0,"StartTime":"2016-12-13T00:00","Site_User":"Bosch_Diego","Iteration":1,"UUID":"2016-12-13T15:30_S43_1"},      "uuid": "2016-12-13T15:30_S43_1"    }  }}
{  "an": {    "#11:12": {      "Site_User": "Bosch_Diego",      "jsonSoulution": {"SlotId":7,"P1":0,"P2":0,"P3":0,"P4":0,"P5":0,"P6":0,"P7":0,"StartTime":"2016-12-13T00:00","Site_User":"Bosch_Diego","Iteration":1,"UUID":"2016-12-13T15:30_S7_1"},      "uuid": "2016-12-13T15:30_S7_1"    }  }}
[...]
{  "ae": {    "#13:110": {      "directed": false,      "source": "#11:111",      "target": "#11:9",      "timeSlot": "44"    }  }}
{  "ae": {    "#13:115": {      "directed": false,      "source": "#11:116",      "target": "#11:8",      "timeSlot": "44"    }  }}
{  "ae": {    "#13:116": {      "directed": false,      "source": "#11:117",      "target": "#11:11",      "timeSlot": "48"    }  }}
{  "ae": {    "#13:117": {      "directed": false,      "source": "#11:118",      "target": "#11:11",      "timeSlot": "45"    }  }}
{  "ae": {    "#13:119": {      "directed": false,      "source": "#11:120",      "target": "#11:8",      "timeSlot": "37"    }  }}
[...]
}
Thanks,
Leo

Re: Problems with Streaming Graph plugin

Posted: 21 Feb 2017 11:51
by eduramiba
Uhm not sure what's the problem. It might be a bug that was not present in older Gephi versions. Does it work for other OrientDB users with Gephi 0.9.1?
I would aslo check that the generated JSON is compliant with https://github.com/gephi/gephi/wiki/Gra ... ed-formats

Re: Problems with Streaming Graph plugin

Posted: 21 Feb 2017 12:10
by leostra
Me too check the ghepi json supported format and the OrientDB returned JSON seems well formed.

My OrientDB server has only one "root" user then i can't perform a test with another OrientDB user.

I tried to install previous Gephi version (in particular v0.8.2 and v0.8.1) but these versions do not start maybe due to an incompatibility with my version of java or operating system.