hi,
I am srikanth. Just I tried to update an event from My
Own Calendars using python.
Here is my code :
feed = self.cal_client.GetOwnCalendarsFeed()
print '\nEvents on Primary Calendar: %s \n' % (feed.title.text,)
for i, an_event in zip(xrange(len(feed.entry)), feed.entry):
print '\n\t%s. %s \n' % (i, an_event.title.text,)
for p, a_participant in zip(xrange(len(an_event.who)),
an_event.who):
print '\t\t%s. %s' % (p, a_participant.email,)
print '\t\t\t%s' % (a_participant.name,)
Calendars are Retriving and but the events regarding to the calendars
are not retrived and
showing an Errors are follows:
Traceback (most recent call last):
File "C:\Python25\gdata.py-1.1.1\samples\calendar
\Retieve_bothEvents.py", line
105, in <module>
main()
File "C:\Python25\gdata.py-1.1.1\samples\calendar
\Retieve_bothEvents.py", line
102, in main
sample.Run(delete)
File "C:\Python25\gdata.py-1.1.1\samples\calendar
\Retieve_bothEvents.py", line
67, in Run
self._PrintAllEventsOnDefaultCalendar()
File "C:\Python25\gdata.py-1.1.1\samples\calendar
\Retieve_bothEvents.py", line
51, in _PrintAllEventsOnDefaultCalendar
for p, a_participant in zip(xrange(len(an_event.who)),
an_event.who):
AttributeError: 'CalendarListEntry' object has no attribute 'who'
Can u help regarding this problem
thanks and Regards,
Srikanth M
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---