Gmansolf / googlecl

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

'CalendarServiceCL' object has no attribute 'SetOAuthInputParameters' #122

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I am using googlecl on the system( config given below)
python 2.6, OpenSuse Linux 11.1, google 0.9.7

when I run the command :
shariq@Shariq-box:~> google calendar add "Lunch with Jim at noon tomorrow"
Please specify user: shariqnitt

Traceback (most recent call last):
  File "/usr/local/bin/google", line 463, in <module>
    main()
  File "/usr/local/bin/google", line 457, in main
    run_once(options, args)
  File "/usr/local/bin/google", line 340, in run_once
    if client.RequestAccess():
  File "/usr/local/lib/python2.6/site-packages/googlecl/service.py", line 192, in request_access
    self.SetOAuthInputParameters(gdata.auth.OAuthSignatureMethod.HMAC_SHA1,
AttributeError: 'CalendarServiceCL' object has no attribute 
'SetOAuthInputParameters'

I AM unable to fix this problem.
help is needed.

Original issue reported on code.google.com by shariqn...@gmail.com on 21 Jun 2010 at 10:31

GoogleCodeExporter commented 8 years ago
I am seeing this as well, I am using python-gdata-1.2.2-1 which may be a little 
old.. 

Original comment by chjoh...@gmail.com on 21 Jun 2010 at 12:35

GoogleCodeExporter commented 8 years ago
Yes, the earliest version of python-gdata (aka gdata-python-client) we tested 
with is 1.2.4.

You can get the most recent version here: 
http://code.google.com/p/gdata-python-client/downloads/list

I believe that Ubuntu and Debian users (and others) can also install 1.2.4 from 
their package manager from a standard repository.

I'll start putting together an FAQ for stuff like this.

Original comment by tom.h.mi...@gmail.com on 21 Jun 2010 at 12:45

GoogleCodeExporter commented 8 years ago
OK, I added an FAQ that addresses this problem, as well as a note in 
SystemRequirements. Sorry for the confusion!

Original comment by tom.h.mi...@gmail.com on 21 Jun 2010 at 3:36