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 Fri, Apr 29, 2011 at 4:18 PM, Michel Girnyak <[email protected]> wrote:
> I'm try on other accounts same problems =(
>
> On Thu, Apr 28, 2011 at 7:49 PM, Johan Euphrosine <[email protected]> wrote:
>>
>> Hi,
>>
>> Sorry for the late answer,
>>
>> I suggest that you run your test case against another gmail account to
>> see if this issue is local to [email protected] and report back
>> here.
>>
>> Thanks in advance.
>>
>> On Thu, Apr 21, 2011 at 10:54 AM, Michel Girnyak <[email protected]>
>> wrote:
>> > my account is [email protected]
>> > On Thu, Apr 21, 2011 at 11:49 AM, Johan Euphrosine <[email protected]>
>> > wrote:
>> >>
>> >> If I use your testcase on my domain I get the following output (notice
>> >> there is no None at the end), can you share with us on which
>> >> domain/account you are having this issue ?
>> >>
>> >> Thanks in advance.
>> >>
>> >> <ns0:entry ns1:etag="&quot;GEUKQwREeyp7JGA6WhJQ&quot;"
>> >> ns1:kind="calendar#event" xmlns:ns0="http://www.w3.org/2005/Atom";
>> >> xmlns:ns1="http://schemas.google.com/g/2005";><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/4inh5m3i1o0tnantj8p5k42tho</ns0:id><ns2:sequence
>> >> value="1" xmlns:ns2="http://schemas.google.com/gCal/2005";
>> >>
>> >>
>> >> /><ns0:updated>2011-04-18T10:00:55.000Z</ns0:updated><ns0:published>2011-04-18T10:00:40.000Z</ns0:published><ns2:guestsCanModify
>> >> value="false" xmlns:ns2="http://schemas.google.com/gCal/2005";
>> >> /><ns1:transparency
>> >> value="http://schemas.google.com/g/2005#event.opaque";
>> >> /><ns2:guestsCanInviteOthers value="true"
>> >> xmlns:ns2="http://schemas.google.com/gCal/2005"; /><ns1:where
>> >> /><ns2:uid value="[email protected]"
>> >> xmlns:ns2="http://schemas.google.com/gCal/2005";
>> >> /><ns2:anyoneCanAddSelf value="false"
>> >> xmlns:ns2="http://schemas.google.com/gCal/2005"; /><ns1:visibility
>> >> value="http://schemas.google.com/g/2005#event.default"; /><ns0:content
>> >> /><ns1:who email="[email protected]"
>> >> rel="http://schemas.google.com/g/2005#event.organizer";
>> >> valueString="Johan Euphrosine"><ns1:attendeeStatus
>> >> value="http://schemas.google.com/g/2005#event.accepted";
>> >> /></ns1:who><ns1:who email="[email protected]"
>> >> rel="http://schemas.google.com/g/2005#event.attendee";
>> >> valueString="vicGivenName vicFamilyName"><ns1:attendeeStatus
>> >> value="http://schemas.google.com/g/2005#event.invited";
>> >> /></ns1:who><ns2:guestsCanSeeGuests value="true"
>> >> xmlns:ns2="http://schemas.google.com/gCal/2005"; /><ns0:title>Meeting
>> >> three</ns0:title><ns0:author><ns0:name>Johan
>> >>
>> >>
>> >> Euphrosine</ns0:name><ns0:email>[email protected]</ns0:email></ns0:author><ns0:link
>> >>
>> >>
>> >> href="https://www.google.com/calendar/event?eid=NGluaDVtM2kxbzB0bmFudGo4cDVrNDJ0aG8gcHJvcHB5QGZ1a2lmdWtpLmNvbQ";
>> >> rel="alternate" title="alternate" type="text/html" /><ns0:link
>> >>
>> >>
>> >> href="https://www.google.com/calendar/feeds/default/private/full/4inh5m3i1o0tnantj8p5k42tho";
>> >> rel="self" type="application/atom+xml" /><ns0:link
>> >>
>> >>
>> >> href="https://www.google.com/calendar/feeds/default/private/full/4inh5m3i1o0tnantj8p5k42tho";
>> >> rel="edit" type="application/atom+xml" /><ns1:comments><ns1:feedLink
>> >>
>> >>
>> >> href="https://www.google.com/calendar/feeds/default/private/full/4inh5m3i1o0tnantj8p5k42tho/comments";
>> >> /></ns1:comments><ns1:when endTime="2011-04-18T14:00:00.000Z"
>> >> startTime="2011-04-18T13:00:00.000Z"><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"; /><ns2:edited
>> >>
>> >>
>> >> xmlns:ns2="http://www.w3.org/2007/app";>2011-04-18T10:00:55.000Z</ns2:edited></ns0:entry>
>> >> <ns0:entry ns1:etag="&quot;GEUKQwRCfyp7JGA6WhJQ&quot;"
>> >> ns1:kind="calendar#event" xmlns:ns0="http://www.w3.org/2005/Atom";
>> >> xmlns:ns1="http://schemas.google.com/g/2005";><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/e1snrn6m4krlrlvgibs7k274mg</ns0:id><ns2:sequence
>> >> value="1" xmlns:ns2="http://schemas.google.com/gCal/2005";
>> >>
>> >>
>> >> /><ns0:updated>2011-04-18T10:00:31.000Z</ns0:updated><ns0:published>2011-04-18T10:00:14.000Z</ns0:published><ns2:guestsCanModify
>> >> value="false" xmlns:ns2="http://schemas.google.com/gCal/2005";
>> >> /><ns1:transparency
>> >> value="http://schemas.google.com/g/2005#event.opaque";
>> >> /><ns2:guestsCanInviteOthers value="true"
>> >> xmlns:ns2="http://schemas.google.com/gCal/2005"; /><ns1:where
>> >> /><ns2:uid value="[email protected]"
>> >> xmlns:ns2="http://schemas.google.com/gCal/2005";
>> >> /><ns2:anyoneCanAddSelf value="false"
>> >> xmlns:ns2="http://schemas.google.com/gCal/2005"; /><ns1:visibility
>> >> value="http://schemas.google.com/g/2005#event.default"; /><ns0:content
>> >> /><ns1:who email="[email protected]"
>> >> rel="http://schemas.google.com/g/2005#event.attendee";
>> >> valueString="claudioGivenName claudioFamilyName"><ns1:attendeeStatus
>> >> value="http://schemas.google.com/g/2005#event.invited";
>> >> /></ns1:who><ns1:who email="[email protected]"
>> >> rel="http://schemas.google.com/g/2005#event.organizer";
>> >> valueString="Johan Euphrosine"><ns1:attendeeStatus
>> >> value="http://schemas.google.com/g/2005#event.accepted";
>> >> /></ns1:who><ns2:guestsCanSeeGuests value="true"
>> >> xmlns:ns2="http://schemas.google.com/gCal/2005"; /><ns0:title>Meeting
>> >> two</ns0:title><ns0:author><ns0:name>Johan
>> >>
>> >>
>> >> Euphrosine</ns0:name><ns0:email>[email protected]</ns0:email></ns0:author><ns0:link
>> >>
>> >>
>> >> href="https://www.google.com/calendar/event?eid=ZTFzbnJuNm00a3Jscmx2Z2liczdrMjc0bWcgcHJvcHB5QGZ1a2lmdWtpLmNvbQ";
>> >> rel="alternate" title="alternate" type="text/html" /><ns0:link
>> >>
>> >>
>> >> href="https://www.google.com/calendar/feeds/default/private/full/e1snrn6m4krlrlvgibs7k274mg";
>> >> rel="self" type="application/atom+xml" /><ns0:link
>> >>
>> >>
>> >> href="https://www.google.com/calendar/feeds/default/private/full/e1snrn6m4krlrlvgibs7k274mg";
>> >> rel="edit" type="application/atom+xml" /><ns1:comments><ns1:feedLink
>> >>
>> >>
>> >> href="https://www.google.com/calendar/feeds/default/private/full/e1snrn6m4krlrlvgibs7k274mg/comments";
>> >> /></ns1:comments><ns1:when endTime="2011-04-18T12:00:00.000Z"
>> >> startTime="2011-04-18T11:00:00.000Z"><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"; /><ns2:edited
>> >>
>> >>
>> >> xmlns:ns2="http://www.w3.org/2007/app";>2011-04-18T10:00:31.000Z</ns2:edited></ns0:entry>
>> >> <ns0:uid value="[email protected]"
>> >> xmlns:ns0="http://schemas.google.com/gCal/2005"; />
>> >> <ns0:uid value="[email protected]"
>> >> xmlns:ns0="http://schemas.google.com/gCal/2005"; />
>> >>
>> >> On Tue, Apr 19, 2011 at 10:59 AM, Michel Girnyak
>> >> <[email protected]>
>> >> wrote:
>> >> > 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
>> >> > #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/jrjqrod2blpjbu91j0f95tieps_20110420T060000Z</ns0:id><ns1:originalEvent
>> >> >
>> >> >
>> >> > href="http://www.google.com/calendar/feeds/default/private/full/jrjqrod2blpjbu91j0f95tieps";
>> >> > 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><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=anJqcXJvZDJibHBqYnU5MWowZjk1dGllcHNfMjAxMTA0MjBUMDYwMDAwWiBsaWt2aWRhdG9yODlAbQ";
>> >> > rel="alternate" title="alternate" type="text/html" /><ns0:link
>> >> >
>> >> >
>> >> > href="https://www.google.com/calendar/feeds/default/private/full/jrjqrod2blpjbu91j0f95tieps_20110420T060000Z";
>> >> > rel="self" type="application/atom+xml" /><ns0:link
>> >> >
>> >> >
>> >> > href="https://www.google.com/calendar/feeds/default/private/full/jrjqrod2blpjbu91j0f95tieps_20110420T060000Z";
>> >> > rel="edit" type="application/atom+xml" /><ns1:comments><ns1:feedLink
>> >> >
>> >> >
>> >> > href="https://www.google.com/calendar/feeds/default/private/full/jrjqrod2blpjbu91j0f95tieps_20110420T060000Z/comments";
>> >> > /></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/jrjqrod2blpjbu91j0f95tieps</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=anJqcXJvZDJibHBqYnU5MWowZjk1dGllcHNfMjAxMTA0MTdUMDYwMDAwWiBsaWt2aWRhdG9yODlAbQ";
>> >> > rel="alternate" title="alternate" type="text/html" /><ns0:link
>> >> >
>> >> >
>> >> > href="https://www.google.com/calendar/feeds/default/private/full/jrjqrod2blpjbu91j0f95tieps";
>> >> > rel="self" type="application/atom+xml" /><ns0:link
>> >> >
>> >> >
>> >> > href="https://www.google.com/calendar/feeds/default/private/full/jrjqrod2blpjbu91j0f95tieps";
>> >> > 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
>> >> >
>> >> >
>> >> >
>> >> >
>> >> > On Mon, Apr 18, 2011 at 7:52 PM, Johan Euphrosine <[email protected]>
>> >> > wrote:
>> >> >>
>> >> >> Hi Michael,
>> >> >>
>> >> >> Can you provide us a step by step way (or a testcase), to reproduce
>> >> >> that
>> >> >> issue ?
>> >> >>
>> >> >> Thanks in advance.
>> >> >>
>> >> >> On Fri, Apr 15, 2011 at 2:58 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?
>> >> >> >
>> >> >> > --
>> >> >> > 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
>> >> >
>> >> > --
>> >> > 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
>> >
>> > --
>> > 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
>
> --
> 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
#!/usr/bin/python

import sys
from gdata.calendar.client import CalendarClient, CalendarEventQuery

if len(sys.argv) < 3:
  sys.exit("Usage: getrawcalendarfeed.py <email> <password> <feed>")

(email, password, feed) = sys.argv[1:]
client = CalendarClient()
client.client_login(email=email, password=password, source="getrawcalendarfeed.py")
print client.GetCalendarEventFeed(uri=feed, q=CalendarEventQuery(), desired_class=None).read()

Reply via email to