Exception error on headless raspbian
Posted: Tue Jun 19, 2018 2:50 am
I'm not really even sure how to search for what's going wrong, so forgive me if I'm missing something basic. Basically, daemon says its running, but
thin client can't connect and daemon doesn't do anything and deluged gives an error.
Sticky says to list what I'm running:
I've had a perfectly usable deluge installation on a rpi 3 for at least a year. I was editing some shares and cleaning up directories a couple weeks ago, and decided to update and upgrade. Still on jessie, so not sure that's screwed me up.
Last night I went to add a few torrents, and they were not popping up on the thin client. I checked the torrents auto-add folder through Putty, and it hadn't picked them up.
Last time I installed I followed the basic install instructions here:
https://www.howtogeek.com/142044/how-to ... rrent-box/
When I reboot,
says deluged is running.
When I killall or pkill deluged, and run deluged again, I get:
thin client can't connect and daemon doesn't do anything and deluged gives an error.
Sticky says to list what I'm running:
Code: Select all
deluged -v
deluged: 1.3.10
libtorrent: 0.16.18.0
Last night I went to add a few torrents, and they were not popping up on the thin client. I checked the torrents auto-add folder through Putty, and it hadn't picked them up.
Last time I installed I followed the basic install instructions here:
https://www.howtogeek.com/142044/how-to ... rrent-box/
When I reboot,
Code: Select all
top
When I killall or pkill deluged, and run deluged again, I get:
Code: Select all
pi@threesberrypi:~ $ deluged
pi@threesberrypi:~ $ [ERROR ] 21:44:29 component:118 [Failure instance: Traceback: <type 'exceptions.KeyError'>: -1
/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:177:start
/usr/lib/python2.7/dist-packages/deluge/config.py:312:register_set_function
/usr/lib/python2.7/dist-packages/deluge/core/preferencesmanager.py:353:_on_set_encryption
]
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 177, in start
self._on_set_encryption)
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 353, in _on_set_encryption
pe_settings.allowed_enc_level = lt.enc_level(pe_enc_level[self.config["enc_level"]])
exceptions.KeyError: -1
[ERROR ] 21:44:29 component:118 [Failure instance: Traceback: <type 'exceptions.KeyError'>: -1
/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:177:start
/usr/lib/python2.7/dist-packages/deluge/config.py:312:register_set_function
/usr/lib/python2.7/dist-packages/deluge/core/preferencesmanager.py:353:_on_set_encryption
]