[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 •Spigot Importer Plugin
Page 1 of 1

Spigot Importer Plugin

Posted: 28 Jun 2010 01:12
by colonhyphenp
Hello,

I am new to Gephi, and I must say I am quite impressed with the project! Anyway, I am trying to create an importer plugin for fun, and I believe the best way to categorize this plugin is as a "spigot importer" (because it will connect to a 3rd party web service).

I have created a new module and made implementations of the SpigotImporterBuilder and SpigotImporter interfaces, as well as the ImporterUI interface. Moreover, I have set the @ServiceProvider annotation on my SpigotImporterBuilder and ImporterUI implementations. However, when launching Gephi, I do not see how to actually run my spigot importer. I guess I was expecting to see a new menu item "File -> Import Spigot", analogous to the "File -> Import Database" menu item, but this does not appear to be the case. How does one run a spigot importer plugin from inside Gephi?

Thanks!
Dan

Note: I am running Gephi revno 1501 from the lp:gephi bazaar branch.

Re: Spigot Importer Plugin

Posted: 28 Jun 2010 23:01
by mbastian
I am new to Gephi, and I must say I am quite impressed with the project! Anyway, I am trying to create an importer plugin for fun, and I believe the best way to categorize this plugin is as a "spigot importer" (because it will connect to a 3rd party web service).
Yeah! Spigot is indeed the good category I think.
I have created a new module and made implementations of the SpigotImporterBuilder and SpigotImporter interfaces, as well as the ImporterUI interface. Moreover, I have set the @ServiceProvider annotation on my SpigotImporterBuilder and ImporterUI implementations. However, when launching Gephi, I do not see how to actually run my spigot importer. I guess I was expecting to see a new menu item "File -> Import Spigot", analogous to the "File -> Import Database" menu item, but this does not appear to be the case. How does one run a spigot importer plugin from inside Gephi?
You did everything right, the menu has been deactivated because I deployed a fast update last week, but now it's back into it. You can either update the trunk to the current revision or do the same operation I did, Right-Click on the Gephi Project -> "Add Existing" and find "DesktopSpigot" directory.

The Import Spigot should then appear normally, with your plugin their if everything is fine.

Keep us updated if you encounter other problems

Re: Spigot Importer Plugin

Posted: 29 Jun 2010 02:49
by colonhyphenp
Thanks, adding the DesktopSpigot directory to the Gephi project worked for me. I tried updating my bzr checkout of lp:gephi, but it said I was already up to date. No worries though, since the other fix worked.

Thanks again - I'll let you know if I have any other issues!
Dan