Re: [Evolution-hackers] Accessing EDS in Python

2011-07-29 Thread Raul Gutierrez Segales
Hi, On Thu, 2011-07-28 at 21:45 +0200, David Klasinc wrote: On Thu, 2011-07-28 at 13:33 +0100, Raul Gutierrez Segales wrote: Also, as pointed out by Milan on irc, your code is missing a call to open_sync(). Yeah, that was left out while copy/pasting. Though you might consider making

Re: [Evolution-hackers] Accessing EDS in Python

2011-07-28 Thread Raul Gutierrez Segales
On Sun, 2011-07-24 at 21:42 +0200, David Klasinc wrote: Greetings, I am trying to do a simple search in the address book, this is the code that refuses to work: #!/usr/bin/python from gi.repository import EBook contacts = [] # Initialize client and open it client =

Re: [Evolution-hackers] Accessing EDS in Python

2011-07-28 Thread David Klasinc
On Thu, 2011-07-28 at 13:33 +0100, Raul Gutierrez Segales wrote: Also, as pointed out by Milan on irc, your code is missing a call to open_sync(). Yeah, that was left out while copy/pasting. Though you might consider making everything async. I'll think about this when I have the basics going