LoopingCalls stop running and fails to restart

Issue #1 resolved
Bendik repo owner created an issue

The problem is probably caused by an exception being thrown (and not caught) by the function ran by the LoopingCall, which results in the LoopingCall being stopped.

Traceback on shutdown:

Traceback (most recent call last):
  File "/home/bro/programmer/deluge/workdirs/master/deluge/plugins/init.py", line 57, in disable
    self.plugin.disable()
  File "build/bdist.linux-x86_64/egg/yarss2/core.py", line 76, in disable
    self.rssfeed_scheduler.disable_timers()
  File "build/bdist.linux-x86_64/egg/yarss2/rssfeed_scheduler.py", line 68, in disable_timers
    self.rssfeed_timers[key]["timer"].stop()
  File "/usr/local/lib/python2.7/site-packages/twisted/internet/task.py", line 178, in stop
    assert self.running, ("Tried to stop a LoopingCall that was "
AssertionError: Tried to stop a LoopingCall that was not running.

Comments (2)

  1. Log in to comment