Hi Imesh,

Looks like the initialization of the variable env_params was accidentally
deleted by revision 02346effc6962e8a7c301661231ed86e25599299 when a code
cleanup was done. I will submit a PR soon.


Regards,
Chamila de Alwis
Software Engineer | WSO2 | +94772207163
Blog: code.chamiladealwis.com



On Thu, Jan 29, 2015 at 1:54 PM, Imesh Gunaratne <im...@apache.org> wrote:

> Hi Devs,
>
> I see the below error in latest Cartridge Agent, seems like there is an
> undefined variable:
>
> [2015-01-29 08:16:23,395] INFO
> {defaultextensionhandler.py:on_member_activated_event} - Member activated
> event received: [service] u'php' [cluster] u'php1.php.domain' [member]
> u'php1.php.domainc76d59d2-0f8d-416c-87ed-0db7b91438fd'
> [2015-01-29 08:16:23,395] ERROR {agent.py:on_member_activated} - Error
> processing member activated event
> Traceback (most recent call last):
>   File "agent.py", line 228, in on_member_activated
>     CartridgeAgent.extension_handler.on_member_activated_event(event_obj)
>   File
> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/extensions/defaultextensionhandler.py",
> line 143, in on_member_activated_event
>     extensionutils.execute_member_activated_extension(env_params)
> NameError: global name 'env_params' is not defined
>
> Thanks
>
>
> --
> Imesh Gunaratne
>
> Technical Lead, WSO2
> Committer & PMC Member, Apache Stratos
>

Reply via email to