I updated to Deluge 0.5.7.1 and enabled the WebUi plugin to see what it was. After clicking on the preferences button under WebUi deluge crashed. I restarted it several times and it crashed with the same msg:
Code: Select all
$ deluge
no existing Deluge session
Starting new Deluge session...
deluge_core; using libtorrent 0.13.0.0. Compiled with NDEBUG.
Applying preferences
Pickling state...
Scanning plugin dir /usr/share/deluge/plugins
Initialising plugin WebUi
Initialising plugin TorrentFiles
Initialising plugin DesiredRatio
Initialising plugin NetworkHealth
Initialising plugin TorrentSearch
Initialising plugin TorrentNotification
Initialising plugin WebSeed
Initialising plugin NetworkGraph
Initialising plugin SpeedLimiter
Initialising plugin ExtraStats
Initialising plugin TorrentCreator
Initialising plugin Scheduler
Initialising plugin EventLogging
Initialising plugin BlocklistImport
Initialising plugin TorrentPeers
Initialising plugin MoveTorrent
Initialising plugin FlexRSS
Applying preferences
Starting DHT...
Start Webui(in process)..
Loading TorrentFiles plugin...
Loading TorrentPeers plugin...
Loading Move Torrent plugin...
python: Objects/stringobject.c:105: PyString_FromString: Assertion `str != ((void *)0)' failed.
Traceback (most recent call last):
File "/usr/share/deluge/plugins/WebUi/run_webserver", line 2, in ?
import deluge_webserver
File "/usr/share/deluge/plugins/WebUi/deluge_webserver.py", line 302, in ?
class config:
File "/usr/share/deluge/plugins/WebUi/deluge_webserver.py", line 309, in config
post='%s Kib/sec' % ws.proxy.get_config_value('max_download_speed')
File "/usr/lib64/python2.4/site-packages/dbus/proxies.py", line 25, in __call__
ret = self._proxy_method (*args, **keywords)
File "/usr/lib64/python2.4/site-packages/dbus/proxies.py", line 102, in __call__
reply_message = self._connection.send_with_reply_and_block(message, timeout)
File "dbus_bindings.pyx", line 455, in dbus_bindings.Connection.send_with_reply_and_block
dbus_bindings.DBusException: Message did not receive a reply (timeout by message bus)
I wanted to disable this plugin and deleted the webui.conf file in ~/.config/deluge/ but it didn't work. Then I had no other choice but to edit the __init__.py script in /usr/share/deluge/plugins/WebUi to do nothing (I backed it up and then left __init__.py empty). Now deluge (at least) starts and works .
How can I disable plugins from the console without having to start the deluge itself in cases like this? Any idea what can be done with the crashing of the WebUi?