{"action":"created","issue":{"url":"https://api.github.com/repos/home-assistant/home-assistant/issues/12455","repository_url":"https://api.github.com/repos/home-assistant/home-assistant","labels_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/12455/labels{/name}","comments_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/12455/comments","events_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/12455/events","html_url":"https://github.com/home-assistant/home-assistant/issues/12455","id":297723497,"number":12455,"title":"logbook and history tabs are empty.","user":{"login":"hsk-dk","id":22190798,"avatar_url":"https://avatars0.githubusercontent.com/u/22190798?v=4","gravatar_id":"","url":"https://api.github.com/users/hsk-dk","html_url":"https://github.com/hsk-dk","followers_url":"https://api.github.com/users/hsk-dk/followers","following_url":"https://api.github.com/users/hsk-dk/following{/other_user}","gists_url":"https://api.github.com/users/hsk-dk/gists{/gist_id}","starred_url":"https://api.github.com/users/hsk-dk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hsk-dk/subscriptions","organizations_url":"https://api.github.com/users/hsk-dk/orgs","repos_url":"https://api.github.com/users/hsk-dk/repos","events_url":"https://api.github.com/users/hsk-dk/events{/privacy}","received_events_url":"https://api.github.com/users/hsk-dk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2018-02-16T09:27:00Z","updated_at":"2018-02-18T15:04:46Z","closed_at":null,"author_association":"NONE","body":"**Home Assistant release (`hass --version`):**\r\n0.63\r\n0.63.1\r\n0.63.2\r\n\r\n**Python release (`python3 --version`):**\r\n3.5.3 \r\n\r\n**Component/platform:**\r\nrecorder, logbook\r\n\r\n**Description of problem:**\r\nafter update to 0.63.x the recorder and logbook are no longer updated, and the historic data is not available i either the logbook or the history tab.\r\nEach time I access logbook or history traceback below is added to the logfile.\r\n\r\nwhen I downgrade to 0.62.1 data i recorded again and the historic data is available again, the scenario is the same for each of the 0.63.x versions.\r\n\r\n**Problem-relevant `configuration.yaml` entries and steps to reproduce:**\r\n```logbook:\r\n  exclude:\r\n    entities:\r\n      - sensor.time\r\nrecorder:\r\n  purge_interval: 2\r\n  purge_keep_days: 31\r\n  db_url: mysql://_!secret_:_!secret_@10.0.1.249:3307/hass?charset=utf8\r\n\r\n###  History  ###\r\nhistory:\r\n  exclude:\r\n    domains:\r\n    - automation  \r\n    - media_player\r\n    - scene\r\n    - group\r\n    - script\r\n    - updater\r\n    entities:\r\n    - sun.sun   # Don't record sun data\r\n    - sensor.last_boot\r\n    - sensor.date\r\n\r\n```\r\n\r\n1. \r\n2. \r\n3. \r\n\r\n**Traceback (if applicable):**\r\n```\r\nTraceback (most recent call last):\r\n  File \"/usr/local/lib/python3.5/dist-packages/aiohttp/web_protocol.py\", line 416, in start\r\n    resp = yield from self._request_handler(request)\r\n  File \"/usr/local/lib/python3.5/dist-packages/aiohttp/web.py\", line 302, in _handle\r\n    match_info = yield from self._router.resolve(request)\r\n  File \"/usr/local/lib/python3.5/dist-packages/aiohttp/web_urldispatcher.py\", line 831, in resolve\r\n    match_dict, allowed = yield from resource.resolve(request)\r\n  File \"/usr/local/lib/python3.5/dist-packages/aiohttp/web_urldispatcher.py\", line 314, in resolve\r\n    match_dict = self._match(request.rel_url.raw_path)\r\n  File \"/usr/local/lib/python3.5/dist-packages/aiohttp/web_urldispatcher.py\", line 432, in _match\r\n    match.groupdict().items()}\r\n  File \"/usr/local/lib/python3.5/dist-packages/aiohttp/web_urldispatcher.py\", line 431, in <dictcomp>\r\n    for key, value in\r\nTypeError: build() got an unexpected keyword argument 'encoded'\r\n```\r\n\r\n**Additional info:**\r\nHome-assistant is running on af fully updated Raspberry Pi 3\r\nDatabase is MariaDB 10 on a synology nas\r\n"},"comment":{"url":"https://api.github.com/repos/home-assistant/home-assistant/issues/comments/366522337","html_url":"https://github.com/home-assistant/home-assistant/issues/12455#issuecomment-366522337","issue_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/12455","id":366522337,"user":{"login":"diplix","id":4541494,"avatar_url":"https://avatars0.githubusercontent.com/u/4541494?v=4","gravatar_id":"","url":"https://api.github.com/users/diplix","html_url":"https://github.com/diplix","followers_url":"https://api.github.com/users/diplix/followers","following_url":"https://api.github.com/users/diplix/following{/other_user}","gists_url":"https://api.github.com/users/diplix/gists{/gist_id}","starred_url":"https://api.github.com/users/diplix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diplix/subscriptions","organizations_url":"https://api.github.com/users/diplix/orgs","repos_url":"https://api.github.com/users/diplix/repos","events_url":"https://api.github.com/users/diplix/events{/privacy}","received_events_url":"https://api.github.com/users/diplix/received_events","type":"User","site_admin":false},"created_at":"2018-02-18T15:04:46Z","updated_at":"2018-02-18T15:04:46Z","author_association":"CONTRIBUTOR","body":"i’m having the same problem and (exactly) the same setup as @ajghb.\r\nafter installing 0.63.3, reloading a page other than /states results in a error 500 and this log entry.\r\n\r\n```\r\n[31m2018-02-18 15:46:21 ERROR (MainThread) [aiohttp.server] Error handling request[0m\r\nTraceback (most recent call last):\r\n  File \"/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/aiohttp/web_protocol.py\", line 416, in start\r\n    resp = yield from self._request_handler(request)\r\n  File \"/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/aiohttp/web.py\", line 302, in _handle\r\n    match_info = yield from self._router.resolve(request)\r\n  File \"/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/aiohttp/web_urldispatcher.py\", line 831, in resolve\r\n    match_dict, allowed = yield from resource.resolve(request)\r\n  File \"/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/aiohttp/web_urldispatcher.py\", line 314, in resolve\r\n    match_dict = self._match(request.rel_url.raw_path)\r\n  File \"/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/aiohttp/web_urldispatcher.py\", line 432, in _match\r\n    match.groupdict().items()}\r\n  File \"/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/aiohttp/web_urldispatcher.py\", line 431, in <dictcomp>\r\n    for key, value in\r\nTypeError: build() got an unexpected keyword argument 'encoded'[0m\r\n\r\n```"}}
{"actor":{"display_login":"diplix"}}