-
clark
*** SOLVED ***
I uninstalled / reinstalled Pythonista.
This time I got the prompt to authorize access to Contacts.Sometimes I wonder about myself :-/
Thanks for the help.
-
clark
I dbl-checked that. Pythonista has access to Contacts & iCloud.
Is there a way to get the error code, other than just a False return from the Contacts.save() ?
-
clark
Thanks for the response.
I’m baffled.
I waited a while. I waited overnight. I went to iCloud on my laptop and checked there.
Also, I’m unable to do a simple edit on an existing Person.
There’s something fundamentally wrong on my end.
-
clark
All of the examples I can find online make it look easy, but I can’t get it to work. ‘save()’ always returns false.
What am I doing wrong?
import contacts print(("Authorized:", contacts.is_authorized())) p = contacts.Person() p.first_name = "Johnny" p.last_name = "Ray" print(("add_person:", contacts.add_person(p))) print(("save:", contacts.save()))```