{"action":"created","issue":{"url":"https://api.github.com/repos/mstenta/atmospi/issues/27","labels_url":"https://api.github.com/repos/mstenta/atmospi/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/mstenta/atmospi/issues/27/comments","events_url":"https://api.github.com/repos/mstenta/atmospi/issues/27/events","html_url":"https://github.com/mstenta/atmospi/issues/27","id":58793643,"number":27,"title":"New DS18B20 sensor not added automatically","user":{"login":"mstenta","id":95381,"avatar_url":"https://avatars.githubusercontent.com/u/95381?v=3","gravatar_id":"","url":"https://api.github.com/users/mstenta","html_url":"https://github.com/mstenta","followers_url":"https://api.github.com/users/mstenta/followers","following_url":"https://api.github.com/users/mstenta/following{/other_user}","gists_url":"https://api.github.com/users/mstenta/gists{/gist_id}","starred_url":"https://api.github.com/users/mstenta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mstenta/subscriptions","organizations_url":"https://api.github.com/users/mstenta/orgs","repos_url":"https://api.github.com/users/mstenta/repos","events_url":"https://api.github.com/users/mstenta/events{/privacy}","received_events_url":"https://api.github.com/users/mstenta/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mstenta/atmospi/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-02-24T19:47:03Z","updated_at":"2015-02-24T21:04:35Z","closed_at":null,"body":"Originally reported by @janvdbeek in #11 - the following error occurs:\r\n\r\n    Traceback (most recent call last):\r\n    File \"/home/pi/atmospi/Atmospi/measure-ds18b20.py\", line 75, in \r\n    id = db.fetchone () [0]\r\n    TypeError: 'NoneType' object has no attribute '__ getitem __'"},"comment":{"url":"https://api.github.com/repos/mstenta/atmospi/issues/comments/75845588","html_url":"https://github.com/mstenta/atmospi/issues/27#issuecomment-75845588","issue_url":"https://api.github.com/repos/mstenta/atmospi/issues/27","id":75845588,"user":{"login":"janvdbeek","id":11159533,"avatar_url":"https://avatars.githubusercontent.com/u/11159533?v=3","gravatar_id":"","url":"https://api.github.com/users/janvdbeek","html_url":"https://github.com/janvdbeek","followers_url":"https://api.github.com/users/janvdbeek/followers","following_url":"https://api.github.com/users/janvdbeek/following{/other_user}","gists_url":"https://api.github.com/users/janvdbeek/gists{/gist_id}","starred_url":"https://api.github.com/users/janvdbeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janvdbeek/subscriptions","organizations_url":"https://api.github.com/users/janvdbeek/orgs","repos_url":"https://api.github.com/users/janvdbeek/repos","events_url":"https://api.github.com/users/janvdbeek/events{/privacy}","received_events_url":"https://api.github.com/users/janvdbeek/received_events","type":"User","site_admin":false},"created_at":"2015-02-24T21:04:35Z","updated_at":"2015-02-24T21:04:35Z","body":"OK, I deleted the existing database and 've set up a new database. I also inserted the sensor addresses into the Devices table. I checked the contents of the table and the sensor addresses are there.\r\nI ran the file measure-ds18b20.py manually and no errors occured this time :-)\r\nSo, I checked the webpage and I've a graph and measurement data!\r\n\r\nThanks a lot for your help."}}