I don't know what is happening, cause I wrote a post this morning, and
it wasn't published yet.

I am going to try again.

The discussion comes from here:
http://groups.google.com/group/google-apps-apis/browse_thread/thread/11107de621962e62

To sum up, the problem is:

I was creating events in the default calendar without problems. Now I
am trying to create the event in another calendar, so when invoking
InsertEvent I do -> self.gcal.InsertEvent(event, '/calendar/feeds/' +
id_cal + '/private/full')
This raise the exception InvalidURLError: ApplicationError: 1, caused
by an invalid protocol, so I changed the url param to 'http://
google.com/calendar/feeds/' + id_cal + '/private/full'.

But with this url, when creating the event, it is raised a Method 405
exception, telling that it is not allowed to POST over this resource
(gdata POSTs to create the events of course!!!...).

I have thought that the problem could be the 'id_cal' I have got,
which could be wrong. This is the way I got the id of a calendar,
please, tell me if you think this is not a good way.

    feed = self.gcal.GetAllCalendarsFeed()

    for e in feed.entry:
      if e.title.text == 'gbeep_calendar':
        pos = e.GetEditLink().href.rfind('/')
        return e.GetEditLink().href[pos+1:]

Thank you for you help.

Regards,
Jose Ignacio.

--~--~---------~--~----~------------~-------~--~----~
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