python - Pywikibot Login SSLError 185090050 -
previously had no problem pywikibot library , site.login()
.
from last week, calling method returns following warning , error messages:
warning: waiting 40 seconds before retrying. error: traceback (most recent call last): file "pywikibot/data/api.py", line 1556, in submit body=body, headers=headers) file "pywikibot/tools/__init__.py", line 1105, in wrapper return obj(*__args, **__kw) file "pywikibot/comms/http.py", line 279, in request r = fetch(baseuri, method, body, headers, **kwargs) file "pywikibot/comms/http.py", line 381, in fetch error_handling_callback(request) file "pywikibot/comms/http.py", line 297, in error_handling_callback raise request.data sslerror: [errno 185090050] _ssl.c:340: error:0b084002:x509 certificate routines:x509_load_cert_crl_file:system lib
any highly appreciated.
an expert @ http://webchat.freenode.net/#pywikibot solved problem.
the problem httplib2 package. reinstalled using:
pip uninstall httplib2 pip install httplib2
Comments
Post a Comment