[fprint] fprintd in python
Mahendra
mahendrakariya at yahoo.co.in
Sat May 29 15:49:45 BST 2010
Thanks Bastien.
I tried the following code:
import dbus
bus=dbus.SystemBus()
object=bus.get_objeect('net.reactivated.Fprint.Manager','/')
I am getting this error.
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.6/dist-packages/dbus/bus.py", line 244, in get_object
follow_name_owner_changes=follow_name_owner_changes)
File "/usr/lib/python2.6/dist-packages/dbus/proxies.py", line 241, in __init__
self._named_service = conn.activate_name_owner(bus_name)
File "/usr/lib/python2.6/dist-packages/dbus/bus.py", line 183, in activate_name_owner
self.start_service_by_name(bus_name)
File "/usr/lib/python2.6/dist-packages/dbus/bus.py", line 281, in start_service_by_name
'su', (bus_name, flags)))
File "/usr/lib/python2.6/dist-packages/dbus/connection.py", line 630, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name net.reactivated.Fprint.Manager was not provided by any .service files
Any hint how to solve this error.
I know this is a silly error but I am a beginner.
Regards,
Mahendra Kariya
________________________________
From: Bastien Nocera <hadess at hadess.net>
To: Mahendra <mahendrakariya at yahoo.co.in>
Cc: fprint at reactivated.net
Sent: Sat, 29 May, 2010 6:01:22 PM
Subject: Re: [fprint] fprintd in python
On Sat, 2010-05-29 at 16:29 +0530, Mahendra wrote:
> I want to access fprintd daemon in Python. Any resources?
You would be using the D-Bus API, through Python's dbus libraries. The
API is documented here:
http://people.fedoraproject.org/~hadess/fprintd/docs/
Cheers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.reactivated.net/pipermail/fprint/attachments/20100529/519f3a13/attachment.html
More information about the fprint
mailing list