https://bugzilla.wikimedia.org/show_bug.cgi?id=71497
Bug ID: 71497
Summary: SSLError on requesting data from Wikidata
Product: Pywikibot
Version: core (2.0)
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: network
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: lokal_profil(a)hotmail.com
Web browser: ---
Mobile Platform: ---
When trying to get() an item from wikidata I get the following SSL related
error:
ERROR: Traceback (most recent call last):
File
"/usr/local/lib/python2.7/dist-packages/pywikibot-2.0b1-py2.7.egg/pywikibot/data/api.py",
line 452, in submit
headers=headers, body=body)
File
"/usr/local/lib/python2.7/dist-packages/pywikibot-2.0b1-py2.7.egg/pywikibot/tools.py",
line 367, in wrapper
return method(*__args, **__kw)
File
"/usr/local/lib/python2.7/dist-packages/pywikibot-2.0b1-py2.7.egg/pywikibot/comms/http.py",
line 258, in request
raise request.data
SSLError: [Errno 185090050] _ssl.c:344: error:0B084002:x509 certificate
routines:X509_load_cert_crl_file:system lib
To reproduce:
import pywikibot
repo = pywikibot.Site().data_repository()
item = pywikibot.ItemPage(repo, 'Q4115189')
item.get()
--
You are receiving this mail because:
You are the assignee for the bug.