-
Notifications
You must be signed in to change notification settings - Fork 632
Description
There is no .kind or .Kind on edges.
This handling appears to be missing in __findattr_ex__
in gephi-plugins/modules/ScriptingPlugin/src/main/java/org/gephi/scripting/wrappers/GyEdge.java
.
Not knowing the java tools, I am unable to easily get a compiling gephi-plugins to investigate further. My understanding of the README.md
instructions lead me to a failure, apparently due to missing dependencies:
% mvn clean package
Warning: JAVA_HOME environment variable is not set.
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=lcd -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] ScriptingPlugin
[INFO] gephi-plugins
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building ScriptingPlugin 0.9.2.1
[INFO] ------------------------------------------------------------------------
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.5/maven-clean-plugin-2.5.pom
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.5/maven-clean-plugin-2.5.pom (4 KB at 1.4 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugins/22/maven-plugins-22.pom
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugins/22/maven-plugins-22.pom (13 KB at 15.6 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.5/maven-clean-plugin-2.5.jar
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.5/maven-clean-plugin-2.5.jar (25 KB at 22.8 KB/sec)
[WARNING] The POM for net.java.dev:stax-utils:jar:snapshot-20100402 is missing, no dependency information available
[WARNING] The POM for gython:gython:jar:1.0 is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] ScriptingPlugin .................................... FAILURE [ 5.517 s]
[INFO] gephi-plugins ...................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.708 s
[INFO] Finished at: 2018-07-20T20:52:49+02:00
[INFO] Final Memory: 15M/195M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project scripting.plugin: Could not resolve dependencies for project org.gephi:scripting.plugin:nbm:0.9.2.1: The following artifacts could not be resolved: net.java.dev:stax-utils:jar:snapshot-20100402, gython:gython:jar:1.0: Failure to find net.java.dev:stax-utils:jar:snapshot-20100402 in https://raw.github.com/gephi/gephi/mvn-thirdparty-repo/ was cached in the local repository, resolution will not be reattempted until the update interval of gephi-thirdparty has elapsed or updates are forced
A workaround is to add a new column (say 'Category') copying the 'Kind' column. This is a bit painful because it doesn't seem to be doable within gephi, so I had to export the links to a CSV, copying the column with gnumeric, and reimporting the CSV. By the way, mass deleting links in gephi 0.9.2 does not seem to work, it only deletes one link. So, I had to start a new project to then import the links from CSV. HTH.