Gemini Community Support Site

This Gemini community support site can be used to find solutions to product issues. You can log in using Open Id, Google Profile and even Facebook. Feel free to ask a question or browse FAQs and documentation. Product tour videos are also available along with how-to videos demonstrating key Gemini capabilities.




Working with plugins

api

Hi,

I'm working on a synchronization plugin for Gemini since a couple of weeks between my other projects and can't find out the way to make it do something. It can't event write an "Hello World" in a file or insert in a db, that does Nothing At All ! I followed all the instructions really carefuly and nothing happens. It doesn't log any error int the Windows's Event Viewer, and I looked directly in the table "gemini_systemlog" to ensure the no exception is reported. I wrote to countersoft and they said that it was caused by a restricted access that prevent it to write in a file. Then I wanted to freeze Gemini by executing an endless loop instead of creating issue but nothing happened neither it just created the issus normally. I also give all permissions to everyone (including the aspnet user).

I use Visual Studio 2005 and SQL Server 2005 on a Windows XP system for testing.

I know that many people have the same problem, I seen many suggested solutions but they doesn't work and they are not confirmed as "solving the problem". Can someone show an example of a working plugin and explain to everyone how it works and which environment is needed to make it load correctly ?

Thanks !

FasteX_
· 1
FasteX_
Replies (5)
helpful
0
not helpful

Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

Thanks! But, I was looking if possible for an example which doesn't needs me to create a twitter account and to familiarize with it. Something that says "Hey look at me I'm working!" when an issue is created could be perfect. I'm wondering if someone has an example of a really simple plugin that is confirmed to do something and explain how to install it correctly. The hardest part seems to be the installation...

Here's what I'm doing :

In a class library, I override the abstract method "IssueCreated", build the solution, then put all the assemblies in the "bin/plugins" directory. I ensured that I have exacly the same version in both Gemini Web Application and Gemini API SDK (3.6.4). On refresh I can see that the page is reloading the assemblies, meaning that gemini is considering my new plugin. But when I create an issue, nothing happens. The system log from gemini doesn't log anything, and the Windows's event viewer neither. I tried to make it create a file in a drive root, inserting in a db, running an endless loop (hoping it could freeze the application !), and even tried to make it throw an exception like : "plugin working!!" to catch it in the event viewer. Nothing.

After getting the easiest thing in the world working with any damn custom plugin, that will be possible to create the whole universe, but until now that's a big bang of nothing !


FasteX_
· 1
FasteX_
helpful
0
not helpful

You will not be able to "freeze" Gemini as it invokes the plugin in on another thread.

But, throw an exception without handling (catching it) and it should be logged in the Gemini system log.


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

Ok, but it doesn't log anything. I have both Visual Studio 2005 and 2008, tested with both versions and nothing reported. I given all the rights for all users including aspnet for the directory "bin/plugins", I thought it could be an access denied to this directory that prevents to load correctly the plugin but I have to same problem. Now it should not be an access problem, everyone can do anything in the web application directory and the plugin directory. Do I have to configure something special in the database or the application to make the plugins override correctly ? I'm not so far of getting it working, it may be just a config somewhere that is confusing something. In IIS is there a particular configuration for Gemini to have to work with plugins ? For the moment it is configured like all my other projects and the "no-plugin" application is working fine.

Thanks for your help


FasteX_
· 1
FasteX_
helpful
0
not helpful

Can you please send us your code? (support at countersoft dot com)


Mark Wing
· 9108
Mark Wing