deluge-web refuses to start

General support for problems installing or using Deluge
Post Reply
armandg

deluge-web refuses to start

Post by armandg »

Hi guys!

Following this guide, I just installed deluge-web but it refuses to start when I run it after installation.

Facts:
OS: Raspbian Wheezy, kernel v3.6.11
Deluged version 1.3.6
libtorrent version 0.15.10.0

Debug-log:

Code: Select all

[INFO    ] 19:51:55 ui:121 Deluge ui 1.3.6
[DEBUG   ] 19:51:55 ui:122 options: {'fork': False, 'profile': False, 'loglevel': 'debug', 'quiet': False, 'ssl': False, 'base': None, 'logfile': None, 'config': None, 'port': None}
[DEBUG   ] 19:51:55 ui:123 args: []
[INFO    ] 19:51:55 ui:124 Starting web ui..
[DEBUG   ] 19:52:20 configmanager:111 Getting config 'web.conf'
[DEBUG   ] 19:52:20 config:197 Setting 'sidebar_show_zero' to False of <type 'bool'>
[DEBUG   ] 19:52:20 config:197 Setting 'show_session_speed' to False of <type 'bool'>
[DEBUG   ] 19:52:20 config:197 Setting 'first_login' to True of <type 'bool'>
[DEBUG   ] 19:52:20 config:197 Setting 'https' to False of <type 'bool'>
[DEBUG   ] 19:52:20 config:197 Setting 'sessions' to {} of <type 'dict'>
[DEBUG   ] 19:52:20 config:197 Setting 'enabled_plugins' to [] of <type 'list'>
[DEBUG   ] 19:52:20 config:197 Setting 'pwd_sha1' to 2ce1a410bcdcc53064129b6d950f2e9fee4edc1e of <type 'str'>
[DEBUG   ] 19:52:20 config:197 Setting 'cert' to ssl/daemon.cert of <type 'str'>
[DEBUG   ] 19:52:20 config:197 Setting 'pkey' to ssl/daemon.pkey of <type 'str'>
[DEBUG   ] 19:52:20 config:197 Setting 'port' to 8112 of <type 'int'>
[DEBUG   ] 19:52:20 config:197 Setting 'theme' to gray of <type 'str'>
[DEBUG   ] 19:52:20 config:197 Setting 'session_timeout' to 3600 of <type 'int'>
[DEBUG   ] 19:52:20 config:197 Setting 'show_sidebar' to True of <type 'bool'>
[DEBUG   ] 19:52:20 config:197 Setting 'default_daemon' to  of <type 'str'>
[DEBUG   ] 19:52:20 config:197 Setting 'sidebar_multiple_filters' to True of <type 'bool'>
[DEBUG   ] 19:52:20 config:197 Setting 'pwd_salt' to c26ab3bbd8b137f99cd83c2c1c0963bcc1a35cad of <type 'str'>
[DEBUG   ] 19:52:20 config:197 Setting 'base' to / of <type 'str'>
[DEBUG   ] 19:52:20 config:391 Config /home/[user]/.config/deluge/web.conf version: 1.1 loaded: {'port': 8080, 'enabled_plugins': [], 'pwd_sha1': u'2ce1a410bcdcc53064129b6d950f2e9fee4edc1e', 'theme': u'gray', 'show_sidebar': True, 'sidebar_show_zero': False, 'pkey': u'ssl/daemon.pkey', 'https': False, 'sessions': {}, 'base': u'/', 'pwd_salt': u'c26ab3bbd8b137f99cd83c2c1c0963bcc1a35cad', 'show_session_speed': False, 'first_login': True, 'cert': u'ssl/daemon.cert', 'session_timeout': 3600, 'default_daemon': u'', 'sidebar_multiple_filters': True}
[DEBUG   ] 19:52:20 server:253 Adding directory `/usr/lib/python2.7/dist-packages/deluge/ui/web/css` with path ``
[DEBUG   ] 19:52:20 server:253 Adding directory `/usr/lib/python2.7/dist-packages/deluge/ui/web/icons` with path ``
[DEBUG   ] 19:52:20 server:253 Adding directory `/usr/lib/python2.7/dist-packages/deluge/ui/web/images` with path ``
[DEBUG   ] 19:52:21 json_api:315 Registering method: web.add_host
[DEBUG   ] 19:52:21 json_api:315 Registering method: web.add_torrents
[DEBUG   ] 19:52:21 json_api:315 Registering method: web.connect
[DEBUG   ] 19:52:21 json_api:315 Registering method: web.connected
[DEBUG   ] 19:52:21 json_api:315 Registering method: web.deregister_event_listener
[DEBUG   ] 19:52:21 json_api:315 Registering method: web.disconnect
[DEBUG   ] 19:52:21 json_api:315 Registering method: web.download_torrent_from_url
[DEBUG   ] 19:52:21 json_api:315 Registering method: web.get_config
[DEBUG   ] 19:52:21 json_api:315 Registering method: web.get_events
[DEBUG   ] 19:52:21 json_api:315 Registering method: web.get_host_status
[DEBUG   ] 19:52:21 json_api:315 Registering method: web.get_hosts
[DEBUG   ] 19:52:21 json_api:315 Registering method: web.get_magnet_info
[DEBUG   ] 19:52:21 json_api:315 Registering method: web.get_plugin_info
[DEBUG   ] 19:52:21 json_api:315 Registering method: web.get_plugin_resources
[DEBUG   ] 19:52:21 json_api:315 Registering method: web.get_plugins
[DEBUG   ] 19:52:21 json_api:315 Registering method: web.get_torrent_files
[DEBUG   ] 19:52:21 json_api:315 Registering method: web.get_torrent_info
[DEBUG   ] 19:52:21 json_api:315 Registering method: web.get_torrent_status
[DEBUG   ] 19:52:21 json_api:315 Registering method: web.register_event_listener
[DEBUG   ] 19:52:21 json_api:315 Registering method: web.remove_host
[DEBUG   ] 19:52:21 json_api:315 Registering method: web.set_config
[DEBUG   ] 19:52:21 json_api:315 Registering method: web.start_daemon
[DEBUG   ] 19:52:21 json_api:315 Registering method: web.stop_daemon
[DEBUG   ] 19:52:21 json_api:315 Registering method: web.update_ui
[DEBUG   ] 19:52:21 json_api:315 Registering method: web.upload_plugin
[DEBUG   ] 19:52:21 configmanager:111 Getting config 'hostlist.conf.1.2'
[DEBUG   ] 19:52:21 config:197 Setting 'hosts' to [('e9789f30a6241b13260a528a801040601cf558b1', '127.0.0.1', 58846, '', '')] of <type 'list'>
[ERROR   ] 19:52:21 config:371 invalid load key, ' '.
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/deluge/config.py", line 369, in load
    self.__config.update(pickle.loads(data))
UnpicklingError: invalid load key, ' '.
[WARNING ] 19:52:21 config:372 Unable to load config file: /home/[user]/.config/deluge/hostlist.conf.1.2
[DEBUG   ] 19:52:21 config:391 Config /home/[user]/.config/deluge/hostlist.conf.1.2 version: 1.1 loaded: {'hosts': [('e9789f30a6241b13260a528a801040601cf558b1', '127.0.0.1', 58846, '', '')]}
[DEBUG   ] 19:52:21 coreconfig:43 CoreConfig init..
[DEBUG   ] 19:52:21 sessionproxy:55 SessionProxy init..
[DEBUG   ] 19:52:21 json_api:315 Registering method: auth.change_password
[DEBUG   ] 19:52:21 json_api:315 Registering method: auth.check_session
[DEBUG   ] 19:52:21 json_api:315 Registering method: auth.delete_session
[DEBUG   ] 19:52:21 json_api:315 Registering method: auth.login
[DEBUG   ] 19:52:21 configmanager:111 Getting config 'web.conf'
[DEBUG   ] 19:52:21 pluginmanagerbase:65 Plugin manager init..
[DEBUG   ] 19:52:21 configmanager:111 Getting config 'web.conf'
[DEBUG   ] 19:52:22 pluginmanagerbase:124 Found plugin: Extractor 0.2 at /usr/lib/python2.7/dist-packages/deluge/plugins/Extractor-0.2.egg
[DEBUG   ] 19:52:22 pluginmanagerbase:124 Found plugin: Execute 1.2 at /usr/lib/python2.7/dist-packages/deluge/plugins/Execute-1.2.egg
[DEBUG   ] 19:52:22 pluginmanagerbase:124 Found plugin: Blocklist 1.2 at /usr/lib/python2.7/dist-packages/deluge/plugins/Blocklist-1.2.egg
[DEBUG   ] 19:52:22 pluginmanagerbase:124 Found plugin: AutoAdd 1.04 at /usr/lib/python2.7/dist-packages/deluge/plugins/AutoAdd-1.04.egg
[DEBUG   ] 19:52:22 pluginmanagerbase:124 Found plugin: Label 0.2 at /usr/lib/python2.7/dist-packages/deluge/plugins/Label-0.2.egg
[DEBUG   ] 19:52:22 pluginmanagerbase:124 Found plugin: Notifications 0.1 at /usr/lib/python2.7/dist-packages/deluge/plugins/Notifications-0.1.egg
[DEBUG   ] 19:52:22 pluginmanagerbase:124 Found plugin: WebUi 0.1 at /usr/lib/python2.7/dist-packages/deluge/plugins/WebUi-0.1.egg
[DEBUG   ] 19:52:22 pluginmanagerbase:124 Found plugin: Scheduler 0.2 at /usr/lib/python2.7/dist-packages/deluge/plugins/Scheduler-0.2.egg
[INFO    ] 19:52:22 server:661 Starting server in PID 15840.
[INFO    ] 19:52:22 server:675 serving on 0.0.0.0:8080 view at http://127.0.0.1:8080
This seems to be a Python-issue, but I'm not too familiar with it to be sure.

Can anyone help me with this issue?

Many thanks in advance! :D
Post Reply