https://bugzilla.novell.com/show_bug.cgi?id=371579
User thoenig@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=371579#c12
Timo Hoenig changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |thoenig@novell.com
Status|NEEDINFO |NEW
Info Provider|thoenig@novell.com |
--- Comment #12 from Timo Hoenig 2008-03-25 03:09:42 MST ---
(sorry for the lag, I just returned from vacation)
First off, Doug, thank you for the script. It made debugging much easier.
Now, seriously, I have no idea why virt-manager has worked before, but the code
is buggy.
You may not call a method on D-Bus object without having an interface for it.
Wrong:
device_interface = bus_system.get_object('org.freedesktop.Hal', device_path)
device_interface.SomeMethod()
Correct:
device_object = bus_system.get_object('org.freedesktop.Hal', device_path)
device_interface = dbus.Interface(device_object, "org.freedesktop.Hal.Device");
device_interface.SomeMethod()
I'll attach a fixed version of bug-371579_halcheck.py
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.