Downloads failing to continue

General support for problems installing or using Deluge
Post Reply
Aqlor
New User
New User
Posts: 3
Joined: Mon May 31, 2010 2:26 am

Downloads failing to continue

Post by Aqlor »

Hey,
:o I don't know why it happend, one time everything is working ok, the next, I lose most of my downloads, I still have the incomplete download files and some torrent states but errors appear when I run deluge from the terminal, and only 2 torrents are loaded.

Using the last version of deluge (downloaded today and compiled from source) this is what I get :

Code: Select all

** (deluge:7539): WARNING **: column number is a boolean, but will be interpreted as an integer; this is likely not what you intended
[ERROR   ] 01:53:31 component:114 [Failure instance: Traceback: <type 'exceptions.OSError'>: [Errno 2] No such file or directory
/usr/lib/python2.6/dist-packages/twisted/internet/defer.py:213:addCallbacks
/usr/lib/python2.6/dist-packages/twisted/internet/defer.py:371:_runCallbacks
/usr/local/lib/python2.6/dist-packages/deluge-1.3.0_rc1-py2.6.egg/deluge/component.py:262:on_depends_started
/usr/local/lib/python2.6/dist-packages/deluge-1.3.0_rc1-py2.6.egg/deluge/component.py:120:_component_start
--- <exception caught here> ---
/usr/lib/python2.6/dist-packages/twisted/internet/defer.py:117:maybeDeferred
/usr/local/lib/python2.6/dist-packages/deluge-1.3.0_rc1-py2.6.egg/deluge/core/torrentmanager.py:204:start
/usr/local/lib/python2.6/dist-packages/deluge-1.3.0_rc1-py2.6.egg/deluge/core/torrentmanager.py:600:load_state
/usr/local/lib/python2.6/dist-packages/deluge-1.3.0_rc1-py2.6.egg/deluge/core/torrentmanager.py:477:add
/usr/local/lib/python2.6/dist-packages/deluge-1.3.0_rc1-py2.6.egg/deluge/core/eventmanager.py:56:emit
build/bdist.linux-i686/egg/execute/core.py:88:event_handler
build/bdist.linux-i686/egg/execute/core.py:110:execute_commands
/usr/lib/python2.6/subprocess.py:633:__init__
/usr/lib/python2.6/subprocess.py:1139:_execute_child
]
Unhandled error in Deferred:
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 213, in addCallbacks
    self._runCallbacks()
  File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 371, in _runCallbacks
    self.result = callback(self.result, *args, **kw)
  File "/usr/local/lib/python2.6/dist-packages/deluge-1.3.0_rc1-py2.6.egg/deluge/component.py", line 262, in on_depends_started
    return self.components[name]._component_start()
  File "/usr/local/lib/python2.6/dist-packages/deluge-1.3.0_rc1-py2.6.egg/deluge/component.py", line 120, in _component_start
    d = maybeDeferred(self.start)
--- <exception caught here> ---
  File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 117, in maybeDeferred
    result = f(*args, **kw)
  File "/usr/local/lib/python2.6/dist-packages/deluge-1.3.0_rc1-py2.6.egg/deluge/core/torrentmanager.py", line 204, in start
    self.load_state()
  File "/usr/local/lib/python2.6/dist-packages/deluge-1.3.0_rc1-py2.6.egg/deluge/core/torrentmanager.py", line 600, in load_state
    resume_data=resume_data.get(torrent_state.torrent_id))
  File "/usr/local/lib/python2.6/dist-packages/deluge-1.3.0_rc1-py2.6.egg/deluge/core/torrentmanager.py", line 477, in add
    component.get("EventManager").emit(TorrentAddedEvent(torrent.torrent_id))
  File "/usr/local/lib/python2.6/dist-packages/deluge-1.3.0_rc1-py2.6.egg/deluge/core/eventmanager.py", line 56, in emit
    handler(*event.args)
  File "build/bdist.linux-i686/egg/execute/core.py", line 88, in event_handler
    
  File "build/bdist.linux-i686/egg/execute/core.py", line 110, in execute_commands
    
  File "/usr/lib/python2.6/subprocess.py", line 633, in __init__
    errread, errwrite)
  File "/usr/lib/python2.6/subprocess.py", line 1139, in _execute_child
    raise child_exception
exceptions.OSError: [Errno 2] No such file or directory
[ERROR   ] 01:53:32 component:114 [Failure instance: Traceback: <type 'exceptions.OSError'>: [Errno 2] No such file or directory
/usr/lib/python2.6/dist-packages/twisted/internet/defer.py:213:addCallbacks
/usr/lib/python2.6/dist-packages/twisted/internet/defer.py:371:_runCallbacks
/usr/local/lib/python2.6/dist-packages/deluge-1.3.0_rc1-py2.6.egg/deluge/component.py:262:on_depends_started
/usr/local/lib/python2.6/dist-packages/deluge-1.3.0_rc1-py2.6.egg/deluge/component.py:120:_component_start
--- <exception caught here> ---
/usr/lib/python2.6/dist-packages/twisted/internet/defer.py:117:maybeDeferred
/usr/local/lib/python2.6/dist-packages/deluge-1.3.0_rc1-py2.6.egg/deluge/core/torrentmanager.py:204:start
/usr/local/lib/python2.6/dist-packages/deluge-1.3.0_rc1-py2.6.egg/deluge/core/torrentmanager.py:600:load_state
/usr/local/lib/python2.6/dist-packages/deluge-1.3.0_rc1-py2.6.egg/deluge/core/torrentmanager.py:477:add
/usr/local/lib/python2.6/dist-packages/deluge-1.3.0_rc1-py2.6.egg/deluge/core/eventmanager.py:56:emit
build/bdist.linux-i686/egg/execute/core.py:88:event_handler
build/bdist.linux-i686/egg/execute/core.py:110:execute_commands
/usr/lib/python2.6/subprocess.py:633:__init__
/usr/lib/python2.6/subprocess.py:1139:_execute_child
]
Unhandled error in Deferred:
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 213, in addCallbacks
    self._runCallbacks()
  File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 371, in _runCallbacks
    self.result = callback(self.result, *args, **kw)
  File "/usr/local/lib/python2.6/dist-packages/deluge-1.3.0_rc1-py2.6.egg/deluge/component.py", line 262, in on_depends_started
    return self.components[name]._component_start()
  File "/usr/local/lib/python2.6/dist-packages/deluge-1.3.0_rc1-py2.6.egg/deluge/component.py", line 120, in _component_start
    d = maybeDeferred(self.start)
--- <exception caught here> ---
  File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 117, in maybeDeferred
    result = f(*args, **kw)
  File "/usr/local/lib/python2.6/dist-packages/deluge-1.3.0_rc1-py2.6.egg/deluge/core/torrentmanager.py", line 204, in start
    self.load_state()
  File "/usr/local/lib/python2.6/dist-packages/deluge-1.3.0_rc1-py2.6.egg/deluge/core/torrentmanager.py", line 600, in load_state
    resume_data=resume_data.get(torrent_state.torrent_id))
  File "/usr/local/lib/python2.6/dist-packages/deluge-1.3.0_rc1-py2.6.egg/deluge/core/torrentmanager.py", line 477, in add
    component.get("EventManager").emit(TorrentAddedEvent(torrent.torrent_id))
  File "/usr/local/lib/python2.6/dist-packages/deluge-1.3.0_rc1-py2.6.egg/deluge/core/eventmanager.py", line 56, in emit
    handler(*event.args)
  File "build/bdist.linux-i686/egg/execute/core.py", line 88, in event_handler
    
  File "build/bdist.linux-i686/egg/execute/core.py", line 110, in execute_commands
    
  File "/usr/lib/python2.6/subprocess.py", line 633, in __init__
    errread, errwrite)
  File "/usr/lib/python2.6/subprocess.py", line 1139, in _execute_child
    raise child_exception
exceptions.OSError: [Errno 2] No such file or directory
deity
Member
Member
Posts: 10
Joined: Tue Nov 02, 2010 11:35 pm

Re: Downloads failing to continue

Post by deity »

Looks like your trying to run a command on torrent start (eg. via flexget) and that's returning an error..

This causes deluge to restart adding torrents from state, second time around it will match the first one allready active, add the second one and then the on download command will crash the state load a second time. When this happens deluge will just assume state load is broken and continue booting up.

At least that's what i think might be your issue
Post Reply