{"action":"created","issue":{"url":"https://api.github.com/repos/hmmlearn/hmmlearn/issues/267","repository_url":"https://api.github.com/repos/hmmlearn/hmmlearn","labels_url":"https://api.github.com/repos/hmmlearn/hmmlearn/issues/267/labels{/name}","comments_url":"https://api.github.com/repos/hmmlearn/hmmlearn/issues/267/comments","events_url":"https://api.github.com/repos/hmmlearn/hmmlearn/issues/267/events","html_url":"https://github.com/hmmlearn/hmmlearn/issues/267","id":289522337,"node_id":"MDU6SXNzdWUyODk1MjIzMzc=","number":267,"title":"YAHOO finance API has been broken","user":{"login":"mo10","id":9402279,"node_id":"MDQ6VXNlcjk0MDIyNzk=","avatar_url":"https://avatars1.githubusercontent.com/u/9402279?v=4","gravatar_id":"","url":"https://api.github.com/users/mo10","html_url":"https://github.com/mo10","followers_url":"https://api.github.com/users/mo10/followers","following_url":"https://api.github.com/users/mo10/following{/other_user}","gists_url":"https://api.github.com/users/mo10/gists{/gist_id}","starred_url":"https://api.github.com/users/mo10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mo10/subscriptions","organizations_url":"https://api.github.com/users/mo10/orgs","repos_url":"https://api.github.com/users/mo10/repos","events_url":"https://api.github.com/users/mo10/events{/privacy}","received_events_url":"https://api.github.com/users/mo10/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-01-18T06:49:29Z","updated_at":"2018-09-28T13:19:33Z","closed_at":"2018-09-28T13:19:33Z","author_association":"NONE","body":"Hi,\r\nI tried to use `examples/plot_hmm_stock_analysis.py`, but I got a problem.\r\n```\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python3.6/urllib/request.py\", line 1318, in do_open\r\n    encode_chunked=req.has_header('Transfer-encoding'))\r\n  File \"/usr/lib/python3.6/http/client.py\", line 1239, in request\r\n    self._send_request(method, url, body, headers, encode_chunked)\r\n  File \"/usr/lib/python3.6/http/client.py\", line 1285, in _send_request\r\n    self.endheaders(body, encode_chunked=encode_chunked)\r\n  File \"/usr/lib/python3.6/http/client.py\", line 1234, in endheaders\r\n    self._send_output(message_body, encode_chunked=encode_chunked)\r\n  File \"/usr/lib/python3.6/http/client.py\", line 1026, in _send_output\r\n    self.send(msg)\r\n  File \"/usr/lib/python3.6/http/client.py\", line 964, in send\r\n    self.connect()\r\n  File \"/usr/lib/python3.6/http/client.py\", line 936, in connect\r\n    (self.host,self.port), self.timeout, self.source_address)\r\n  File \"/usr/lib/python3.6/socket.py\", line 704, in create_connection\r\n    for res in getaddrinfo(host, port, 0, SOCK_STREAM):\r\n  File \"/usr/lib/python3.6/socket.py\", line 745, in getaddrinfo\r\n    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):\r\nsocket.gaierror: [Errno -2] Name or service not known\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"./plot_hmm_stock_analysis.py\", line 33, in <module>\r\n    \"INTC\", datetime.date(1995, 1, 1), datetime.date(2012, 1, 6))\r\n  File \"/usr/lib/python3.6/site-packages/matplotlib/finance.py\", line 411, in quotes_historical_yahoo_ochl\r\n    ochl=True)\r\n  File \"/usr/lib/python3.6/site-packages/matplotlib/finance.py\", line 501, in _quotes_historical_yahoo\r\n    fh = fetch_historical_yahoo(ticker, date1, date2, cachename)\r\n  File \"/usr/lib/python3.6/site-packages/matplotlib/finance.py\", line 360, in fetch_historical_yahoo\r\n    with contextlib.closing(urlopen(url)) as urlfh:\r\n  File \"/usr/lib/python3.6/urllib/request.py\", line 223, in urlopen\r\n    return opener.open(url, data, timeout)\r\n  File \"/usr/lib/python3.6/urllib/request.py\", line 526, in open\r\n    response = self._open(req, data)\r\n  File \"/usr/lib/python3.6/urllib/request.py\", line 544, in _open\r\n    '_open', req)\r\n  File \"/usr/lib/python3.6/urllib/request.py\", line 504, in _call_chain\r\n    result = func(*args)\r\n  File \"/usr/lib/python3.6/urllib/request.py\", line 1346, in http_open\r\n    return self.do_open(http.client.HTTPConnection, req)\r\n  File \"/usr/lib/python3.6/urllib/request.py\", line 1320, in do_open\r\n    raise URLError(err)\r\nurllib.error.URLError: <urlopen error [Errno -2] Name or service not known>\r\n```\r\nYAHOO finance API services seem to have been closed.This problem may need to be repaired.\r\n\r\nThank you!\r\n"},"comment":{"url":"https://api.github.com/repos/hmmlearn/hmmlearn/issues/comments/425433027","html_url":"https://github.com/hmmlearn/hmmlearn/issues/267#issuecomment-425433027","issue_url":"https://api.github.com/repos/hmmlearn/hmmlearn/issues/267","id":425433027,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNTQzMzAyNw==","user":{"login":"anntzer","id":1322974,"node_id":"MDQ6VXNlcjEzMjI5NzQ=","avatar_url":"https://avatars0.githubusercontent.com/u/1322974?v=4","gravatar_id":"","url":"https://api.github.com/users/anntzer","html_url":"https://github.com/anntzer","followers_url":"https://api.github.com/users/anntzer/followers","following_url":"https://api.github.com/users/anntzer/following{/other_user}","gists_url":"https://api.github.com/users/anntzer/gists{/gist_id}","starred_url":"https://api.github.com/users/anntzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anntzer/subscriptions","organizations_url":"https://api.github.com/users/anntzer/orgs","repos_url":"https://api.github.com/users/anntzer/repos","events_url":"https://api.github.com/users/anntzer/events{/privacy}","received_events_url":"https://api.github.com/users/anntzer/received_events","type":"User","site_admin":false},"created_at":"2018-09-28T13:19:33Z","updated_at":"2018-09-28T13:19:33Z","author_association":"CONTRIBUTOR","body":"Duplicate of #207."}}
{"actor":{"display_login":"anntzer"}}