pts/9  jan ~$ ./sms "test nieuw script"
09:52AM test nieuw script
Traceback (most recent call last):
  File "/usr/bin/google", line 577, in <module>
    main()
  File "/usr/bin/google", line 571, in main
    run_once(options, args)
  File "/usr/bin/google", line 418, in run_once
    task.run(client, options, args)
  File "/usr/lib/pymodules/python2.6/googlecl/calendar/service.py", line 504, in _run_add
    results = client.quick_add_event(args, cal.user)
  File "/usr/lib/pymodules/python2.6/googlecl/calendar/service.py", line 223, in quick_add_event
    USER_BATCH_URL_FORMAT % calendar_user)
  File "/usr/lib/pymodules/python2.6/gdata/calendar/service.py", line 445, in ExecuteBatch
    return self.Post(batch_feed, url, converter=converter)
  File "/usr/lib/pymodules/python2.6/gdata/service.py", line 1230, in Post
    media_source=media_source, converter=converter)
  File "/usr/lib/pymodules/python2.6/gdata/service.py", line 1340, in PostOrPut
    redirects_remaining - 1, media_source, converter=converter)
  File "/usr/lib/pymodules/python2.6/gdata/service.py", line 1340, in PostOrPut
    redirects_remaining - 1, media_source, converter=converter)
  File "/usr/lib/pymodules/python2.6/gdata/service.py", line 1340, in PostOrPut
    redirects_remaining - 1, media_source, converter=converter)
  File "/usr/lib/pymodules/python2.6/gdata/service.py", line 1340, in PostOrPut
    redirects_remaining - 1, media_source, converter=converter)
  File "/usr/lib/pymodules/python2.6/gdata/service.py", line 1348, in PostOrPut
    'body': result_body}
gdata.service.RequestError: {'status': 302, 'body': '<HTML>\n<HEAD>\n<TITLE>Moved Temporarily</TITLE>\n</HEAD>\n<BODY BGCOLOR="#FFFFFF" TEXT="#000000">\n<H1>Moved Temporarily</H1>\nThe document has moved <A HREF="http://www.google.com/calendar/feeds/default/private/full/batch?gsessionid=1234567890">here</A>.\n</BODY>\n</HTML>\n', 'reason': 'Redirect received, but redirects_remaining <= 0'}
failed... try again : 1
09:53AM test nieuw script
Traceback (most recent call last):
  File "/usr/bin/google", line 577, in <module>
    main()
  File "/usr/bin/google", line 571, in main
    run_once(options, args)
  File "/usr/bin/google", line 418, in run_once
    task.run(client, options, args)
  File "/usr/lib/pymodules/python2.6/googlecl/calendar/service.py", line 504, in _run_add
    results = client.quick_add_event(args, cal.user)
  File "/usr/lib/pymodules/python2.6/googlecl/calendar/service.py", line 223, in quick_add_event
    USER_BATCH_URL_FORMAT % calendar_user)
  File "/usr/lib/pymodules/python2.6/gdata/calendar/service.py", line 445, in ExecuteBatch
    return self.Post(batch_feed, url, converter=converter)
  File "/usr/lib/pymodules/python2.6/gdata/service.py", line 1230, in Post
    media_source=media_source, converter=converter)
  File "/usr/lib/pymodules/python2.6/gdata/service.py", line 1340, in PostOrPut
    redirects_remaining - 1, media_source, converter=converter)
  File "/usr/lib/pymodules/python2.6/gdata/service.py", line 1340, in PostOrPut
    redirects_remaining - 1, media_source, converter=converter)
  File "/usr/lib/pymodules/python2.6/gdata/service.py", line 1340, in PostOrPut
    redirects_remaining - 1, media_source, converter=converter)
  File "/usr/lib/pymodules/python2.6/gdata/service.py", line 1340, in PostOrPut
    redirects_remaining - 1, media_source, converter=converter)
  File "/usr/lib/pymodules/python2.6/gdata/service.py", line 1348, in PostOrPut
    'body': result_body}
gdata.service.RequestError: {'status': 302, 'body': '<HTML>\n<HEAD>\n<TITLE>Moved Temporarily</TITLE>\n</HEAD>\n<BODY BGCOLOR="#FFFFFF" TEXT="#000000">\n<H1>Moved Temporarily</H1>\nThe document has moved <A HREF="http://www.google.com/calendar/feeds/default/private/full/batch?gsessionid=1234567890">here</A>.\n</BODY>\n</HTML>\n', 'reason': 'Redirect received, but redirects_remaining <= 0'}
failed... try again : 2
09:53AM test nieuw script
 pts/9  jan ~$