{"action":"reopened","issue":{"url":"https://api.github.com/repos/somakeit/door-controller2/issues/1","labels_url":"https://api.github.com/repos/somakeit/door-controller2/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/somakeit/door-controller2/issues/1/comments","events_url":"https://api.github.com/repos/somakeit/door-controller2/issues/1/events","html_url":"https://github.com/somakeit/door-controller2/issues/1","id":110717866,"number":1,"title":"NoneType got into the maths in soak test","user":{"login":"brackendawson","id":1909753,"avatar_url":"https://avatars.githubusercontent.com/u/1909753?v=3","gravatar_id":"","url":"https://api.github.com/users/brackendawson","html_url":"https://github.com/brackendawson","followers_url":"https://api.github.com/users/brackendawson/followers","following_url":"https://api.github.com/users/brackendawson/following{/other_user}","gists_url":"https://api.github.com/users/brackendawson/gists{/gist_id}","starred_url":"https://api.github.com/users/brackendawson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brackendawson/subscriptions","organizations_url":"https://api.github.com/users/brackendawson/orgs","repos_url":"https://api.github.com/users/brackendawson/repos","events_url":"https://api.github.com/users/brackendawson/events{/privacy}","received_events_url":"https://api.github.com/users/brackendawson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-09T18:59:51Z","updated_at":"2015-10-10T13:47:43Z","closed_at":null,"body":"LOG:\r\nTag is assigned to user 00000 (Bob)\r\nTag 9b8785b5 authenticated\r\nNFC device presented\r\nFound tag UID: 9b8785b5\r\nTag is assigned to user 00000 (Bob)\r\nTag 9b8785b5 authenticated\r\nNFC device presented\r\nFound tag UID: 9b8785b5\r\nTag is assigned to user 00000 (Bob)\r\nTag 9b8785b5 authenticated\r\nNFC device presented\r\nFound tag UID: 9b8785b5\r\nTag is assigned to user 00000 (Bob)\r\nFailed to Read sector: Failed to read sector 1 of Tag 9b8785b5\r\nTag 9b8785b5 NOT authenticated\r\nNFC device presented\r\nFound tag UID: 9b8785b5\r\nTag is assigned to user 00000 (Bob)\r\nTag 9b8785b5 authenticated\r\nNFC device presented\r\nFound tag UID: 9b8785b5\r\nTag is assigned to user 00000 (Bob)\r\nTag 9b8785b5 authenticated\r\nNFC device presented\r\nFound tag UID: 9b8785b5\r\nTag is assigned to user 00000 (Bob)\r\nFailed to update tag: Failed to write sector 2 block 9 of Tag 9b8785b5\r\nTag 9b8785b5 NOT authenticated\r\nNFC device presented\r\nFound tag UID: 9b8785b5\r\nTag is assigned to user 00000 (Bob)\r\nFailed to validate sector b: Sector data failed checksum\r\nTraceback (most recent call last):\r\n  File \"doord.py\", line 550, in <module>\r\n    inst.main()\r\n  File \"doord.py\", line 33, in main\r\n    if tag.authenticate():\r\n  File \"doord.py\", line 119, in authenticate\r\n    if self.greater_than(self.count_a, self.count_b) or (not self.sector_b_ok):\r\n  File \"doord.py\", line 289, in greater_than\r\n    right = (right + (2**16/2)) % (2**16)\r\nTypeError: unsupported operand type(s) for +: 'NoneType' and 'int'\r\n\r\nTAG:\r\nScan card...\r\nCard read UID: 155,135,133,181\r\n[155, 135, 133, 181, 44]\r\n01 C4 01 08 87 E8 85 A2 C8 BE 5A A3 A8 1C EB 90 BD 12 EA 0C C8 C4 CB 07 25 EA 39 EE 95 98 15 F5 09 51 3F 55 65 43 BB 3D 1F F8 EA 08 00 00 A9 EA 00 00 00 00 00 00 7F 07 88 69 00 00 00 00 00 00     ..........Z.............%.9......Q?UeC.=.................i......\r\n01 C5 01 08 2C D3 E1 13 C5 41 8F 2E 0D E2 6B B2 3C 91 71 3B D0 31 55 63 59 FB EF 71 0A 03 10 59 1F FF 48 54 94 C9 A5 18 55 19 C9 30 00 00 94 C7 00 00 00 00 00 00 7F 07 88 69 00 00 00 00 00 00     ....,....A....k.<.q;.1UcY..q...Y..HT....U..0.............i......\r\n"}}