Deluge Python Error RPI2

General support for problems installing or using Deluge
Post Reply
bookedirl
Member
Member
Posts: 17
Joined: Mon Nov 16, 2015 3:50 am

Deluge Python Error RPI2

Post by bookedirl »

Hello, I have deluge running on Raspbian Jessie on a Raspberry PI 2 (dietpi remake) I get this error running "deluged"

Code: Select all

root@DietPi:~# deluged
root@DietPi:~# [ERROR   ] 16:32:15 component:118 [Failure instance: Traceback: <type 'exceptions.RuntimeError'>: Address family not supported by protocol
/usr/lib/python2.7/dist-packages/deluge/main.py:230:start_daemon
/usr/lib/python2.7/dist-packages/deluge/core/daemon.py:161:__init__
/usr/lib/python2.7/dist-packages/deluge/component.py:296:start
/usr/lib/python2.7/dist-packages/deluge/component.py:124:_component_start
--- <exception caught here> ---
/usr/lib/python2.7/dist-packages/twisted/internet/defer.py:139:maybeDeferred
/usr/lib/python2.7/dist-packages/deluge/core/preferencesmanager.py:160:start
/usr/lib/python2.7/dist-packages/deluge/config.py:312:register_set_function
/usr/lib/python2.7/dist-packages/deluge/core/preferencesmanager.py:254:_on_set_listen_ports
]
Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/deluge/main.py", line 230, in start_daemon
    Daemon(options, args)
  File "/usr/lib/python2.7/dist-packages/deluge/core/daemon.py", line 161, in __init__
    component.start("PreferencesManager")
  File "/usr/lib/python2.7/dist-packages/deluge/component.py", line 296, in start
    deferreds.append(self.components[name]._component_start())
  File "/usr/lib/python2.7/dist-packages/deluge/component.py", line 124, in _component_start
    d = maybeDeferred(self.start)
--- <exception caught here> ---
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 139, in maybeDeferred
    result = f(*args, **kw)
  File "/usr/lib/python2.7/dist-packages/deluge/core/preferencesmanager.py", line 160, in start
    self._on_set_listen_ports)
  File "/usr/lib/python2.7/dist-packages/deluge/config.py", line 312, in register_set_function
    function(key, self.__config[key])
  File "/usr/lib/python2.7/dist-packages/deluge/core/preferencesmanager.py", line 254, in _on_set_listen_ports
    self.session.listen_on(value[0], value[1], str(self.config["listen_interface"]).strip())
exceptions.RuntimeError: Address family not supported by protocol
[ERROR   ] 16:32:15 component:118 [Failure instance: Traceback: <type 'exceptions.RuntimeError'>: Address family not supported by protocol
/usr/lib/python2.7/dist-packages/deluge/main.py:230:start_daemon
/usr/lib/python2.7/dist-packages/deluge/core/daemon.py:169:__init__
/usr/lib/python2.7/dist-packages/deluge/component.py:296:start
/usr/lib/python2.7/dist-packages/deluge/component.py:124:_component_start
--- <exception caught here> ---
/usr/lib/python2.7/dist-packages/twisted/internet/defer.py:139:maybeDeferred
/usr/lib/python2.7/dist-packages/deluge/core/preferencesmanager.py:160:start
/usr/lib/python2.7/dist-packages/deluge/config.py:312:register_set_function
/usr/lib/python2.7/dist-packages/deluge/core/preferencesmanager.py:254:_on_set_listen_ports
can anyone tell me what would cause this error or how to fix it?

Thank you!
Cas
Top Bloke
Top Bloke
Posts: 3679
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Deluge Python Error RPI2

Post by Cas »

Please remember: http://dev.deluge-torrent.org/wiki/Cont ... nformation

However this is likely your issue: https://github.com/arvidn/libtorrent/issues/137 and fixed in libtorrent 1.0.7
bookedirl
Member
Member
Posts: 17
Joined: Mon Nov 16, 2015 3:50 am

Re: Deluge Python Error RPI2

Post by bookedirl »

Here are my versions:

Code: Select all

deluged: 1.3.10
libtorrent: 0.16.18.0
I have 0.16.18 how do I update to 1.07 of libtorrent? or apply the fix from git?
Cas
Top Bloke
Top Bloke
Posts: 3679
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Deluge Python Error RPI2

Post by Cas »

http://dev.deluge-torrent.org/wiki/Building/libtorrent

It will take many hours to build on an Rpi
Post Reply