blueocean wrote:
> Has anyone seen this before and how do you fix it?
>
> ----------------------------------------------------------------------------------
> [EMAIL PROTECTED] ~]$ zenhub run -v 10
> Traceback (most recent call last):
> File "/home/zenoss/Products/ZenHub/zenhub.py", line 284, in ?
> z = ZenHub()
> File "/home/zenoss/Products/ZenHub/zenhub.py", line 135, in __init__
> ZCmdBase.__init__(self)
> File "/home/zenoss/Products/ZenUtils/ZCmdBase.py", line 55, in __init__
> self.getDataRoot()
> File "/home/zenoss/Products/ZenUtils/ZCmdBase.py", line 129, in getDataRoot
> if not self.app: self.opendb()
> File "/home/zenoss/Products/ZenUtils/ZCmdBase.py", line 110, in opendb
> self.connection=self.db.open()
> AttributeError: 'NoneType' object has no attribute 'open'
I was seeing close to the same behavior with zenhub when I changed the way the
event manager displays stuff. I removed my changes and it all worked. Here is
what I was getting, hope this helps...
./zenhub run
Traceback (most recent call last):
File "/opt/zenoss/Products/ZenHub/zenhub.py", line 284, in ?
z = ZenHub()
File "/opt/zenoss/Products/ZenHub/zenhub.py", line 149, in __init__
severity=0)
File "/opt/zenoss/Products/ZenHub/zenhub.py", line 213, in sendEvent
self.zem.sendEvent(Event(**kw))
File "/opt/zenoss/Products/ZenEvents/MySqlSendEvent.py", line 56, in sendEvent
raise ZenEventError(
Products.ZenEvents.Exceptions.ZenEventError: Required event field message not
found
It is not very intuitive that it was due to me wanting to display more trap
data... but Oh well... Think if the last change you made to a Zcommand, and
remove it would be my guess..
------------------------
Christopher Hubbard
-------------------- m2f --------------------
Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=8998#8998
-------------------- m2f --------------------
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users