diff options
author | Calum Lind <calumlind+deluge@gmail.com> | 2012-01-31 02:09:48 +0000 |
---|---|---|
committer | Calum Lind <calumlind+deluge@gmail.com> | 2012-02-23 00:49:54 +0000 |
commit | aa0f41ac1736916267be2142f883fa4b59fe6077 (patch) | |
tree | f91bc2b2f8a2079a93b36087f95166d2e6684424 /deluge/ui/client.py | |
parent | 4a7876f203c6bb0a7fd9926bb17457a5932b4b7c (diff) | |
download | deluge-aa0f41ac1736916267be2142f883fa4b59fe6077.tar.gz deluge-aa0f41ac1736916267be2142f883fa4b59fe6077.tar.bz2 deluge-aa0f41ac1736916267be2142f883fa4b59fe6077.zip |
Cleaner log entry if deluged missing
Diffstat (limited to 'deluge/ui/client.py')
-rw-r--r-- | deluge/ui/client.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/deluge/ui/client.py b/deluge/ui/client.py index 2ea2d3b9e..8be7aaed5 100644 --- a/deluge/ui/client.py +++ b/deluge/ui/client.py @@ -665,7 +665,12 @@ class Client(object): else: subprocess.call(["deluged", "--port=%s" % port, "--config=%s" % config]) except OSError, e: - log.exception(e) + from errno import ENOENT + if e.errno == ENOENT: + log.error(_("Deluge cannot find the 'deluged' executable, it is likely \ +that you forgot to install the deluged package or it's not in your PATH.")) + else: + log.exception(e) raise e except Exception, e: log.error("Unable to start daemon!") |