py-iMessage icon indicating copy to clipboard operation
py-iMessage copied to clipboard

getting response status and dictionary items throws an error

Open nathanmarzzz opened this issue 5 years ago • 0 comments

code is:

try: guid = imessage.send(testing_phone, message_to_Send)

    sleep(5)
    resp = imessage.status(guid)
    print('status of message is: ', resp)
    sleep(5)
    print('Message was delivered at:', resp.get("date_delivered")

except Exception as e:
    print('ERROR: ', str(e))

Error message is: "ERROR: unable to open database file"

Has this happened to anyone else or am I doing something wrong? Any help would be appreciated :)

nathanmarzzz avatar Aug 22 '20 21:08 nathanmarzzz