Re: Not a valid plugin

2015-09-12 Thread Udara Liyanage
Hi Chamila, It works for MemberActivatedEvent. Thanks for the workaround. On Sat, Sep 12, 2015 at 11:42 PM, Chamila De Alwis wrote: > Hi Udara, > > It seems from the code, when the ArtifactUpdatedEvent is responsible for > publishing the InstanceActivatedEvent, the event handler related to the

Re: Not a valid plugin

2015-09-12 Thread Chamila De Alwis
Hi Udara, It seems from the code, when the ArtifactUpdatedEvent is responsible for publishing the InstanceActivatedEvent, the event handler related to the InstanceActivatedEvent is not being manually triggered[1]. But it's being manually triggered when there is no artifact management is involved [

Re: Not a valid plugin

2015-09-12 Thread Chamila De Alwis
I don't think the difference between the name and the module entries is causing this. You can have different entries for the two fields [1]. Could it be verified that the InstanceActivatedEvent is actually being processed by the event handler? If the log message "Error while loading plugin: APICre

Re: Not a valid plugin

2015-09-11 Thread Pubudu Gunatilaka
Hi Udara, Can you try giving the same module name to the Name as well? That's the only difference I see in your yapsy plugin compared to other plugins we have written. I think both module and name should be same in the yapsy plugin. Thank you! On Sat, Sep 12, 2015 at 3:11 AM, Udara Liyanage wro

Re: Not a valid plugin

2015-09-11 Thread Udara Liyanage
Hi, I see the below log too [2015-09-11 21:27:36,222] INFO {config.py:initialize_plugins} - Activated plugin [APICreationPlugin to create APIs in APIM] On Sat, Sep 12, 2015 at 3:03 AM, Udara Liyanage wrote: > Hi, > > Still I am getting the same error message. > > On Sat, Sep 12, 2015 at 2:45 A

Re: Not a valid plugin

2015-09-11 Thread Udara Liyanage
Hi, Still I am getting the same error message. On Sat, Sep 12, 2015 at 2:45 AM, Udara Liyanage wrote: > Hi, > > I found an error in my plugin, let me correct it and try again. > > On Sat, Sep 12, 2015 at 2:32 AM, Udara Liyanage wrote: > >> Hi, >> >> I added attached plugin and and plugin defin

Re: Not a valid plugin

2015-09-11 Thread Udara Liyanage
Hi, I found an error in my plugin, let me correct it and try again. On Sat, Sep 12, 2015 at 2:32 AM, Udara Liyanage wrote: > Hi, > > I added attached plugin and and plugin definition. However below error is > shown in agent's log. Is it due to an error in plugin file or plugin > definition erro