Hello,

I defined an event command which take the locationName in parameters. Zenoss 
runs my command and sometimes there is this log  in zenactions daemon :

Traceback (most recent call last):
  File "/opt/zenoss/Products/ZenEvents/zenactions.py", line 353, in 
runEventCommand
    res = compiled(getEngine().getContext(environ))
  File "/opt/zenoss/lib/python/Products/PageTemplates/Expressions.py", line 
224, in __call__
    v = var(econtext)
  File "/opt/zenoss/lib/python/Products/PageTemplates/Expressions.py", line 
185, in __call__
    return self._eval(econtext)
  File "/opt/zenoss/lib/python/Products/PageTemplates/Expressions.py", line 
173, in _eval
    ob = self._subexprs[-1](econtext)
  File "/opt/zenoss/lib/python/Products/PageTemplates/Expressions.py", line 
127, in _eval
    ob = restrictedTraverse(ob, path, getSecurityManager())
  File "/opt/zenoss/lib/python/Products/PageTemplates/Expressions.py", line 
334, in restrictedTraverse
    guarded_getattr(object, name)
AttributeError: 'NoneType' object has no attribute 'getLocationName'

Have you already seen this problem ?




-------------------- m2f --------------------

Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=19793#19793

-------------------- m2f --------------------



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to