{"action":"created","issue":{"url":"https://api.github.com/repos/k20human/domoticz-linky/issues/1","repository_url":"https://api.github.com/repos/k20human/domoticz-linky","labels_url":"https://api.github.com/repos/k20human/domoticz-linky/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/k20human/domoticz-linky/issues/1/comments","events_url":"https://api.github.com/repos/k20human/domoticz-linky/issues/1/events","html_url":"https://github.com/k20human/domoticz-linky/issues/1","id":263825309,"number":1,"title":"TypeError: 'NoneType' object has no attribute '__getitem__'","user":{"login":"droop91","id":32634438,"avatar_url":"https://avatars1.githubusercontent.com/u/32634438?v=4","gravatar_id":"","url":"https://api.github.com/users/droop91","html_url":"https://github.com/droop91","followers_url":"https://api.github.com/users/droop91/followers","following_url":"https://api.github.com/users/droop91/following{/other_user}","gists_url":"https://api.github.com/users/droop91/gists{/gist_id}","starred_url":"https://api.github.com/users/droop91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/droop91/subscriptions","organizations_url":"https://api.github.com/users/droop91/orgs","repos_url":"https://api.github.com/users/droop91/repos","events_url":"https://api.github.com/users/droop91/events{/privacy}","received_events_url":"https://api.github.com/users/droop91/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2017-10-09T09:01:10Z","updated_at":"2017-10-22T09:03:44Z","closed_at":"2017-10-22T09:03:44Z","author_association":"NONE","body":"Hello,\r\n\r\n The script crash on my Pi\r\n\r\npi@raspi1 ~/LINKY/LINKY2/domoticz-linky $ python execute.py\r\n2017-10-09 10:44:30,393 :: INFO :: Logging in as XXXXXXXXXX@YYYY.COM\r\n2017-10-09 10:44:30,402 :: INFO :: Logged in successfully!\r\n2017-10-09 10:44:30,406 :: INFO :: Retreiving data...\r\n2017-10-09 10:44:30,561 :: INFO :: Starting new HTTPS connection (1): espace-client-connexion.enedis.fr\r\n2017-10-09 10:44:31,868 :: INFO :: Starting new HTTPS connection (1): espace-client-particuliers.enedis.fr\r\n2017-10-09 10:44:33,809 :: INFO :: Starting new HTTPS connection (1): espace-client-particuliers.enedis.fr\r\n2017-10-09 10:44:34,681 :: INFO :: Cookie has expired\r\n2017-10-09 10:44:34,706 :: INFO :: Starting new HTTPS connection (1): espace-client-connexion.enedis.fr\r\n2017-10-09 10:44:35,449 :: INFO :: Starting new HTTPS connection (1): espace-client-particuliers.enedis.fr\r\n2017-10-09 10:44:37,066 :: INFO :: Starting new HTTPS connection (1): espace-client-particuliers.enedis.fr\r\n2017-10-09 10:44:37,889 :: INFO :: Got datas!\r\nTraceback (most recent call last):\r\n  File \"execute.py\", line 145, in <module>\r\n    main()\r\n  File \"execute.py\", line 138, in main\r\n    export_days_values(res_day)\r\n  File \"execute.py\", line 72, in export_days_values\r\n    value = res['graphe']['data'][-1]['valeur']\r\nTypeError: 'NoneType' object has no attribute '__getitem__'\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/k20human/domoticz-linky/issues/comments/338462381","html_url":"https://github.com/k20human/domoticz-linky/issues/1#issuecomment-338462381","issue_url":"https://api.github.com/repos/k20human/domoticz-linky/issues/1","id":338462381,"user":{"login":"k20human","id":17319102,"avatar_url":"https://avatars3.githubusercontent.com/u/17319102?v=4","gravatar_id":"","url":"https://api.github.com/users/k20human","html_url":"https://github.com/k20human","followers_url":"https://api.github.com/users/k20human/followers","following_url":"https://api.github.com/users/k20human/following{/other_user}","gists_url":"https://api.github.com/users/k20human/gists{/gist_id}","starred_url":"https://api.github.com/users/k20human/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k20human/subscriptions","organizations_url":"https://api.github.com/users/k20human/orgs","repos_url":"https://api.github.com/users/k20human/repos","events_url":"https://api.github.com/users/k20human/events{/privacy}","received_events_url":"https://api.github.com/users/k20human/received_events","type":"User","site_admin":false},"created_at":"2017-10-22T09:03:44Z","updated_at":"2017-10-22T09:03:44Z","author_association":"OWNER","body":"Nice :)"}}
{"actor":{"display_login":"k20human"}}