Page 1 of 1

Cannot start Deluge 1.3.1 Daemon in Ubuntu 10.04

Posted: Thu Jan 06, 2011 10:55 pm
by liquidplastik
I'm having issues starting Deluge 1.3.1 Daemon in Ubuntu 10.04. I run sudo deluge-web and then when I when I try to start the daemon via the web interface I get this error:

Code: Select all

[ERROR   ] 14:41:13 client:584 [Errno 2] No such file or directory
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/deluge/ui/client.py", line 582, in start_daemon
    subprocess.call(["deluged", "--port=%s" % port, "--config=%s" % config])
  File "/usr/lib/python2.6/subprocess.py", line 470, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/usr/lib/python2.6/subprocess.py", line 623, in __init__
    errread, errwrite)
  File "/usr/lib/python2.6/subprocess.py", line 1141, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
[ERROR   ] 14:41:13 json_api:223 Error calling method `web.start_daemon`
[ERROR   ] 14:41:13 json_api:224 [Errno 2] No such file or directory
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/deluge/ui/web/json_api.py", line 215, in _handle_request
    result = self._exec_local(method, params, request)
  File "/usr/lib/pymodules/python2.6/deluge/ui/web/json_api.py", line 182, in _exec_local
    return meth(*params)
  File "/usr/lib/pymodules/python2.6/deluge/ui/web/json_api.py", line 760, in start_daemon
    client.start_daemon(port, get_config_dir())
  File "/usr/lib/pymodules/python2.6/deluge/ui/client.py", line 585, in start_daemon
    raise e
OSError: [Errno 2] No such file or directory
/usr/lib/pymodules/python2.6/deluge/ui/web/json_api.py:226: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
  error = {"message": e.message, "code": 3}
582, in start_daemondules/python2.6/deluge/ui/client.py", line
/usr/bin/python: can't find '__main__.py' in '/usr/share/command-not-found'
Any ideas what is causing this?

Re: Cannot start Deluge 1.3.1 Daemon in Ubuntu 10.04

Posted: Mon Jan 10, 2011 2:20 pm
by Cas
Did you follow the WebUI Guide? You should not need to run either deluge or deluge-web with sudo.