* Wilbert Berendsen [Fri, 31 Oct 2008 19:29:24 +0100]:
> class App(dbus.service.Object):
> def __init__(self):
> bus_name = dbus.service.BusName("org.myapp-%s" % os.getpid() ,
> bus=dbus.SessionBus())
> dbus.service.Object.__init__(self, bus_name, "/MyApp")
> @dbus.service.method("HelloInterface", in_signature='', out_signature='')
> def sayHello(self):
> print "Hello!"
That code fails on me with:
ValueError: Invalid interface or error name 'HelloInterface': must contain '.'
--
Adeodato Simó dato at net.com.org.es
Debian Developer adeodato at debian.org
When all is summed up, a man never speaks of himself without loss; his
accusations of himself are always believed; his praises never.
-- Michel de Montaigne
_______________________________________________
PyQt mailing list [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt