I have tried exactly what the documentation shows for adding
reminder.
http://code.google.com/apis/calendar/developers_guide_python.html#Reminders
This is not working, it doesn't update the events with the reminders.
Is this a known bug, can anyone please help???

On Apr 24, 4:30 pm, mez <[EMAIL PROTECTED]> wrote:
> Hello,
>
> recently I've been trying to a reminder to an event. The call works
> and I get no errors, but when I
> check the event, I noticed the reminder was not added, but the event
> was created correctly? I also tried adding reminders to events that
> were already created. Still same result. I am using python client
> library v 1.0.11 and the following is the code I am running to test:
>
> NOTE: i only included the important code.
>
>                 remind = gdata.calendar.Reminder()
>                 remind.minutes='10'
>                 remind.method='email'
>                 for a_when in an_event.when:
>                         if len(a_when.reminder) > 0:
>                                 a_when.reminder[0] = remind
>                         else:
>                                 a_when.reminder.append(remind)
>                 event = 
> calendar_service.UpdateEvent(an_event.GetEditLink().href,
> an_event)
>                 print remind
>                 print event.when[0].reminder
>
> ------------------------
>
> When I print reminder object 'remind' I get the following output:
>
> <ns0:reminder minutes="10" xmlns:ns0="http://schemas.google.com/g/
> 2005" />
>
> Notice the method attribute is not present in the xml statement?? Is
> this a know bug? Maybe something
> I am missing? Any help would be great!
>
> Thanks, Mez
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Calendar Data API" group.
To post to this group, send email to 
[email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-calendar-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to