Hello,
I have been using Python 2.7 so far for my scripts, but it is high time to switch to 3.4. However, when I run this simple script: https://gist.github.com/alkamid/2a2cb399a193d7fa6254 (getting a page's content), I get this error:
File "/home/.../wikt/pywikibot/core/pywikibot/comms/http.py", line 293, in error_handling_callback raise FatalServerError(str(request.data)) pywikibot.exceptions.FatalServerError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600)
(full traceback in the Gist)
It must be something obvious, could you help me out here?
Thanks alkamid
Hi Adam,
On 16 August 2015 at 08:31, Adam Klimont adamkli@gmail.com wrote:
pywikibot.exceptions.FatalServerError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600)
This error typically indicates an outdated certificate store. Depending on how recent your version of pywikibot is, update httplib2 (pip install -U httplib2) or requests (pip install -U requests) should resolve the issue.
Merlijn
Merlijn and xzise helped me on IRC, the issue was that I was using the 2.0 branch instead of master. alkamid
On 16 August 2015 at 12:07, Merlijn van Deen valhallasw@arctus.nl wrote:
Hi Adam,
On 16 August 2015 at 08:31, Adam Klimont adamkli@gmail.com wrote:
pywikibot.exceptions.FatalServerError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600)
This error typically indicates an outdated certificate store. Depending on how recent your version of pywikibot is, update httplib2 (pip install -U httplib2) or requests (pip install -U requests) should resolve the issue.
Merlijn
pywikibot mailing list pywikibot@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot