#6918 NORM Never A: Small tool listing buddies
Zarro Boogs per Child
bugtracker at laptop.org
Wed Apr 23 07:54:46 EDT 2008
#6918: Small tool listing buddies
-------------------------------+--------------------------------------------
Reporter: gdesmott | Owner: Collabora
Type: task | Status: new
Priority: normal | Milestone: Never Assigned
Component: presence-service | Version:
Resolution: | Keywords:
Verified: 0 | Blocking:
Blockedby: |
-------------------------------+--------------------------------------------
Comment(by bert):
Actually, when I had the same problem it was pointed out that session.info
was deprecated. Better use "unix:path=/tmp/olpc-session-bus" directly.
Here's a snippet from my script:
{{{
"""Connect to running Sugar session"""
os.environ["DBUS_SESSION_BUS_ADDRESS"] = "unix:path=/tmp/olpc-session-bus"
import dbus, dbus.mainloop
dbus.set_default_main_loop(dbus.mainloop.NULL_MAIN_LOOP)
}}}
--
Ticket URL: <http://dev.laptop.org/ticket/6918#comment:3>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system
More information about the Bugs
mailing list