Hi Michel,

Can you share with us the output that you got when executing the
attached script:
 ./getrawcalendarfeed.py youremail yourpassword
https://www.google.com/calendar/feeds/default/private/full

Thanks in advance.

On Wed, May 4, 2011 at 2:50 PM, Michael <[email protected]> wrote:
> Hi guys,
> I use python gdata version 2.0.14
> I try to get the uid value as usualy but have the None
> When I use 2.0.13 version I dont have such problem
> May you explain what is going on?
>
> here is example
> I create in my calendar one recurrence event and make one exdate from
> this
> event
> then I get this event and print XML response
> in response i can see uid but when I try to get UID field Ihave None
>
> Try on several accounts
>
> #coding utf-8
> from gdata.calendar.client import CalendarClient, CalendarEventQuery
> import atom
> cal_client = CalendarClient()
> cal_client.client_login(email = "XXXXXXX", password = "XXXXXXX" ,
> source =
> "Nimble-v1")
> uri = "https://www.google.com/calendar/feeds/default/private/full";
> query = CalendarEventQuery(max_results = 2)
> result = cal_client.GetCalendarEventFeed(uri, q = query)
> for event in result.entry:
>    print event
> for event in result.entry:
>    print event.uid
> OUTPUT
> <ns0:entry xmlns:ns0="http://www.w3.org/2005/Atom"; xmlns:ns1="
> http://schemas.google.com/g/2005"; xmlns:ns2="http://www.w3.org/2007/
> app"
> xmlns:ns3="http://schemas.google.com/gCal/2005";
> ns1:etag="&quot;GEUCQQRGeSp7JGA6WhJQ&quot;"
> ns1:kind="calendar#event"><ns0:category scheme="
> http://schemas.google.com/g/2005#kind"; term="
> http://schemas.google.com/g/2005#event"; /><ns0:id>
> http://www.google.com/calendar/feeds/default/events/jrjqrod2blpjbu91j...</ns0:id><ns1:originalEvent
> href="
> http://www.google.com/calendar/feeds/default/private/full/jrjqrod2blp...";
> id="jrjqrod2blpjbu91j0f95tieps"><ns1:when
> startTime="2011-04-20T09:00:00.000+03:00"
> /></ns1:originalEvent><ns0:updated>2011-04-19T08:47:57.000Z</
> ns0:updated><n s0:published>2011-04-19T08:47:51.000Z</
> ns0:published><ns1:visibility
> value="http://schemas.google.com/g/2005#event.default"; /
>><ns1:transparency
> value="http://schemas.google.com/g/2005#event.opaque"; /><ns0:content
> /><ns1:who email="[email protected]" rel="
> http://schemas.google.com/g/2005#event.organizer"; valueString="
> [email protected]" /><ns0:title>rec
> event</ns0:title><ns0:author><ns0:name>Michel Girnyak</
> ns0:name><ns0:email>
> [email protected]</ns0:email></ns0:author><ns0:link href="
> https://www.google.com/calendar/event?eid=anJqcXJvZDJibHBqYnU5MWowZjk...";
> rel="alternate" title="alternate" type="text/html" /><ns0:link href="
> https://www.google.com/calendar/feeds/default/private/full/jrjqrod2bl...";
> rel="self" type="application/atom+xml" /><ns0:link href="
> https://www.google.com/calendar/feeds/default/private/full/jrjqrod2bl...";
> rel="edit" type="application/atom+xml" /><ns1:comments><ns1:feedLink
> href="
> https://www.google.com/calendar/feeds/default/private/full/jrjqrod2bl...";
> /></ns1:comments><ns1:when endTime="2011-04-20T14:00:00.000+03:00"
> startTime="2011-04-20T09:00:00.000+03:00"><ns1:reminder
> method="email"
> minutes="10" /><ns1:reminder method="alert" minutes="10"
> /></ns1:when><ns1:eventStatus value="
> http://schemas.google.com/g/2005#event.confirmed"; /><ns1:where
> /><ns2:edited>2011-04-19T08:47:57.000Z</
> ns2:edited><ns3:anyoneCanAddSelf
> value="false" /><ns3:guestsCanInviteOthers value="true"
> /><ns3:guestsCanModify value="false" /><ns3:guestsCanSeeGuests
> value="true"
> /><ns3:sequence value="0" /><ns3:uid value="
> [email protected]" /></ns0:entry>
> <ns0:entry xmlns:ns0="http://www.w3.org/2005/Atom"; xmlns:ns1="
> http://schemas.google.com/g/2005"; xmlns:ns2="http://www.w3.org/2007/
> app"
> xmlns:ns3="http://schemas.google.com/gCal/2005";
> ns1:etag="&quot;GEUCQQRGfyp7JGA6WhJQ&quot;"
> ns1:kind="calendar#event"><ns0:category scheme="
> http://schemas.google.com/g/2005#kind"; term="
> http://schemas.google.com/g/2005#event"; /><ns0:id>
> http://www.google.com/calendar/feeds/default/events/jrjqrod2blpjbu91j...</ns0:id><ns0:updated>2011-04-19T08:47:51.000Z</ns0:updated><ns0:published>
> 2011-04-19T08:47:51.000Z</ns0:published><ns1:visibility
> value="http://schemas.google.com/g/2005#event.default"; /
>><ns1:transparency
> value="http://schemas.google.com/g/2005#event.opaque"; /><ns0:content
> /><ns1:who email="[email protected]" rel="
> http://schemas.google.com/g/2005#event.organizer"; valueString="
> [email protected]" /><ns0:title>rec
> event</ns0:title><ns0:author><ns0:name>Michel Girnyak</
> ns0:name><ns0:email>
> [email protected]</ns0:email></ns0:author><ns0:link href="
> https://www.google.com/calendar/event?eid=anJqcXJvZDJibHBqYnU5MWowZjk...";
> rel="alternate" title="alternate" type="text/html" /><ns0:link href="
> https://www.google.com/calendar/feeds/default/private/full/jrjqrod2bl...";
> rel="self" type="application/atom+xml" /><ns0:link href="
> https://www.google.com/calendar/feeds/default/private/full/jrjqrod2bl...";
> rel="edit" type="application/atom+xml" /><ns1:eventStatus value="
> http://schemas.google.com/g/2005#event.confirmed"; /><ns1:where
> /><ns1:recurrence>DTSTART;TZID=Europe/Kiev:20110417T090000
> DTEND;TZID=Europe/Kiev:20110417T113000
> RRULE:FREQ=DAILY
> BEGIN:VTIMEZONE
> TZID:Europe/Kiev
> X-LIC-LOCATION:Europe/Kiev
> BEGIN:DAYLIGHT
> TZOFFSETFROM:+0200
> TZOFFSETTO:+0300
> TZNAME:EEST
> DTSTART:19700329T030000
> RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU
> END:DAYLIGHT
> BEGIN:STANDARD
> TZOFFSETFROM:+0300
> TZOFFSETTO:+0200
> TZNAME:EET
> DTSTART:19701025T040000
> RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU
> END:STANDARD
> END:VTIMEZONE
> </ns1:recurrence><ns1:reminder method="email" minutes="10" /
>><ns1:reminder
> method="alert" minutes="10"
> /><ns2:edited>2011-04-19T08:47:51.000Z</
> ns2:edited><ns3:anyoneCanAddSelf
> value="false" /><ns3:guestsCanInviteOthers value="true"
> /><ns3:guestsCanModify value="false" /><ns3:guestsCanSeeGuests
> value="true"
> /><ns3:sequence value="0" /><ns3:uid value="
> [email protected]" /></ns0:entry>
> None
> None
>
> --
> 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://code.google.com/apis/calendar/community/forum.html
>



-- 
Johan Euphrosine (proppy)
Developer Programs Engineer
Google Developer Relations

-- 
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://code.google.com/apis/calendar/community/forum.html

Reply via email to