Hi Sergio,
On Sat, Sep 15, 2018 at 11:28AM, Sergio Mendoza wrote:
> Hi again,
>
> Today after an upgrade once again the problem appears:
Do you know which package you updated that broke goobook?
> sergio@izta:~$ goobook query sergio
> Traceback (most recent call last):
> File "/usr/bin/goobook", line 11, in <module>
> load_entry_point('goobook==1.9', 'console_scripts', 'goobook')()
> File "/usr/share/goobook/goobook/application.py", line 94, in main
> args.func(config, args)
> File "/usr/share/goobook/goobook/application.py", line 125, in do_query
> goobk = GooBook(config)
> File "/usr/share/goobook/goobook/goobook.py", line 59, in __init__
> self.cache.load()
> File "/usr/share/goobook/goobook/goobook.py", line 257, in load
> self.update()
> File "/usr/share/goobook/goobook/goobook.py", line 264, in update
> self.contacts = list(self._parse_contacts(gc.fetch_contacts()))
> File "/usr/share/goobook/goobook/goobook.py", line 395, in fetch_contacts
> res = self._get(query)
> File "/usr/share/goobook/goobook/goobook.py", line 371, in _get
> connection_type=httplib2.HTTPSConnectionWithTimeout)
> File "/usr/local/lib/python2.7/dist-packages/oauth2client/client.py", line
> 562, in new_request
> redirections, connection_type)
> File "/usr/local/lib/python2.7/dist-packages/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/__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/__init__.py", line
> 1272, in _conn_request
> conn.connect()
> File "/usr/local/lib/python2.7/dist-packages/httplib2/__init__.py", line
> 1059, in connect
> raise SSLHandshakeError(e)
> httplib2.SSLHandshakeError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate
> verify failed (_ssl.c:726)
The above traceback mentions
"/usr/local/lib/python2.7/dist-packages/httplib2/__init__.py".
This is not the canonical location where Debian Python packages get
installed. I believe you have installed a different version of the
httplib2 module using pip. Could you please test using the Python module
provided by the python-httplib2 package?
Cheers,
--
Ilias