Page 1 of 1

Deluge and python2.7

Posted: Sat Jul 13, 2013 9:37 am
by NooBAsTiK
Hello! I have the Problem is the Problem with the Deluge 1.3.3. After performing the deluge-web popping up error:

Code: Select all

deluge-web
Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/twisted/internet/tcp.py", line 277, in connectionLost
    protocol.connectionLost(reason)
  File "/usr/lib/python2.7/dist-packages/twisted/web/client.py", line 191, in connectionLost
    self.factory._disconnectedDeferred.callback(None)
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 368, in callback
    self._startRunCallbacks(result)
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 464, in _startRunCallbacks
    self._runCallbacks()
--- <exception caught here> ---
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 551, in _runCallbacks
    current.result = callback(current.result, *args, **kw)
  File "/usr/lib/python2.7/dist-packages/deluge/ui/tracker_icons.py", line 358, in on_download_icon_complete
    icon = TrackerIcon(icon_name)
  File "/usr/lib/python2.7/dist-packages/deluge/ui/tracker_icons.py", line 69, in __init__
    self.filename = os.path.abspath(filename)
  File "/usr/lib/python2.7/posixpath.py", line 352, in abspath
    if not isabs(path):
  File "/usr/lib/python2.7/posixpath.py", line 61, in isabs
    return s.startswith('/')
exceptions.AttributeError: 'NoneType' object has no attribute 'startswith'
It happens that the client hangs putty and deluge-web work force until it will not close.
What to do and where to look?

Enjoyed the google translator

Re: Deluge and python2.7

Posted: Sat Jul 13, 2013 10:21 am
by Cas
Not sure but could be that you have not setup a r/w config directory.

Latest version of Deluge 1.3.6.

Re: Deluge and python2.7

Posted: Sat Jul 13, 2013 4:51 pm
by NooBAsTiK
I made the right r / w but it still does not work

Re: Deluge and python2.7

Posted: Sun Jul 14, 2013 3:24 pm
by NooBAsTiK
installed the latest version of the deluge, now the deluge-web only works when running window putty, as soon as you close immediately falls off.

Re: Deluge and python2.7

Posted: Sun Jul 14, 2013 4:46 pm
by Cas

Code: Select all

deluge-web --fork

Re: Deluge and python2.7

Posted: Wed Jul 17, 2013 6:13 pm
by NooBAsTiK
it works! And what is the option?

Re: Deluge and python2.7

Posted: Mon Jul 22, 2013 10:45 am
by Spadge
--fork tells the daemon to run in the background.

What you were doing was opening a terminal, running the daemon, killing the terminal session you were running the daemon in.