Skip to content

Conversation

@jexp
Copy link

@jexp jexp commented Feb 13, 2013

Updated kernel library to 2.0.1
Removed JMX and Management Libraries
Added read transactions for import

No way to test it locally though.

@sheymann or @eduramiba please test it and make it appear on the marketplace. Thanks!

@ghost ghost assigned eduramiba Feb 13, 2013
@peterneubauer
Copy link

@eduramiba could we please get together and try to build the plugin, since @jexp and I can't make it work? I am peter.neubauer on Skype.

@eduramiba
Copy link
Member

Hi,
Sure. I was able to build it today. Is your problem building or running the plugin features?
The plugin needs the latest update for a bugfix.

@peterneubauer
Copy link

Well, it's mostly just waling through the setup and build process. Maybe I
can just watch you doing it for 3 minutes tomorrow?

On Wed, Jun 5, 2013 at 12:36 AM, Eduardo Ramos notifications@github.comwrote:

Hi,
Sure. I was able to build it today. Is your problem building or running
the plugin features?
The plugin needs the latest update for a bugfix.


Reply to this email directly or view it on GitHubhttps://github.com//pull/27#issuecomment-18944171
.

@eduramiba
Copy link
Member

I added you to skype so we can see the process

@peterneubauer
Copy link

Have added you, please let me know when you are free.

On Wed, Jun 5, 2013 at 10:38 PM, Eduardo Ramos notifications@github.comwrote:

I added you to skype so we can see the process


Reply to this email directly or view it on GitHubhttps://github.com//pull/27#issuecomment-19006815
.

@m1ci
Copy link

m1ci commented Dec 1, 2013

Hi,
can you please share the working version of the plugin compatible with neo4j v1.9?
In the gephi plugin repository is still the older version of the plugin compatible with neo4j v1.5.

Thanks!

@pranspach
Copy link

@m1ci Is that what the problem is? I'm trying to import my 1.9.5 db and I'm getting this error:

Caught: java.util.NoSuchElementException: No matching Neo4j Graph Database running on server
java.util.NoSuchElementException: No matching Neo4j Graph Database running on server
at org.neo4j.management.Neo4jManager.get(Neo4jManager.java:171)
at org.neo4j.management.Neo4jManager.get(Neo4jManager.java:125)
at org.neo4j.management.Neo4jManager.get(Neo4jManager.java:59)
at org.gephi.neo4j.plugin.impl.GraphModelImportConverter$Neo4jGraphModel.<init>(GraphModelImportConverter.java:268)
at org.gephi.neo4j.plugin.impl.GraphModelImportConverter.getInstance(GraphModelImportConverter.java:76)
at org.gephi.neo4j.plugin.impl.Neo4jImporterImpl.importGraph(Neo4jImporterImpl.java:149)
at org.gephi.neo4j.plugin.impl.Neo4jImporterImpl.doImport(Neo4jImporterImpl.java:137)
at org.gephi.neo4j.plugin.impl.Neo4jImporterImpl.importDatabase(Neo4jImporterImpl.java:131)
at org.gephi.neo4j.plugin.impl.Neo4jImporterImpl.importDatabase(Neo4jImporterImpl.java:91)
at org.gephi.neo4j.plugin.api.Neo4jImporter$importDatabase.call(Unknown Source)

@peterneubauer
Copy link

Would love to upgrade the plugin, but need some help in setting up the build and development system. Anyone?

@m1ci
Copy link

m1ci commented Dec 9, 2013

@pranspach I switched to Neo4j v1.9.5 and now it is working with the Gephi plugin v1.0.2. Are you sure you are using the 1.9.5 neo4j stable version?

@pranspach
Copy link

I am, ya -- I'm also using whatever version the neo4j-plugin brach is on. I'll double check that I'm using the correct libraries bundled... I may have tripped over the NBM packaging, definitely throwing a wrench in dev workflow.

@karabijavad
Copy link

really excited for this to be merged in. had not known of gephi til now, and my database is 2.0.1, so this is great!

@zhiboz
Copy link

zhiboz commented Feb 21, 2014

would love to see this gets pushed to the Gephi marketplace soon!

jexp added 2 commits February 21, 2014 20:15
Added lucene and neo4j-index for Schema Index dependency
Added Transactions around the Neo4jDelegateProviderImpl operations

TODO Still Error in Gephi Runtime

I have zero knowledge of Gephi internals and no experience with Netbeans so I'm lost here.

Seems to be that the `value` in one of the AttributeValueImpl is not a Long (Node-Id) but a String
probably somewhere the origin wrongly set as DELEGATE

from AttributeValueImpl.getValue()
````
            } else if (AttributeUtilsImpl.getDefault().isNodeColumn(column)) {
                result = attributeValueDelegateProvider.getNodeAttributeValue(value, column);
            } else {
````

Exception:

````
SEVERE:
java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Long
	at org.gephi.neo4j.plugin.impl.Neo4jDelegateProviderImpl.getNodeAttributeValue(Neo4jDelegateProviderImpl.java:38)
	at org.gephi.data.attributes.AttributeValueImpl.getValue(AttributeValueImpl.java:81)
	at org.gephi.data.attributes.AttributeValueImpl.equals(AttributeValueImpl.java:103)
	at org.gephi.data.attributes.AttributeRowImpl.setValue(AttributeRowImpl.java:153)
	at org.gephi.data.attributes.AttributeRowImpl.setValue(AttributeRowImpl.java:141)
	at org.gephi.data.attributes.AttributeRowImpl.setValue(AttributeRowImpl.java:128)
	at org.gephi.data.attributes.AttributeRowImpl.setValue(AttributeRowImpl.java:110)
	at org.gephi.neo4j.plugin.impl.GraphModelImportConverter.fillGephiNodeDataWithNeoNodeData(GraphModelImportConverter.java:161)
	at org.gephi.neo4j.plugin.impl.GraphModelImportConverter.createGephiNodeFromNeoNode(GraphModelImportConverter.java:136)
	at org.gephi.neo4j.plugin.impl.Neo4jImporterImpl.processNode(Neo4jImporterImpl.java:180)
	at org.gephi.neo4j.plugin.impl.Neo4jImporterImpl.importNodes(Neo4jImporterImpl.java:174)
	at org.gephi.neo4j.plugin.impl.Neo4jImporterImpl.importGraph(Neo4jImporterImpl.java:152)
	at org.gephi.neo4j.plugin.impl.Neo4jImporterImpl.doImport(Neo4jImporterImpl.java:136)
	at org.gephi.neo4j.plugin.impl.Neo4jImporterImpl.importDatabase(Neo4jImporterImpl.java:130)
	at org.gephi.neo4j.plugin.impl.Neo4jImporterImpl.importDatabase(Neo4jImporterImpl.java:76)
	at org.gephi.desktop.neo4j.Neo4jMenuAction$FullImportMenuAction$1.run(Neo4jMenuAction.java:252)
[catch] at org.gephi.utils.longtask.api.LongTaskExecutor$RunningLongTask.run(LongTaskExecutor.java:251)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:744)
````
eduramiba added a commit that referenced this pull request Feb 21, 2014
upgrade to Neo4j 2.0.1

Tested and working fine after the 2 additional commits.
Note: it's necessary to have latest Gephi 0.8.2 updates to fix an old Gephi bug.
@eduramiba eduramiba merged commit 869e5ac into gephi:neo4j-plugin Feb 21, 2014
@eduramiba
Copy link
Member

Merged and working well. Thank you all!

@theburningmonk
Copy link

Hi, just wondering when this is going to be pushed to the gephi marketplace yet? I'd love to use it for a presentation coming up shortly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants