On 04/04/07, dgbrown <[EMAIL PROTECTED]> wrote:
Looking to be poinbted in the right direction.

Run from the command line:

[EMAIL PROTECTED]:~$ /usr/local/zenoss/bin/python 
/usr/local/zenoss/Products/ZenEvents/zenactions.py --configfile 
/usr/local/zenoss/etc/zenactions.conf --cycle
Traceback (most recent call last):
  File "/usr/local/zenoss/Products/ZenEvents/zenactions.py", line 503, in ?
    za.run()
  File "/usr/local/zenoss/Products/ZenEvents/zenactions.py", line 378, in run
    self.schedule.start()
  File "/usr/local/zenoss/Products/ZenEvents/Schedule.py", line 37, in start
    self.configCycle()
  File "/usr/local/zenoss/Products/ZenEvents/Schedule.py", line 42, in 
configCycle
    self.run()
  File "/usr/local/zenoss/Products/ZenEvents/Schedule.py", line 69, in run
    self.runEvents()
  File "/usr/local/zenoss/Products/ZenEvents/Schedule.py", line 116, in 
runEvents
    self.timer = self.callLater(wait)
  File "/usr/local/zenoss/Products/ZenEvents/Schedule.py", line 123, in 
callLater
    return reactor.callLater(seconds, self.runEvents)
  File "usr/local/zenoss/lib/python/twisted/internet/base.py", line 458, in 
callLater
AssertionError: -50900.2547419 is not greater than or equal to 0 seconds


I also had this error and posted it but received no responses.  I have
no idea what caused the problem, but fixed it with an edit to the
python code.

In $ZENHOME/Products/ZenEvents/Scheduler.py

In method "runEvents", change the line:

   wait = work[0][0] - now

to

   wait = max(0, work[0][0] - now)



--
Regards,

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

Reply via email to