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
Problems with Streaming Graph plugin
- eduramiba
- Gephi Code Manager
- Posts:1064
- Joined:22 Mar 2010 15:30
- Location:Madrid, Spain [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
Re: Problems with Streaming Graph plugin
Can you show a few lines of your json data?
-
- Posts:3
- Joined:21 Feb 2017 11:15 [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
Re: Problems with Streaming Graph plugin
Hi eduramiba,
thanks for you reply. It follows a portion of JSON:
Thanks,
Leo
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" } }}
[...]
}
Leo
- eduramiba
- Gephi Code Manager
- Posts:1064
- Joined:22 Mar 2010 15:30
- Location:Madrid, Spain [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
Re: Problems with Streaming Graph plugin
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
I would aslo check that the generated JSON is compliant with https://github.com/gephi/gephi/wiki/Gra ... ed-formats
-
- Posts:3
- Joined:21 Feb 2017 11:15 [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
Re: Problems with Streaming Graph plugin
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.
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.