On Mon, Dec 8, 2008 at 9:07 PM, Bastien Nocera <[EMAIL PROTECTED]> wrote:
> On Mon, 2008-12-08 at 20:41 +0100, Linus Färnstrand wrote:
>> Hi.
>> I have installed libusb, libfprint & fprind all from git.
>> I run ubuntu Intrepid.
>>
>> Now I am trying to access the daemon from python using dbus.
>> But the code:
>>
>> import dbus
>> bus = dbus.SystemBus()
>> bus.get_object('net.reactivated.Fprint.Manager', '/')
>>
>> Gives me:
>> dbus.exceptions.DBusException:
>> org.freedesktop.DBus.Error.ServiceUnknown: The name
>> net.reactivated.Fprint.Manager was not provided by any .service files
>>
>> And there are no .service file for anything similar to fprintd in
>> /usr/share/dbus-1
>>
>> I have /usr/local/libexec/fprintd so the daemon seems to be there
>>
>> Where can I download this .service file? or how do I make dbus find the 
>> service?
>> what is the path to the exact objects/methods supplied by fprintd?
>
> The service file got installed in /usr/local/share/dbus-1, as you didn't
> set a prefix.
>
> Cheers
>
>

Yes. I found that out too, thanks anyway.
But now I get some other error from the same code:
dbus.exceptions.DBusException:
org.freedesktop.DBus.Error.Spawn.ChildSignaled: Process
/lib/dbus-1.0/dbus-daemon-launch-helper received signal 6


And If I run /usr/local/libexec/fprintd as myself or root I get:
Could not open fprintd.conf: No such file or directory
Launching FprintObject

** ERROR **: Failed to get name: Connection ":1.52" is not allowed to
own the service "net.reactivated.Fprint" due to security policies in
the configuration file
aborting...
Aborted


Do I really need to edit dbus files to allow this or what am I doing wrong?
And what object path should I enter to the get_object call?
_______________________________________________
fprint mailing list
[email protected]
http://lists.reactivated.net/mailman/listinfo/fprint

Reply via email to