Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Gephi 0.9.2 not generating Graph after Subgraph created

218 views
Skip to first unread message

Ivan Garcia

unread,
Feb 19, 2021, 6:36:16 AM2/19/21
to Gremlin-users

Hi,

I have carefully followed the steps to send a graph (Janusgraph 0.5.3 using ConfiguredGraph) to Gephi but without success. Gephi is not providing any error after the subgraph submission hence my big doubt about what to do next

I have made sure Gephi is listening on IP:PORT and also workspace1. Actually I tested this communication between Gephi graph stream and the port sending from my terminal JSON code to create a graph, So I am pretty sure communication can be established.

On the other side, when trying to send the subgraph from gremlin I am using the following commands:
gremlin> :remote connect tinkerpop.server conf/remote-objects.yaml session
==>Configured 192.168.0.9/192.168.0.9:8182-[24a799f1-70ec-4a0b-bd54-d95bacf882e3]
gremlin> :> graph = ConfiguredGraphFactory.open("airroutes");
==>standardjanusgraph[cql:[192.168.0.9]]
gremlin> :> g = graph.traversal();
==>graphtraversalsource[standardjanusgraph[cql:[192.168.0.9]], standard]
gremlin> :> g.E().subgraph('sg').cap('sg').next()
==>tinkergraph[vertices:5219 edges:65703]
gremlin> sgl = result[0].object
==>tinkergraph[vertices:5219 edges:65703]
gremlin> :remote connect tinkerpop.gephi workspace1 localhost 28080
==>Connection to Gephi - http://localhost:28080/workspace1 with stepDelay:1000, startRGBColor:[0.0, 1.0, 0.5], colorToFade:g, colorFadeRate:0.7, startSize:10.0,sizeDecrementRate:0.33
gremlin> sgl
==>tinkergraph[vertices:5219 edges:65703]
gremlin> (HERE apparently Graph submitted successfully but not)
----------------------------------------------------------------------
My remote-objects.yaml: (also server yaml matching serializers)
hosts: [192.168.0.9]
port: 8182
serializer: { className: org.apache.tinkerpop.gremlin.driver.ser.GryoMessageSerializerV3d0, config: { ioRegistries: [org.janusgraph.graphdb.tinkerpop.JanusGraphIoRegistry] }}
serializer: { className: org.apache.tinkerpop.gremlin.driver.ser.GryoMessageSerializerV3d0, config: { ioRegistries: [org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerIoRegistryV3d0] }}
serializer: { className: org.apache.tinkerpop.gremlin.driver.ser.GryoMessageSerializerV3d0, config: { serializeResultToString: true }}

What I am doing wrong?
Reading documentation about Gephi Graph Streaming, they recommend to use  JSON (but not explicitly mention to use just it).
My questions:
I must send the graph to gephi as JSON? if so
Should I convert to JSON my subgraph before sending it to gephi? or I can create a graph as JSON right from the beginning e.g. when executing my traversal?
I tried the latter but getting errors, so I suppose it is not possible this way, furthermore reading the following seems that after traversing the graph is when JSON can be used.  (https://stackoverflow.com/questions/49336250/convert-gremlin-console-output-into-json).

Thanks

Ivan

Thank you for any help you can provide.


Ivan Garcia

unread,
Feb 19, 2021, 11:09:57 AM2/19/21
to Gremlin-users
I think I have made a mistake on the last line when sending the local subgrapf to gephi. I should have used ":> sgl" hope I am right. I will back to you guys after trying it later on!!!!!!!!!!

Stephen Mallette

unread,
Feb 19, 2021, 11:14:57 AM2/19/21
to gremli...@googlegroups.com
yes - you need to prefix with :> to :submit your subgraph to the command handler. 

--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/a025928b-3362-4a5a-9a7a-b1272d38f2can%40googlegroups.com.

Ivan Garcia

unread,
Feb 19, 2021, 7:33:56 PM2/19/21
to Gremlin-users
Hi,

I have used the prefix as required.

gremlin> :remote connect tinkerpop.gephi workspace1 localhost 28080
==>Connection to Gephi - http://localhost:28080/workspace1 with stepDelay:1000, startRGBColor:[0.0, 1.0, 0.5], colorToFade:g, colorFadeRate:0.7, startSize:10.0,sizeDecrementRate:0.33
gremlin> :> sgl
==>tinkergraph[vertices:5219 edges:65703]
==>false

Gephi is ready before sending subgraph:
[INFO] StreamingServer started at 20/02/21 00:10
[INFO] 2021-02-20 00:10:44.617:INFO:oejs.AbstractConnector:Started SelectChann...@0.0.0.0:28080
[INFO] 2021-02-20 00:10:44.629:INFO:oejs.AbstractConnector:Started SslSelectCha...@0.0.0.0:8443

After sending subgraph, the Gepgi log shows:
[INFO] External Changes Refresh on focus gain disabled

Also my terminal from where I launched Gephi shows:
Handling request for operation updateGraph, format JSON
Handling request for operation updateGraph, format JSON

Notes:
1) I have run gephi using: /opt/gephi/gephi-0.9.2/bin$ LIBGL_ALWAYS_SOFTWARE=1 ./gephi
2) I have untick "enable auto-scanning of sources" from gephi/tools/option/miscellaneous

Any help please my options are fading away!!!!!!!!

Ivan Garcia

unread,
Feb 21, 2021, 5:20:11 PM2/21/21
to gremli...@googlegroups.com
By the way, this is the complete log.file

>Log Session: Sunday, February 21, 2021 9:59:47 PM GMT
>System Info:
  Product Version         = Gephi 0.9.2 201709241107
  Operating System        = Linux version 4.15.0-133-generic running on amd64
  Java; VM; Vendor        = 1.8.0_232; OpenJDK 64-Bit Server VM 25.232-b09; Oracle Corporation
  Runtime                 = OpenJDK Runtime Environment 1.8.0_232-b09
  Java Home               = /opt/openjdk/openjdk-1.8.0.232.b09-0x86_64/jre
  System Locale; Encoding = en_GB (gephi); UTF-8
  Home Directory          = /home/ivang
  Current Directory       = /opt/gephi/gephi-0.9.2/bin
  User Directory          = /home/ivang/.gephi/0.9.2/dev
  Cache Directory         = /home/ivang/.gephi/0.9.2/dev/var/cache
  Installation            = /opt/gephi/gephi-0.9.2/platform
                            /opt/gephi/gephi-0.9.2/gephi
                            /opt/gephi/gephi-0.9.2/platform
  Boot & Ext. Classpath   = /opt/openjdk/openjdk-1.8.0.232.b09-0x86_64/jre/lib/resources.jar:/opt/openjdk/openjdk-1.8.0.232.b09-0x86_64/jre/lib/rt.jar:/opt/openjdk/openjdk-1.8.0.232.b09-0x86_64/jre/lib/sunrsasign.jar:/opt/openjdk/openjdk-1.8.0.232.b09-0x86_64/jre/lib/jsse.jar:/opt/openjdk/openjdk-1.8.0.232.b09-0x86_64/jre/lib/jce.jar:/opt/openjdk/openjdk-1.8.0.232.b09-0x86_64/jre/lib/charsets.jar:/opt/openjdk/openjdk-1.8.0.232.b09-0x86_64/jre/lib/jfr.jar:/opt/openjdk/openjdk-1.8.0.232.b09-0x86_64/jre/classes:/opt/openjdk/openjdk-1.8.0.232.b09-0x86_64/jre/lib/ext/sunec.jar:/opt/openjdk/openjdk-1.8.0.232.b09-0x86_64/jre/lib/ext/sunjce_provider.jar:/opt/openjdk/openjdk-1.8.0.232.b09-0x86_64/jre/lib/ext/nashorn.jar:/opt/openjdk/openjdk-1.8.0.232.b09-0x86_64/jre/lib/ext/cldrdata.jar:/opt/openjdk/openjdk-1.8.0.232.b09-0x86_64/jre/lib/ext/localedata.jar:/opt/openjdk/openjdk-1.8.0.232.b09-0x86_64/jre/lib/ext/jaccess.jar:/opt/openjdk/openjdk-1.8.0.232.b09-0x86_64/jre/lib/ext/dnsns.jar:/opt/openjdk/openjdk-1.8.0.232.b09-0x86_64/jre/lib/ext/sunpkcs11.jar:/opt/openjdk/openjdk-1.8.0.232.b09-0x86_64/jre/lib/ext/zipfs.jar
  Application Classpath   = /opt/gephi/gephi-0.9.2/platform/lib/boot.jar:/opt/gephi/gephi-0.9.2/platform/lib/org-openide-modules.jar:/opt/gephi/gephi-0.9.2/platform/lib/org-openide-util.jar:/opt/gephi/gephi-0.9.2/platform/lib/org-openide-util-lookup.jar:/opt/gephi/gephi-0.9.2/platform/lib/org-openide-util-ui.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/boot_ar_SA.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/boot_bg.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/boot_ca.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/boot_cs.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/boot_de.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/boot_es.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/boot_fr.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/boot_gl_ES.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/boot_in_ID.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/boot_it.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/boot_ja.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/boot_ko.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/boot_nl_NL.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/boot_pl.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/boot_pt_BR.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/boot_pt_PT.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/boot_ro.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/boot_ru.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/boot_si.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/boot_sq.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/boot_sv.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/boot_tr.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/boot_zh_CN.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/boot_zh_TW.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/org-openide-modules_ar_SA.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/org-openide-modules_bg.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/org-openide-modules_ca.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/org-openide-modules_cs.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/org-openide-modules_de.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/org-openide-modules_es.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/org-openide-modules_fr.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/org-openide-modules_gl_ES.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/org-openide-modules_in_ID.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/org-openide-modules_it.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/org-openide-modules_ja.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/org-openide-modules_ko.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/org-openide-modules_nl_NL.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/org-openide-modules_pl.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/org-openide-modules_pt_BR.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/org-openide-modules_pt_PT.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/org-openide-modules_ro.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/org-openide-modules_ru.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/org-openide-modules_si.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/org-openide-modules_sq.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/org-openide-modules_sv.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/org-openide-modules_tr.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/org-openide-modules_zh_CN.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/org-openide-modules_zh_TW.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/org-openide-util_ar_SA.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/org-openide-util_bg.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/org-openide-util_ca.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/org-openide-util_cs.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/org-openide-util_de.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/org-openide-util_es.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/org-openide-util_fr.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/org-openide-util_gl_ES.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/org-openide-util_in_ID.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/org-openide-util_it.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/org-openide-util_ja.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/org-openide-util_ko.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/org-openide-util-lookup_bg.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/org-openide-util-lookup_ca.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/org-openide-util-lookup_cs.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/org-openide-util-lookup_de.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/org-openide-util-lookup_es.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/org-openide-util-lookup_fr.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/org-openide-util-lookup_gl_ES.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/org-openide-util-lookup_in_ID.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/org-openide-util-lookup_it.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/org-openide-util-lookup_ja.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/org-openide-util-lookup_ko.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/org-openide-util-lookup_nl_NL.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/org-openide-util-lookup_pl.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/org-openide-util-lookup_pt_BR.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/org-openide-util-lookup_ro.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/org-openide-util-lookup_ru.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/org-openide-util-lookup_si.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/org-openide-util-lookup_sv.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/org-openide-util-lookup_tr.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/org-openide-util-lookup_zh_CN.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/org-openide-util_nl_NL.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/org-openide-util_pl.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/org-openide-util_pt_BR.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/org-openide-util_pt_PT.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/org-openide-util_ro.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/org-openide-util_ru.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/org-openide-util_si.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/org-openide-util_sq.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/org-openide-util_sv.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/org-openide-util_tr.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/org-openide-util-ui_ja.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/org-openide-util-ui_pt_BR.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/org-openide-util-ui_ru.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/org-openide-util-ui_zh_CN.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/org-openide-util_zh_CN.jar:/opt/gephi/gephi-0.9.2/platform/lib/locale/org-openide-util_zh_TW.jar:/opt/openjdk/openjdk-1.8.0.232.b09-0x86_64/lib/dt.jar:/opt/openjdk/openjdk-1.8.0.232.b09-0x86_64/lib/tools.jar
  Startup Classpath       = /opt/gephi/gephi-0.9.2/platform/core/org-openide-filesystems-compat8.jar:/opt/gephi/gephi-0.9.2/platform/core/core.jar:/opt/gephi/gephi-0.9.2/platform/core/asm-all-5.0.1.jar:/opt/gephi/gephi-0.9.2/platform/core/org-openide-filesystems.jar:/opt/gephi/gephi-0.9.2/platform/core/core-base.jar:/opt/gephi/gephi-0.9.2/platform/core/org-netbeans-libs-asm.jar:/opt/gephi/gephi-0.9.2/platform/core/locale/core_ca.jar:/opt/gephi/gephi-0.9.2/platform/core/locale/org-openide-filesystems-compat8_ja.jar:/opt/gephi/gephi-0.9.2/platform/core/locale/core_pl.jar:/opt/gephi/gephi-0.9.2/platform/core/locale/org-netbeans-libs-asm_zh_CN.jar:/opt/gephi/gephi-0.9.2/platform/core/locale/org-openide-filesystems_nl_NL.jar:/opt/gephi/gephi-0.9.2/platform/core/locale/org-openide-filesystems_ar_SA.jar:/opt/gephi/gephi-0.9.2/platform/core/locale/org-openide-filesystems-compat8_pt_BR.jar:/opt/gephi/gephi-0.9.2/platform/core/locale/core_ko.jar:/opt/gephi/gephi-0.9.2/platform/core/locale/core_ja.jar:/opt/gephi/gephi-0.9.2/platform/core/locale/org-openide-filesystems_pt_PT.jar:/opt/gephi/gephi-0.9.2/platform/core/locale/core_es.jar:/opt/gephi/gephi-0.9.2/platform/core/locale/core_tr.jar:/opt/gephi/gephi-0.9.2/platform/core/locale/core_ro.jar:/opt/gephi/gephi-0.9.2/platform/core/locale/org-openide-filesystems_es.jar:/opt/gephi/gephi-0.9.2/platform/core/locale/org-openide-filesystems_ro.jar:/opt/gephi/gephi-0.9.2/platform/core/locale/core_de.jar:/opt/gephi/gephi-0.9.2/platform/core/locale/core_si.jar:/opt/gephi/gephi-0.9.2/platform/core/locale/org-openide-filesystems_pt_BR.jar:/opt/gephi/gephi-0.9.2/platform/core/locale/org-openide-filesystems_si.jar:/opt/gephi/gephi-0.9.2/platform/core/locale/core-base_zh_CN.jar:/opt/gephi/gephi-0.9.2/platform/core/locale/core_gl_ES.jar:/opt/gephi/gephi-0.9.2/platform/core/locale/core_zh_CN.jar:/opt/gephi/gephi-0.9.2/platform/core/locale/core_in_ID.jar:/opt/gephi/gephi-0.9.2/platform/core/locale/core-base_pt_BR.jar:/opt/gephi/gephi-0.9.2/platform/core/locale/core_ar_SA.jar:/opt/gephi/gephi-0.9.2/platform/core/locale/org-openide-filesystems_ru.jar:/opt/gephi/gephi-0.9.2/platform/core/locale/org-netbeans-libs-asm_ru.jar:/opt/gephi/gephi-0.9.2/platform/core/locale/org-openide-filesystems_zh_CN.jar:/opt/gephi/gephi-0.9.2/platform/core/locale/core-base_ru.jar:/opt/gephi/gephi-0.9.2/platform/core/locale/org-openide-filesystems_ko.jar:/opt/gephi/gephi-0.9.2/platform/core/locale/core_zh_TW.jar:/opt/gephi/gephi-0.9.2/platform/core/locale/core_sq.jar:/opt/gephi/gephi-0.9.2/platform/core/locale/org-openide-filesystems_ca.jar:/opt/gephi/gephi-0.9.2/platform/core/locale/core_pt_PT.jar:/opt/gephi/gephi-0.9.2/platform/core/locale/core_cs.jar:/opt/gephi/gephi-0.9.2/platform/core/locale/org-openide-filesystems_sq.jar:/opt/gephi/gephi-0.9.2/platform/core/locale/org-openide-filesystems_pl.jar:/opt/gephi/gephi-0.9.2/platform/core/locale/core-base_ja.jar:/opt/gephi/gephi-0.9.2/platform/core/locale/core_it.jar:/opt/gephi/gephi-0.9.2/platform/core/locale/org-openide-filesystems_tr.jar:/opt/gephi/gephi-0.9.2/platform/core/locale/core_pt_BR.jar:/opt/gephi/gephi-0.9.2/platform/core/locale/org-openide-filesystems-compat8_ru.jar:/opt/gephi/gephi-0.9.2/platform/core/locale/core_sv.jar:/opt/gephi/gephi-0.9.2/platform/core/locale/org-openide-filesystems_zh_TW.jar:/opt/gephi/gephi-0.9.2/platform/core/locale/core_fr.jar:/opt/gephi/gephi-0.9.2/platform/core/locale/org-openide-filesystems_cs.jar:/opt/gephi/gephi-0.9.2/platform/core/locale/org-openide-filesystems_de.jar:/opt/gephi/gephi-0.9.2/platform/core/locale/org-netbeans-libs-asm_ja.jar:/opt/gephi/gephi-0.9.2/platform/core/locale/org-openide-filesystems-compat8_zh_CN.jar:/opt/gephi/gephi-0.9.2/platform/core/locale/org-openide-filesystems_fr.jar:/opt/gephi/gephi-0.9.2/platform/core/locale/org-openide-filesystems_sv.jar:/opt/gephi/gephi-0.9.2/platform/core/locale/org-openide-filesystems_bg.jar:/opt/gephi/gephi-0.9.2/platform/core/locale/org-openide-filesystems_in_ID.jar:/opt/gephi/gephi-0.9.2/platform/core/locale/org-openide-filesystems_ja.jar:/opt/gephi/gephi-0.9.2/platform/core/locale/org-netbeans-libs-asm_pt_BR.jar:/opt/gephi/gephi-0.9.2/platform/core/locale/core_nl_NL.jar:/opt/gephi/gephi-0.9.2/platform/core/locale/org-openide-filesystems_gl_ES.jar:/opt/gephi/gephi-0.9.2/platform/core/locale/org-openide-filesystems_it.jar:/opt/gephi/gephi-0.9.2/platform/core/locale/core_bg.jar:/opt/gephi/gephi-0.9.2/platform/core/locale/core_ru.jar:/opt/gephi/gephi-0.9.2/gephi/core/locale/core_gephi.jar
-------------------------------------------------------------------------------
WARNING [org.netbeans.modules.autoupdate.ui.actions.AutoupdateSettings]: The property "netbeans.default_userdir_root" was not set!
INFO [org.netbeans.core.startup.NbEvents]: Turning on modules:
org.openide.util.lookup [8.33.1 201609300101]
org.openide.util [9.7.1 201609300101]
org.openide.util.ui [9.6.1 201609300101]
org.openide.modules [7.48.1 201609300101]
org.gephi.core.library.wrapper [0.9.2 0.9.2 201709241108]
org.gephi.utils.longtask [0.9.2 0.9.2 201709241107]
org.openide.filesystems [9.10.1 201609300101]
org.gephi.project.api [0.9.2.1 0.9.2 201711180139]
org.gephi.graph.api [0.9.2 0.9.2 201709241107]
org.gephi.utils [0.9.2 0.9.2 201709241108]
org.gephi.statistics.api [0.9.2 0.9.2 201709241111]
wouterspekkink.mdsmetric [0.9.2 0.9.2 202006020838]
org.gephi.ui.propertyeditor [0.9.2 0.9.2 201709241116]
org.netbeans.api.annotations.common/1 [1.27.1 201609300101]
org.openide.awt [7.67.1 201609300101]
org.netbeans.api.progress/1 [1.47.1 201609300101]
org.netbeans.api.progress.nb [1.47.1 201609300101]
org.openide.dialogs [7.42.1 201609300101]
org.openide.nodes [7.45.1 201609300101]
org.gephi.layout.api [0.9.2 0.9.2 201709241115]
wouterspekkink.mdslayout [0.9.2 0.9.2 202006020838]
wouterspekkink.lineage [0.9.2 0.9.2 202006020838]
wouterspekkink.eventgraphlayout [1.0.0 1.0.0 202006020838]
org.gephi.ui.library.wrapper [0.9.2 0.9.2 201709241109]
org.gephi.lib.validation [0.9.2 0.9.2 201709241109]
org.gephi.ui.utils [0.9.2 0.9.2 201709241110]
org.openide.windows [6.75.1 201609300101]
org.gephi.ui.components [0.9.2 0.9.2 201709241111]
org.gephi.datalab.api [0.9.2 0.9.2 201709241109]
org.gephi.visualization.api [0.9.2 0.9.2 201709241109]
org.gephi.db.drivers [0.9.2 0.9.2 201709241110]
org.gephi.io.importer.api [0.9.2.2 0.9.2 201711180141]
org.netbeans.swing.plaf [1.41.1 201609300101]
org.netbeans.swing.tabcontrol [1.56.1 201609300101]
org.netbeans.swing.outline [1.34.1 201609300101]
org.openide.explorer [6.62.1 201609300101]
org.netbeans.modules.editor.mimelookup/1 [1.40.1 201609300101]
org.openide.text [6.67.1 201609300101]
org.openide.actions [6.39.1 201609300101]
org.netbeans.modules.keyring [1.24.1 201609300101]
org.netbeans.api.intent [1.2.1 201609300101]
org.netbeans.api.io [1.3.1 201609300101]
org.openide.io [1.49.1 201609300101]
org.netbeans.libs.asm [5.3.1 201609300101]
org.netbeans.bootstrap/1 [2.76.1 201609300101]
org.netbeans.core.startup.base [1.62.1.1 1 201609300101]
org.netbeans.core.startup/1 [1.62.1.1 201609300101]
org.netbeans.modules.queries/1 [1.43.1 201609300101]
org.netbeans.api.templates [1.7.1 201609300101]
org.openide.filesystems.nb [9.9.1 201609300101]
org.openide.loaders [7.66.1 201609300101]
org.netbeans.modules.sampler [1.14.1 201609300101]
org.netbeans.core/2 [3.51.1 201609300101]
org.netbeans.spi.quicksearch [1.27.1 201609300101]
org.netbeans.modules.options.api/1 [1.45.1 201609300101]
org.gephi.tools.api [0.9.2 0.9.2 201709241112]
org.netbeans.modules.settings/1 [1.49.1 201609300101]
org.gephi.gleem [0.9.2 0.9.2 201709241113]
org.gephi.mostrecentfiles.api [0.9.2 0.9.2 201709241113]
org.gephi.desktop.project [0.9.2 0.9.2 201709241113]
org.gephi.visualization [0.9.2 0.9.2 201709241113]
org.gephi.datalab.plugin [0.9.2 0.9.2 201709241119]
upf.pbsl.group3.column.calculator [1.0.1 1.0.1 202006020839]
upf.group.partition.gephi.plugin [1.0.0 1.0.0 202006020839]
org.gephi.batik.wrapper [0.9.2 0.9.2 201709241108]
org.gephi.preview.api [0.9.2 0.9.2 201709241108]
org.gephi.io.exporter.api [0.9.2 0.9.2 201709241108]
org.gephi.desktop.io.export [0.9.2 0.9.2 201709241116]
uk.ac.ox.oii.sigmaexporter [0.9.0 0.9.0 202006020838]
uk.ac.ox.oii.jsonexporter.plugin [2.0.0 2.0.0 202006020838]
totetmatt.twitter.streaming.importer [1.4.2 1.4.2 202006020838]
sasaki.circle.pack [1.0.0 1.0.0 202006020839]
proj.sr3213.gravity.plugin [1.0.0 1.0.0 202006020838]
pl.edu.wat.wcy.student.dbscan.gephi.plugin [1.0.0 1.0.0 202006020839]
pl.edu.wat.wcy.student.clustering.coefficient.gephi.plugin [1.0.0 1.0.0 202006020839]
org.gephi.io.generator.api [0.9.2 0.9.2 201709241115]
pl.edu.wat.student.rzepinski.jakub.kleinberg.generator [1.0.0 1.0.0 202006020839]
org.netbeans.core.windows/2 [2.81.1 201609300101]
personable.solutions.vector.calculator [0.5.0 0.5.0 202006020838]
org.gephi.preview.plugin [0.9.2 0.9.2 201709241109]
org.yale.cs.graphics.gephi.imagepreview [1.0.0 1.0.0 202006020839]
org.openide.filesystems.compat8 [9.9.1 201609300101]
org.netbeans.modules.templates/1 [1.7.1 201609300101]
org.netbeans.modules.sendopts/2 [2.35.1 201609300101]
org.netbeans.modules.progress.ui [1.33.1 201609300101]
org.netbeans.modules.options.keymap [1.37.1 201609300101]
org.netbeans.modules.masterfs/2 [2.55.1.2 2 201609300101]
org.netbeans.modules.masterfs.ui [2.3.1.2 201609300101]
org.netbeans.modules.masterfs.nio2 [1.15.1 201609300101]
org.netbeans.libs.jna/1 [1.44.1 201609300101]
org.netbeans.modules.masterfs.linux [1.13.1 201609300101]
org.netbeans.modules.keyring.fallback [1.8.1 201609300101]
org.netbeans.modules.keyring.impl [1.24.1 201609300101]
org.netbeans.modules.autoupdate.services [1.52.1 201609300101]
org.netbeans.modules.autoupdate.ui [1.45.1 201609300101]
org.netbeans.modules.autoupdate.cli [1.13.1 201609300101]
org.netbeans.libs.jna.platform/1 [1.14.1 201609300101]
org.netbeans.core.ui/1 [1.45.1 201609300101]
org.netbeans.core.output2/1 [1.41.1 201609300101]
org.netbeans.core.network [1.10.1 201609300101]
org.netbeans.core.nativeaccess/1 [1.31.1 201609300101]
org.netbeans.core.multitabs/1 [1.12.1.1 1 201609300101]
org.netbeans.core.io.ui/1 [1.30.1 201609300101]
org.gephi.layout.plugin [0.9.2 0.9.2 201709241116]
org.icculus.chunky.gephigraphviz [1.0.0 1.0.0 202006020838]
org.gephi.welcome.screen [0.9.2 0.9.2 201709241114]
org.gephi.algorithms.plugin [0.9.2 0.9.2 201709241113]
org.gephi.tools.plugin [0.9.2 0.9.2 201709241114]
org.gephi.statistics.plugin [0.9.2 0.9.2 201709241111]
org.gephi.filters.api [0.9.2 0.9.2 201709241112]
org.gephi.appearance.api [0.9.2 0.9.2 201709241112]
org.gephi.filters.plugin [0.9.2.1 0.9.2 201711180143]
org.gephi.timeline.api [0.9.2 0.9.2 201709241112]
org.gephi.streaming.api [1.0.3 1.0.3 202006020838]
org.gephi.streaming.impl [1.0.3 1.0.3 202006020838]
org.gephi.jetty.library.wrapper [1.0.3 1.0.3 202006020838]
org.gephi.streaming.server [1.0.3 1.0.3 202006020838]
org.gephi.statistics.plugin.ui [0.9.2 0.9.2 201709241111]
org.gephi.settings.upgrader [0.9.2 0.9.2 201709241111]
org.gephi.scripting.plugin [0.9.2 0.9.2 202006020838]
org.gephi.project.ui [0.9.2 0.9.2 201709241110]
org.gephi.io.processor.plugin [0.9.2.2 0.9.2 201711180141]
org.gephi.processor.plugin.ui [0.9.2 0.9.2 201709241110]
org.gephi.io.exporter.preview [0.9.2 0.9.2 201709241108]
org.gephi.preview.export.ui [0.9.2 0.9.2 201709241109]
org.gephi.perspective.api [0.9.2 0.9.2 201709241118]
org.gephi.linkfluence [1.0.9 0.9.0 202006020838]
org.gephi.layout.plugin.circularlayout [0.9.2 0.9.2 202006020838]
org.gephi.kbrace.filter [1.0.0 1.0.0 202006020838]
org.gephi.io.importer.plugin [0.9.2.2 0.9.2 201711180146]
org.gephi.io.generator.plugin [0.9.2 0.9.2 201709241115]
org.gephi.io.exporter.plugin [0.9.2.1 0.9.2 201711180145]
org.gephi.import.plugin.ui [0.9.2.1 0.9.2 201711180147]
org.gephi.desktop.streaming [1.0.3 1.0.3 202006020838]
org.gephi.graphstreaming [1.0.3 1.0.3 202006020838]
org.gephi.gephi.branding [0.9.2 0.9.2 201709241107]
org.gephi.geolayout.plugin [0.9.2.2 0.9.2.2 202006020838]
org.gephi.generator.plugin.ui [0.9.2 0.9.2 201709241115]
org.gephi.desktop.banner [0.9.2 0.9.2 201709241119]
org.gephi.filters.plugin.ui [0.9.2 0.9.2 201709241119]
org.gephi.filters.impl [0.9.2.1 0.9.2 201711180147]
org.gephi.export.plugin.ui [0.9.2 0.9.2 201709241118]
org.gephi.directory.chooser [0.9.2 0.9.2 201709241121]
org.gephi.desktop.tools [0.9.2 0.9.2 201709241120]
org.gephi.desktop.timeline [0.9.2 0.9.2 201709241120]
org.gephi.desktop.statistics [0.9.2 0.9.2 201709241115]
org.gephi.desktop.recent.files [0.9.2 0.9.2 201709241118]
org.gephi.desktop.progress [0.9.2 0.9.2 201709241114]
org.gephi.desktop.preview [0.9.2 0.9.2 201709241120]
org.gephi.desktop.layout [0.9.2 0.9.2 201709241119]
org.gephi.desktop.import [0.9.2 0.9.2 201709241120]
org.gephi.desktop.generate [0.9.2 0.9.2 201709241116]
org.gephi.desktop.filters [0.9.2 0.9.2 201709241122]
org.gephi.desktop.datalab [0.9.2 0.9.2 201709241116]
org.gephi.desktop.context [0.9.2 0.9.2 201709241114]
org.gephi.desktop.branding [0.9.2 0.9.2 201709241114]
org.gephi.appearance.plugin [0.9.2 0.9.2 201709241116]
org.gephi.appearance.plugin.ui [0.9.2 0.9.2 201709241117]
org.gephi.desktop.appearance [0.9.2 0.9.2 201709241117]
org.fernuni.theoinf.fapra.newman.girvan.plugin [1.0.0 1.0.0 202006020839]
org.cwts.leiden.algorithm.gephi.plugin [1.0.0 1.0.0 202006020839]
org.alexandrebarao.network.splitter.3d [1.0.0 1.0.0 202006020838]
org.alexandrebarao.isometric.layout [1.0.0 1.0.0 202006020838]
oracle.troubadour.co.uk.oracle.driver [0.0.1 0.0.1 202006020838]
nl.liacs.boundingdiameters [0.0.1 0.0.1 202006020839]
nl.liacs.boundingdiametersui [0.0.1 0.0.1 202006020839]
nl.liacs.boundingdiametersssuite [0.0.1 0.0.1 202006020839]
nl.cloudfarming.client.lib.platform.l10n [1.1 1.1-NB80 201411231331]
net.phreakocious.httpgraph [1.0.8 1.0.8 202006020839]
net.clementlevallois.mapofcountries [1.5.1 1.5.1 202006020838]
net.clementlevallois.givecolortonodes [1.0.0 1.0.0 202006020838]
net.clementlevallois.givecolortoedges [1.0.0 1.0.0 202006020838]
imperialcollegelondon.scale.plugin [1.1.0 1.1.0 202006020839]
ia.ppgco.facom.ufu.br.bridge.gephi.plugin [1.0.1 1.0.1 202006020839]
fr.inria.edelweiss.semantic [1.0.0 1.0.0 202006020838]
edu.buaa.act.gephi.plugin.node.color.manager [1.0.0 1.0.0 202006020838]
ec.loxa.sna.gephi.websiteexport.loxawebsiteexport [0.3.2 0.3.2 202006020838]
dk.icourts.graphfilter [1.0.0 1.0.0 202006020838]
cz.cvut.fit.gephi.multimode [1.1.0 1.1.0 202006020838]
comsort.polygon.shaped.nodes [1.0.0 1.0.0 202006020839]
com.polinode.polinodeexporter [0.9.2 0.9.2 202006020839]
com.hypercities.exporttoearth [1.0.0 1.0.0 202006020838]
com.carlschroedl.gephi.spanning.tree.plugin [1.0.0 1.0.0 202006020839]
ch.michihenninger.prestige.plugin [1.0.0 1.0.0 202006020838]
bitnine.global.agensgraph.plugin [1.0.0 1.0.0 202006020839]
SimilarityComputer.SimilarityComputer [1.1.3 1.1.3 202006020839]
ExcelCsvImporter.ExcelCsvImporter [1.0.0 1.0.0 202006020838]
INFO [org.netbeans.core.network.proxy.NetworkProxyReloader]: System network proxy resolver: Gnome
INFO [org.netbeans.core.network.proxy.gnome.GsettingsNetworkProxy]: GSettings system proxy resolver: direct connection
INFO [org.netbeans.core.network.proxy.NetworkProxyReloader]: System network proxy reloading succeeded.
INFO [org.netbeans.core.network.proxy.NetworkProxyReloader]: System network proxy - mode: direct
INFO [org.netbeans.core.network.proxy.NetworkProxyReloader]: System network proxy: fell to default (correct if direct mode went before)
INFO [org.netbeans.ui.metrics.laf]: USG_LOOK_AND_FEEL
WARNING [org.netbeans.TopSecurityManager]: use of system property netbeans.user has been obsoleted in favor of InstalledFileLocator/Places at org.gephi.ui.upgrader.Upgrader.getCurrentVersion(Upgrader.java:123)
INFO: Current Version is 092
INFO: GL_VENDOR: VMware, Inc.
INFO: GL_RENDERER: llvmpipe (LLVM 6.0, 128 bits)
INFO: GL_VERSION: 3.0 Mesa 18.0.5
INFO: GL_SURFACE_SCALE: 1
Diagnostic information
Input arguments:
-Djdk.home=/opt/openjdk/openjdk-1.8.0.232.b09-0x86_64
-Dnetbeans.running.environment=gnome
-Dnetbeans.dirs=/opt/gephi/gephi-0.9.2/platform:/opt/gephi/gephi-0.9.2/gephi:
-Dnetbeans.home=/opt/gephi/gephi-0.9.2/platform
-Xms64m
-Xmx512m
-Xverify:none
-Dsun.java2d.noddraw=true
-Dsun.awt.noerasebackground=true
-Dnetbeans.indexing.noFileRefresh=true
-Dplugin.manager.check.interval=EVERY_DAY
-Duser.language=en
-DaddExports:java.desktop/sun.awt=ALL-UNNAMED
-DaddExports:java.base/jdk.internal.jrtfs=ALL-UNNAMED
-DaddExports:java.desktop/java.awt.peer=ALL-UNNAMED
-DaddExports:java.desktop/com.sun.beans.editors=ALL-UNNAMED
-DaddExports:java.desktop/sun.awt.im=ALL-UNNAMED
-DaddExports:java.desktop/com.sun.java.swing.plaf.gtk=ALL-UNNAMED
-DaddExports:java.management/sun.management=ALL-UNNAMED
-XX:+HeapDumpOnOutOfMemoryError
-XX:HeapDumpPath=/home/ivang/.gephi/0.9.2/dev/var/log/heapdump.hprof
Compiler: HotSpot 64-Bit Tiered Compilers
Heap memory usage: initial 64.0MB maximum 455.5MB
Non heap memory usage: initial 2.4MB maximum -1b
Garbage collector: PS Scavenge (Collections=6 Total time spent=0s)
Garbage collector: PS MarkSweep (Collections=2 Total time spent=0s)
Classes: loaded=6883 total loaded=6883 unloaded 0
INFO [org.netbeans.core.ui.warmup.DiagnosticTask]: Total memory 8,272,039,936
INFO [null]: Total physical memory 8,272,039,936
WARNING [org.openide.filesystems.Ordering]: Not all children in Menu/View/ marked with the position attribute: [org-netbeans-core-windows-actions-ToggleFullScreenAction.instance], but some are: [ToggleFullScreenAction.shadow]
WARNING [org.openide.filesystems.Ordering]: Found same position 333 for both Menu/Window/org-gephi-desktop-scripting-ConsoleTopComponent.shadow and Menu/Window/org-gephi-plugins-twitter-panel-MainTwitterWindows.shadow
WARNING [org.openide.filesystems.Ordering]: Not all children in Menu/Window/ marked with the position attribute: [cz-cvut-fit-gephi-multimode-MultiModeWindowTopComponent.shadow, fr-inria-edelweiss-SemanticWebImportMainWindowTopComponent.shadow, org-bitnine-AgensGraphImportPanel.shadow], but some are: [org-gephi-desktop-clustering-ContextTopComponent.shadow, org-gephi-desktop-datalab-DataTableTopComponent.shadow, org-gephi-desktop-scripting-ConsoleTopComponent.shadow, org-gephi-plugins-twitter-panel-MainTwitterWindows.shadow, org-gephi-desktop-filters-FiltersTopComponent.shadow, org-gephi-visualization-component-GraphTopComponent.shadow, org-gephi-desktop-layout-LayoutTopComponent.shadow, org-netbeans-core-io-ui-IOWindowAction.shadow, org-gephi-desktop-preview-PreviewTopComponent.shadow, org-gephi-desktop-preview-PreviewSettingsTopComponent.shadow, org-gephi-desktop-appearance-AppearanceTopComponent.shadow, org-gephi-desktop-welcome-WelcomeAction.shadow, org-gephi-desktop-statistics-StatisticsTopComponent.shadow, org-gephi-desktop-timeline-TimelineWindowAction.shadow, org-gephi-desktop-streaming-StreamingTopComponent.shadow, Separator4_1.instance, Separator3.instance, ConfigureWindow, org-netbeans-core-windows-actions-ResetWindowsAction.shadow, Separator4.instance, CloseWindowAction.shadow, GroupsMenuAction.shadow]
WARNING [org.netbeans.modules.autoupdate.updateproviders.AutoupdateCatalogFactory]: Services/AutoupdateType/org_gephi_branding_update_center.instance: url_key attribute deprecated in favor of url
WARNING [org.netbeans.modules.autoupdate.updateproviders.AutoupdateCatalogFactory]: Services/AutoupdateType/org_gephi_branding_update_center_1.instance: url_key attribute deprecated in favor of url
INFO [org.netbeans.core.ui.focus]: External Changes Refresh on focus gain disabled
init: Bootstrapping class not in Py.BOOTSTRAP_TYPES[class=class org.python.core.PyStringMap]
WARNING [org.netbeans.TopSecurityManager]: use of system property netbeans.user has been obsoleted in favor of InstalledFileLocator/Places at org.gephi.desktop.scripting.ConsoleTopComponent.newJythonConsole(ConsoleTopComponent.java:164)
INFO [org.gephi.streaming.server.impl.jetty.StreamingServerImpl]: Registering controller at context /workspace1
INFO [org.gephi.streaming.server.impl.jetty.StreamingServerImpl]: Starting StreamingServer...
WARNING [org.netbeans.TopSecurityManager]: use of system property netbeans.user has been obsoleted in favor of InstalledFileLocator/Places at org.eclipse.jetty.util.log.Log$1.run(Log.java:122)
INFO [org.gephi.streaming.server.impl.jetty.StreamingServerImpl]: StreamingServer started at 21/02/21 22:02
2021-02-21 22:02:07.213:INFO:oejs.Server:jetty-8.y.z-SNAPSHOT
2021-02-21 22:02:07.313:INFO:oejs.AbstractConnector:Started SelectChann...@0.0.0.0:28080

Stephen Mallette

unread,
Feb 22, 2021, 6:49:19 AM2/22/21
to gremli...@googlegroups.com
I can't say that I see anything particularly wrong with your setup. I have known Gephi to be finicky about rendering sometimes though. Do you see data in the "Data Laboratory" after you issue the :> sgl ? perhaps the data is getting there but is some other problem with Gephi itself (perhaps an incompatibility with your graphics setup)?

Ivan Garcia

unread,
Feb 22, 2021, 8:25:36 AM2/22/21
to Gremlin-users
Hi Stephen, 

No data on "Data Laboratory" also context not showing anything rather than vertices and edges both equal to Zero. I am assuming nothing is reaching Gephi also nothing on log about any rejection. 

I have made sure to set up properly ip, port and workspace. Using port 28080 instead as Kafka is using 8080

On the other hand, should I be concerned about the following:

WARNING [org.netbeans.modules.autoupdate.ui.actions.AutoupdateSettings]: The property "netbeans.default_userdir_root" was not set!

Thanks, any advise will be greatly appreciated. 

Regards, 

Ivan

Stephen Mallette

unread,
Feb 23, 2021, 7:23:09 AM2/23/21
to gremli...@googlegroups.com
I've retested the basic instructions myself and got it to work so I think our integration is still intact. I did find that changing the port in Gephi caused some hassle if you didn't get it set right at the server start up so i ended up starting and restarting gephi and my :remote a few times to finally get them to recognize each other. On the other hand, I also got a fairly clear (though junky HTML-based) message in the console to say the connection could not be established but you don't seem to have that. I'm a bit at a loss for what could be wrong. 

The only new realization I have is that you are using JanusGraph and subgraphing to a local TinkerGraph. I have not known that to cause a problem in particular, but I wonder two things:

1. you have an odd data type that Gephi can't process in your properties somewhere. i would strip all the properties from your subgraph and ship that to gephi to see if the structure comes through.
2. is Gephi having trouble with the JanusGraph vertex identifier (i think not - gephi is just sent a toString() representation of it for the id on its side). if this is the case, i guess i'd try to write some Gremlin to post process the ids in the subgraph into a simple string.
3. You can enable debug mode/logging for the Console and (i think) for Gephi to see if you can get more output to lend clues

if none of these three things gets the answer or provides more clues then i doubt i can come up with any further suggestions. good luck!

Ivan Garcia

unread,
Feb 28, 2021, 1:44:45 PM2/28/21
to Gremlin-users
Hi Stephen,

I have been busy lately sorry. Today I was working on this. Unfortunately not luck.

I am using the airroutes dataset and just as a test, the same file I imported into Janusgraph was open using Gephi without any issue. There are not particular odd data types.

I also reduced the subgraph just to discard the memory limitation and the same issue. Also I have been looking into my graph card, it is not the best but I do not think at this stage, this is a major issue bearing in mind the file upload fast.

I have not strip the subgraph yet, I need to learn how to do this unfortunately. Also need to understand how to post process a graph structure.

It seems at the moment the only thing I can do is to generate a GraphML or JSON files and open them using Gephi, not ideal!!!!!

Regards,

Stephen Mallette

unread,
Mar 1, 2021, 7:59:25 AM3/1/21
to gremli...@googlegroups.com
A few clarifications inline:

On Sun, Feb 28, 2021 at 1:44 PM Ivan Garcia <ivangarci...@gmail.com> wrote:
Hi Stephen,

I have been busy lately sorry. Today I was working on this. Unfortunately not luck.

I am using the airroutes dataset and just as a test, the same file I imported into Janusgraph was open using Gephi without any issue. There are not particular odd data types.

I also reduced the subgraph just to discard the memory limitation and the same issue. Also I have been looking into my graph card, it is not the best but I do not think at this stage, this is a major issue bearing in mind the file upload fast.

I have not strip the subgraph yet, I need to learn how to do this unfortunately. Also need to understand how to post process a graph structure.

I don't mean anything complicated in removing the properties - I just meant  you need to write some Gremlin to remove the properties of the subgraph - easy:

gremlin> g = TinkerFactory.createModern().traversal()
==>graphtraversalsource[tinkergraph[vertices:6 edges:6], standard]
gremlin> g.V().properties().drop()
gremlin> g.E().properties().drop()
gremlin> g.V().elementMap()
==>[id:1,label:person]
==>[id:2,label:person]
==>[id:3,label:software]
==>[id:4,label:person]
==>[id:5,label:software]
==>[id:6,label:person]
gremlin> g.E().elementMap()
==>[id:7,label:knows,IN:[id:2,label:person],OUT:[id:1,label:person]]
==>[id:8,label:knows,IN:[id:4,label:person],OUT:[id:1,label:person]]
==>[id:9,label:created,IN:[id:3,label:software],OUT:[id:1,label:person]]
==>[id:10,label:created,IN:[id:5,label:software],OUT:[id:4,label:person]]
==>[id:11,label:created,IN:[id:3,label:software],OUT:[id:4,label:person]]
==>[id:12,label:created,IN:[id:3,label:software],OUT:[id:6,label:person]]


That leaves you with just the structure of the graph. Of course, if you're using air routes data there probably isn't anything there that would cause your troubles. I'm fairly certain that JanusGraph users use Gephi in the manner that you are and don't have problems so I sense you have something environmental that is preventing this from working. If it was the RelationIdentifier or similar issue I'd think other JanusGraph users would have brought this problem up a long time ago. I honestly don't have any other ideas here without some kind of new information.

Ivan Garcia

unread,
Mar 3, 2021, 10:21:15 AM3/3/21
to gremli...@googlegroups.com
Stephen,

I have been reviewing all the steps to solve this situation. I have noticed that the remote-objects.yaml when includes the serializeResultToString below works:

serializer: { className: org.apache.tinkerpop.gremlin.driver.ser.GryoMessageSerializerV3d0, config: { serializeResultToString: true }}

If I configure the remote-objects.yaml like this (without the culprit { serializeResultToString: true }}) as below exactly:

serializer: { className: org.apache.tinkerpop.gremlin.driver.ser.GryoMessageSerializerV3d0, config: { ioRegistries: [org.janusgraph.graphdb.tinkerpop.JanusGraphIoRegistry] }}
serializer: { className: org.apache.tinkerpop.gremlin.driver.ser.GryoMessageSerializerV3d0, config: { ioRegistries: [org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerIoRegistryV3d0] }}

I always have an error when sending this:
gremlin> :> graph = ConfiguredGraphFactory.open("airroutessmall")

the error even when serializers are already included on the server.yaml is:

Server could not serialize the result requested. Server error - Error during serialization: Class is not registered: org.janusgraph.graphdb.database.StandardJanusGraph
Note: To register this class use: kryo.register(org.janusgraph.graphdb.database.StandardJanusGraph.class);. Note that the class must be serializable by the client and server for proper operation.


It seems I have been working with string rather than objects!!!!!!!

How to solve this? so I can work with roper objects.

Thanks


Ivan



Stephen Mallette

unread,
Mar 3, 2021, 10:46:42 AM3/3/21
to gremli...@googlegroups.com
For Gephi integration and what you've been doing you don't want toString serialization. That will take every object returned and just return the toString() representation which is great if you're just doing some work in the console but you want to take the returned Graph object and send the data to Gephi. The toString() representation of Graph won't have "the data". The error you are getting is expected. JanusGraph (a TinkerPop Graph interface implementation) is not serializable. You can do this with TinkerGraph because it is serializable given your inclusion of TinkerIoRegistryV3d0. Remove that IoRegistry and you'll get a similar error when returning a subgraph(). 

Ivan Garcia

unread,
Mar 3, 2021, 11:31:03 AM3/3/21
to gremli...@googlegroups.com
Hi Stephen,

It means I cannot use gephi this way when working with Janusgraph?

Sorry I am a little confused right now. What is the solution to this situation if I cannot serialize Janusgraph as object? export to Json or GraphML?

Stephen Mallette

unread,
Mar 3, 2021, 11:44:55 AM3/3/21
to gremli...@googlegroups.com
You need a Graph object in the memory of the console to allow the Gephi plugin to work. When you do this:

gremlin> :> graph = ConfiguredGraphFactory.open("airroutessmall")

You are sending that command (because of the :>) as a string to Janus Server. It executes there and then tries to return a Graph object. In this case that Graph object is a JanusGraph implementation. You will get an error. There is no serializer for JanusGraph to allow that object to come back from the server to the client. Prior to this you have been using subgraph() with JanusGraph to return a TinkerGraph. TinkerGraph is serializable and therefore in the Console you will have an object you can send to Gephi. 

If you want to send a JanusGraph instance to the Gephi directly I believe you may do so but you can't do it with a remote request. You need to instantiate your JanusGraph instance directly in the console...thus:

gremlin> graph = JanusGraphFactory.open(...)
gremlin> :> graph // submitting to Gephi

That is the difference: remote vs local. 


--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.

Bob Zhao

unread,
Apr 6, 2021, 5:30:13 AM4/6/21
to Gremlin-users
Hello,

I have very similar issue and even closer to final goal.

I can send out sub graph as local var to remote Gephi server living on the same PC, the sub graph  was cut from remote JanusGragh which follow the demo.
I even can see the terminal which launching the Gephi GUI could get the message when I passing the :> lg

Handling request for operation updateGraph, format JSON
Handling request for operation updateGraph, format JSON
Handling request for operation updateGraph, format JSON
Handling request for operation updateGraph, format JSON

But there is NO change on Gephi's GUI(workspace1)

Thanks,
Bob

Stephen Mallette

unread,
Apr 6, 2021, 5:34:14 AM4/6/21
to gremli...@googlegroups.com
This sounds like an issue related to gephi itself given that you see the log output where data is heading to gephi. Did you look at this?




Reply all
Reply to author
Forward
0 new messages