Release: GooBook 1.9

45 views
Skip to first unread message

Christer Sjöholm

unread,
Jun 3, 2015, 5:39:11 AM6/3/15
to Goobook googlegroup
1.9

* #55 Fixed argument conflict between goobook and oauth2client

This fixes this error when running authenticate:

TypeError: getattr(): attribute name must be string

Only seem to show itself on older Python versions (2.7.6), 
if you dont have this error there is no need to upgrade.



--
Christer Sjöholm
Lövlundsvägen 61B
814 91 Furuvik
Phone: +46 (0)70 2045037

Yoshiki Vázquez Baeza

unread,
Jun 5, 2015, 12:33:31 AM6/5/15
to goo...@googlegroups.com
Works like a charm, thanks!

Patrick Meidl

unread,
Jun 10, 2015, 9:39:34 AM6/10/15
to goo...@googlegroups.com
hi Christer,

first, thanks a lot for the quick OAuth implementation.

I just upgraded from 1.6 to 1.9, and when I run 'goobook authenticate', I get this error:

  File "/usr/local/bin/goobook", line 9, in <module>
    load_entry_point('goobook==1.9', 'console_scripts', 'goobook')()
  File "/usr/local/lib/python2.7/dist-packages/goobook-1.9-py2.7.egg/goobook/application.py", line 94, in main
    args.func(config, args)
  File "/usr/local/lib/python2.7/dist-packages/goobook-1.9-py2.7.egg/goobook/application.py", line 148, in do_authenticate
    creds = oauth2client.tools.run_flow(flow, store, args)
  File "/usr/local/lib/python2.7/dist-packages/oauth2client-1.4.11-py2.7.egg/oauth2client/util.py", line 137, in positional_wrapper
  File "/usr/local/lib/python2.7/dist-packages/oauth2client-1.4.11-py2.7.egg/oauth2client/tools.py", line 225, in run_flow
  File "/usr/local/lib/python2.7/dist-packages/oauth2client-1.4.11-py2.7.egg/oauth2client/util.py", line 137, in positional_wrapper
  File "/usr/local/lib/python2.7/dist-packages/oauth2client-1.4.11-py2.7.egg/oauth2client/client.py", line 1982, in step2_exchange
  File "/usr/local/lib/python2.7/dist-packages/httplib2-0.9.1-py2.7.egg/httplib2/__init__.py", line 1608, in request
    (response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
  File "/usr/local/lib/python2.7/dist-packages/httplib2-0.9.1-py2.7.egg/httplib2/__init__.py", line 1350, in _request
    (response, content) = self._conn_request(conn, request_uri, method, body, headers)
  File "/usr/local/lib/python2.7/dist-packages/httplib2-0.9.1-py2.7.egg/httplib2/__init__.py", line 1272, in _conn_request
    conn.connect()
  File "/usr/local/lib/python2.7/dist-packages/httplib2-0.9.1-py2.7.egg/httplib2/__init__.py", line 1036, in connect
    self.disable_ssl_certificate_validation, self.ca_certs)
  File "/usr/local/lib/python2.7/dist-packages/httplib2-0.9.1-py2.7.egg/httplib2/__init__.py", line 80, in _ssl_wrap_socket
    cert_reqs=cert_reqs, ca_certs=ca_certs)
  File "/usr/lib/python2.7/ssl.py", line 487, in wrap_socket
    ciphers=ciphers)
  File "/usr/lib/python2.7/ssl.py", line 241, in __init__
    ciphers)
ssl.SSLError: [Errno 185090050] _ssl.c:344: error:0B084002:x509 certificate routines:X509_load_cert_crl_file:system lib


this is on an Ubuntu 14.04 LTS, python version is 2.7.6.

any ideas what's wrong there?

cheers

Patrick

Christer Sjöholm

unread,
Jun 10, 2015, 10:24:10 AM6/10/15
to Goobook googlegroup

--
You received this message because you are subscribed to the Google Groups "goobook" group.
To unsubscribe from this group and stop receiving emails from it, send an email to goobook+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Patrick Meidl

unread,
Jun 10, 2015, 11:26:24 AM6/10/15
to goo...@googlegroups.com
hi Christer,

thanks for the quick reply, that solved the issue.

for the record:

sudo chmod o+r -R /usr/local/lib/python2.7/dist-packages/httplib2-0.9.1-py2.7.egg/

cheers

Patrick
Reply all
Reply to author
Forward
0 new messages