I have given 1.1 a go on Ubuntu Server 13.04 and you need to install the python-dbus package otherwise you'll get the following error:
Code: Select all
[ERROR ] 18:09:53 pluginmanagerbase:146 Unable to instantiate plugin!
[ERROR ] 18:09:53 pluginmanagerbase:147 No module named dbus
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/deluge/pluginmanagerbase.py", line 144, in enable_plugin
instance = cls(plugin_name.replace("-", "_"))
File "build/bdist.linux-x86_64/egg/autoshutdown/__init__.py", line 44, in __init__
from core import Core as _plugin_cls
File "build/bdist.linux-x86_64/egg/autoshutdown/core.py", line 58, in <module>
ImportError: No module named dbus
The next problem is dbus related, but I have next to no knowledge on it. It seems somewhat related to the fact that I'm running it headless.
Code: Select all
[ERROR ] 18:15:33 init:51 org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/deluge/plugins/init.py", line 48, in enable
self.plugin.enable()
File "build/bdist.linux-x86_64/egg/autoshutdown/core.py", line 91, in enable
bus = dbus.Bus(dbus.Bus.TYPE_SESSION)
File "/usr/lib/python2.7/dist-packages/dbus/_dbus.py", line 100, in __new__
bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 122, in __new__
bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
DBusException: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
It looks like it should be using 'org.freedesktop.UPower' and it's probably worth logging out original underlying exception to rule out for sanity sake.
I have tried installing dbus-x11, and running the following:
Code: Select all
monkey@media-server:~/.config$ dbus-launch --sh-syntax
DBUS_SESSION_BUS_ADDRESS='unix:abstract=/tmp/dbus-QYf8bEnb6J,guid=d4f011ea42e72139a631088e51f7fb66';
export DBUS_SESSION_BUS_ADDRESS;
DBUS_SESSION_BUS_PID=2372;
monkey@media-server:~/.config$ dbus-monitor
Failed to open connection to session bus: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
monkey@media-server:~/.config$ export DISPLAY=:0
monkey@media-server:~/.config$ dbus-monitor
Failed to open connection to session bus: //bin/dbus-launch terminated abnormally with the following error: Autolaunch error: X11 initialization failed.