Hi again,

On Fri, Sep 21, 2018 at 01:46PM, Sergio Mendoza wrote:
>   Unfortunately, no matter how hard I look for to spot the problem, I have
> not find the culprit package.  I tried and tried, but couldn't.  This is
> the reason I reported the bug to goobook.  Sorry for not being more
> helpful.
> 
> > > 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?

Please take a look at the comment above. It looks like you are not using
the official Debian package for python-httplib2, which is installed
under /usr/lib/python2.7/dist-packages/httplib2/ [1]. My guess is that
you have `pip install`-ed that package, so I would start by uninstalling
it and revert back to the Debian one.

[1] https://packages.debian.org/sid/all/python-httplib2/filelist

Cheers,

-- 
Ilias

Reply via email to