githubkusi / googlecl

Automatically exported from code.google.com/p/googlecl
0 stars 0 forks source link

Unable to delete a calendar entry that is scheduled to repeat #381

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Create an event that repeats on different days 
2.Try to delete the event with "google calendar delete --title test"
output shows:
>looking at event test
>Traceback (most recent call last):
>  File "/usr/bin/google", line 839, in <module>
>    main()
>  File "/usr/bin/google", line 825, in main
>    run_once(options, args)
>  File "/usr/bin/google", line 623, in run_once
>    raise run_error
>AttributeError: 'CalendarServiceCL' object has no attribute 'prompt_for_delete'

What is the expected output? What do you see instead?
display the date/time of each event to be deleted and confirmation for its 
deletion

What version of the product are you using? On what operating system?
Version: 0.9.12-1
on Ubuntu
 What
version of gdata-python-client (aka python-gdata)?
Version: 1.2.4-0ubuntu2

Please provide any additional information below.

Original issue reported on code.google.com by RCr...@gmail.com on 21 Mar 2011 at 3:50

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r544.

Original comment by tom.h.mi...@gmail.com on 26 Mar 2011 at 1:53

GoogleCodeExporter commented 8 years ago
Here's a patch to get this working for 0.9.12. It also fixes a potential major 
bug where something like

google calendar delete "my recurring event" --date 4/12 --yes

would still delete all recurring events, not just the one on 4/12.

Original comment by tom.h.mi...@gmail.com on 26 Mar 2011 at 1:55

Attachments: