salimoha / googlecl

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

Reminder notifications not being added when creating an event with googlecl #207

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reprouce the problem?
1.add an event using the following command google calendar add "meet Jim today 
3:00pm"
2.
3.

What is the expected output? What do you see instead?
Expect to create an event with the default reminders. The event is created but 
it does not add any reminders. 

What version of the product are you using? On what operating system? What
version of gdata-python-client (aka python-gdata)?
Using gdata-2.0.10 and googlecl 0.9.8

Please provide any additional information below.
When I create an event from the web interface in my default calendar it 
automatically adds the default reminders to the event. Same thing is true for 
when an event is added via SMS. But when I add an event from googlecl it 
creates an event but does not add the reminders. I have uninstalled and 
reinstalled gdata and googlecl but the problem is still there. 

Original issue reported on code.google.com by aloksha...@gmail.com on 4 Jul 2010 at 7:17

GoogleCodeExporter commented 9 years ago

Original comment by tom.h.mi...@gmail.com on 9 Jul 2010 at 2:29

GoogleCodeExporter commented 9 years ago
Issue 208 has been merged into this issue.

Original comment by tom.h.mi...@gmail.com on 9 Jul 2010 at 2:30

GoogleCodeExporter commented 9 years ago
My issue 205 is a dupe of this.

Original comment by towolf on 12 Jul 2010 at 9:31

GoogleCodeExporter commented 9 years ago
Issue 205 has been merged into this issue.

Original comment by tom.h.mi...@gmail.com on 12 Jul 2010 at 9:46

GoogleCodeExporter commented 9 years ago
Issue 108 has been merged into this issue.

Original comment by tom.h.mi...@gmail.com on 14 Jul 2010 at 9:04

GoogleCodeExporter commented 9 years ago
Turns out this isn't (properly) supported, but I'm working on a fix. Sorry it 
took so long to get to!

Original comment by tom.h.mi...@gmail.com on 14 Jul 2010 at 9:04

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r348.

Original comment by tom.h.mi...@gmail.com on 14 Jul 2010 at 10:24

GoogleCodeExporter commented 9 years ago
Alright, could some intrepid users try out r348 in the trunk? You should be 
able to use --reminder to set a reminder. Unfortunately, it seems impossible to 
get your default reminder time, but doing --reminder 20m should add one of each 
of your default reminders to the event during calendar add.

On the upside, you can so something wacky like --reminder 0.6w for 3/5ths of a 
week advance notice!

(Tip: Use the config file ~/.googlecl/config to set your default reminder time)

Let me know if you run into any problems!

Original comment by tom.h.mi...@gmail.com on 14 Jul 2010 at 10:28

GoogleCodeExporter commented 9 years ago
How I can try it? I don't see any "download" option
Thank you very much for fix!

Original comment by gianluca...@gmail.com on 15 Jul 2010 at 7:23

GoogleCodeExporter commented 9 years ago
Thanks for picking this up! 
Running into some problems.

Ran python setup.py install in trunk r348

Error when executing google:

Traceback (most recent call last):
  File "/usr/local/bin/google", line 58, in <module>
    LOG = logging.getLogger(googlecl.LOGGER_NAME)
AttributeError: 'module' object has no attribute 'LOGGER_NAME'

Gdata 1.2.4 Python 2.6.5 Ubuntu 10.04

Thanks

Original comment by bmar...@gmail.com on 15 Jul 2010 at 7:58

GoogleCodeExporter commented 9 years ago
Ah, I suspect it's loading the old googlecl library.

To test this, try:

$ mkdir test_directory
$ python setup.py install --home test_directory --record files.txt
$ cd test_directory/lib/python
$ ../../bin/google calendar add "etc, etc" --reminder etc.

Then you can remove all the files installed via rm -rf test_directory. (consult 
files.txt to make sure you got them all)

Original comment by tom.h.mi...@gmail.com on 15 Jul 2010 at 2:29

GoogleCodeExporter commented 9 years ago
Ok, so i didn't manage to get things working the way you discribed.

But here is how i got it working:

For debian based systems:
(!you might have to install subversion first)
$ svn checkout http://googlecl.googlecode.com/svn/trunk/ googlecl-read-only
$ apt-get remove googlecl
$ cd /path_to/googlecl-read-only
$ python setup.py install

now try 
$ google calendar add "test at 16h today" --reminder 20m

Hope this helps!

Thanks again for adding this functionality!

Bart

Original comment by bmar...@gmail.com on 17 Jul 2010 at 2:37

GoogleCodeExporter commented 9 years ago
Issue 237 has been merged into this issue.

Original comment by tom.h.mi...@gmail.com on 30 Jul 2010 at 4:20

GoogleCodeExporter commented 9 years ago
Hi there,

I have just used the following command to create an event with a reminder:

$ google calendar add "Test event" --reminder 10m

It creates the event WITH the reminder just fine, BUT I get no sms 
notification. I have configured the mobile phone on my google account correctly 
as I receive an sms if I create the same event "by hand".

Could this be happening because the event is being added with googlecl?

Thanks in advance, please reply.

Tiago

Original comment by mtorrinh...@gmail.com on 10 Feb 2011 at 3:11