Dear Alain,

Sorry to disturb you again.

If I run the command line using false (on delete files), I can see the list
of events.

I've followed all steps indicated by you on my last mail, and after this,
I've ran the script as you can see on the following command line:

*
C:\Python26>python delete_entries.py --user [email protected] Ge
*rmany#2011 --start 2010-09-21 --end 2010-09-23 --pattern Frank Richter
--delete *
true
*
*

*
Executing this line, using the *delete parameter = true,* I've got the
follow error: (different from the last one)


*C:\Python26>python delete_entries.py --user [email protected] Ge
*
*rmany#2011 --start 2010-09-21 --end 2010-09-23 --pattern Frank Richter
--delete*
*true*
*Date range query for events on default Calendar: 2010-09-21 to 2010-09-23*
*Traceback (most recent call last):*
*  File "delete_entries.py", line 145, in <module>*
*    main()*
*  File "delete_entries.py", line 142, in main*
*    DeleteEventEntries(calendar_client=calendar_client, calendar=calendar,
start*
*_date=start_date, end_date=end_date, pattern=pattern, delete=delete);*
*  File "delete_entries.py", line 73, in DeleteEventEntries*
*    feed =
calendar_client.GetCalendarEventFeed(calendar_client.GetCalendarEvent*
*FeedUri(calendar=calendar), q=query)*
*  File "C:\Python26\lib\gdata\calendar\client.py", line 232, in
get_calendar_eve*
*nt_feed*
*    desired_class=desired_class, **kwargs)*
*  File "C:\Python26\lib\gdata\client.py", line 635, in get_feed*
*    **kwargs)*
*  File "C:\Python26\lib\gdata\client.py", line 299, in request*
*    **kwargs)*
*  File "C:\Python26\lib\gdata\client.py", line 299, in request*
*    **kwargs)*
*  File "C:\Python26\lib\gdata\client.py", line 299, in request*
*    **kwargs)*
*  File "C:\Python26\lib\gdata\client.py", line 299, in request*
*    **kwargs)*
*  File "C:\Python26\lib\gdata\client.py", line 305, in request*
*    response, RedirectError)*
*  File "C:\Python26\lib\gdata\client.py", line 119, in error_from_response*
*    error.headers = atom.http_core.get_headers(http_response)*
*AttributeError: 'module' object has no attribute 'get_headers'*
*
*
*C:\Python26>*


On 28 February 2011 15:42, Alain <[email protected]> wrote:

> Hum, this is weird as the CalendarFeed class is defined on the line 297 of
> gdata/calendar/data.py:
>
> http://code.google.com/p/gdata-python-client/source/browse/src/gdata/calendar/data.py#297
>
> To summarize the changes you need to do:
>   - gdata/data.py has to be replaced by:
> http://code.google.com/p/gdata-python-client/source/browse/src/gdata/data.py
>   - gdata/calendar/data.py has to be replaced by:
> http://code.google.com/p/gdata-python-client/source/browse/src/gdata/calendar/data.py
>   - gdata/calendar/client.py has to be replaced by:
> http://code.google.com/p/gdata-python-client/source/browse/src/gdata/calendar/client.py
>
> You can either download these files manually on checkout the last version
> of the Python GData client library by following these 
> instructions<http://code.google.com/p/gdata-python-client/source/checkout>
> .
>
> Best,
> Alain
>
>  --
> 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
>



-- 
*
Danilo Almeida Nogueira
*ICS/IT TEAM - CoE Collaboration Support Analyst
Converteam Brasil LTDA
Phone: +55 31 3330-5883
GSD Phone: +55 31 9965-3450
[email protected]

CONFIDENTIALITY: This e-mail and any attachments are confidential and may be 
privileged.
If you are not a named recipient, please notify the sender immediately and do 
not disclose the contents to another person, use it for any purpose or store or 
copy the information in any medium.

Converteam Brasil Ltda. http://www.converteam.com

Please consider the environment before printing this email.

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