#7910 HIGH 8.2.0 (: olpc-update should inhibit OHM suspend
Zarro Boogs per Child
bugtracker at laptop.org
Wed Aug 13 00:25:51 EDT 2008
#7910: olpc-update should inhibit OHM suspend
----------------------------+-----------------------------------------------
Reporter: cjb | Owner: cscott
Type: defect | Status: new
Priority: high | Milestone: 8.2.0 (was Update.2)
Component: not assigned | Version: not specified
Resolution: | Keywords:
Next_action: code | Verified: 0
Blockedby: | Blocking:
----------------------------+-----------------------------------------------
Comment(by cscott):
The fix is http://dev.laptop.org/git?p=users/cscott/olpc-
update;a=commitdiff;h=68ecf1fdbc39e5662e409ce90ec195613771299c
{{{
- keystore = bus.get_object('org.freedesktop.ohm',
- '/org/freedesktop/ohm/Keystore',
- 'org.freedesktop.ohm.Keystore')
+ proxy = bus.get_object('org.freedesktop.ohm',
+ '/org/freedesktop/ohm/Keystore')
+ keystore = dbus.Interface(proxy, 'org.freedesktop.ohm.Keystore')
}}}
I don't completely understand this, but it seems to have something to do
with root being able to call methods on an unbound interface, while olpc
can't. (The third argument to bus.get_object seems to be ignored, so pre-
patch you get a proxy for the object, but it's not bound to the correct
interface.)
--
Ticket URL: <http://dev.laptop.org/ticket/7910#comment:5>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system
More information about the Bugs
mailing list