dahlia / wikidata

Wikidata client library for Python

Home Page:https://pypi.org/project/Wikidata/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

http error 404

PetersProblem opened this issue · comments

Hello,
I'm running this package for more than two weeks on a project, but since a few days a get this error on all of my machines (Ubuntu 20.04). To me it seems to be that wikidata changed some sort of server port, address or api.

  File ".../lib/python3.9/site-packages/wikidata/client.py", line 140, in get
    entity.load()
  File ".../lib/python3.9/site-packages/wikidata/entity.py", line 261, in load
    result = self.client.request(url)
  File ".../lib/python3.9/site-packages/wikidata/client.py", line 200, in request
    raise e
  File ".../lib/python3.9/site-packages/wikidata/client.py", line 194, in request
    response = self.opener.open(url)
  File "/usr/lib/python3.9/urllib/request.py", line 523, in open
    response = meth(req, response)
  File "/usr/lib/python3.9/urllib/request.py", line 632, in http_response
    response = self.parent.error(
  File "/usr/lib/python3.9/urllib/request.py", line 561, in error
    return self._call_chain(*args)
  File "/usr/lib/python3.9/urllib/request.py", line 494, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.9/urllib/request.py", line 641, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: Not Found```

I am having the same issue too