salimoha / googlecl

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

CLI not working with calendar but OK with docs #428

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. the command "docs list" is working
2. the command "calendar list" gives an error. see below

What is the expected output? What do you see instead?
Here is the error reported by python :
> calendar list
Traceback (most recent call last):
  File "/opt/local/lib/python2.6/site-packages/googlecl-0.9.13-py2.6.egg/EGG-INFO/scripts/google", line 488, in run_interactive
    run_once(options, args)
  File "/opt/local/lib/python2.6/site-packages/googlecl-0.9.13-py2.6.egg/EGG-INFO/scripts/google", line 615, in run_once
    authenticated = authenticate(auth_manager, options, config, section_header)
  File "/opt/local/lib/python2.6/site-packages/googlecl-0.9.13-py2.6.egg/EGG-INFO/scripts/google", line 106, in authenticate
    valid_token = auth_manager.check_access_token()
  File "/opt/local/lib/python2.6/site-packages/googlecl-0.9.13-py2.6.egg/googlecl/authentication.py", line 58, in check_access_token
    token_valid = self.client.IsTokenValid()
  File "/opt/local/lib/python2.6/site-packages/googlecl-0.9.13-py2.6.egg/googlecl/calendar/service.py", line 376, in is_token_valid
    return googlecl.service.BaseServiceCL.IsTokenValid(self, test_uri)
  File "/opt/local/lib/python2.6/site-packages/googlecl-0.9.13-py2.6.egg/googlecl/base.py", line 328, in is_token_valid
    self.Get(test_uri)
  File "/opt/local/lib/python2.6/site-packages/googlecl-0.9.13-py2.6.egg/googlecl/service.py", line 59, in retry_get
    return self.retry_operation(*args, **kwargs)
  File "/opt/local/lib/python2.6/site-packages/googlecl-0.9.13-py2.6.egg/googlecl/base.py", line 387, in retry_operation
    raise unexpected
error: [Errno 104] Connection reset by peer

I was searching all night long howto solve it, hope you could help.

What version of the product are you using? 
python2.6
gdata-2.0.14
googlecl-0.9.13

On what operating system?
Using Unix based system on Synology NAS server.

Please provide any additional information below.
Nothing to add, but do not hesitate if you need more details.

Original issue reported on code.google.com by ni.au...@gmail.com on 1 Oct 2011 at 12:15

GoogleCodeExporter commented 9 years ago
Works for current trunk code. What's more, this issue looks like there are some 
problems with network connection.

Could you verify the problem still exists?

Original comment by szy...@endpoint.com on 29 Dec 2012 at 9:23