tam7t / photograbber

Download photos from Facebook
GNU General Public License v3.0
80 stars 41 forks source link

SSl certificate error on Debian #2

Closed permanentlylostinsightofland closed 11 years ago

permanentlylostinsightofland commented 11 years ago

[Errno 185090050] _ssl.c:340: error:0B084002:x509 certificate routines:X509_load_cert_crl_file:system lib

I do however have the dependencies installed. The cacert file is in /usr/lib/python2.7/dist-packages/requests/certs.py which is just a symlink to /usr/share/pyshared/requests/cacert.pem

All versions are correct. I haven't been able to Google for a successful solution to this error. Ideas?

tam7t commented 11 years ago

It looks like you're using the system site package for requests. I believe that should work, but when I develop I make a requests folder in the same directory as pg.py and include the contents of the request module: https://github.com/kennethreitz/requests/tree/master/requests

Let me know if that helps.

ghost commented 11 years ago

that worked for me ~ thanks!

permanentlylostinsightofland commented 11 years ago

This has corrected the problem. For others with this issue, of the files in the requests repository, only those in the folder called requests need to be used.