{"action":"created","issue":{"url":"https://api.github.com/repos/mampersat/ElectricSlide/issues/1","repository_url":"https://api.github.com/repos/mampersat/ElectricSlide","labels_url":"https://api.github.com/repos/mampersat/ElectricSlide/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/mampersat/ElectricSlide/issues/1/comments","events_url":"https://api.github.com/repos/mampersat/ElectricSlide/issues/1/events","html_url":"https://github.com/mampersat/ElectricSlide/issues/1","id":188984417,"number":1,"title":"crash on second picture","user":{"login":"mampersat","id":754739,"avatar_url":"https://avatars.githubusercontent.com/u/754739?v=3","gravatar_id":"","url":"https://api.github.com/users/mampersat","html_url":"https://github.com/mampersat","followers_url":"https://api.github.com/users/mampersat/followers","following_url":"https://api.github.com/users/mampersat/following{/other_user}","gists_url":"https://api.github.com/users/mampersat/gists{/gist_id}","starred_url":"https://api.github.com/users/mampersat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mampersat/subscriptions","organizations_url":"https://api.github.com/users/mampersat/orgs","repos_url":"https://api.github.com/users/mampersat/repos","events_url":"https://api.github.com/users/mampersat/events{/privacy}","received_events_url":"https://api.github.com/users/mampersat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-11-13T18:04:29Z","updated_at":"2016-11-14T04:33:27Z","closed_at":null,"body":"scan a second new card and get\r\n```bits=26 value=65573701\r\nHEY, You're NEW!!!!\r\nmmal: mmal_vc_component_enable: failed to enable component: ENOSPC\r\nException in thread Thread-1:\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python2.7/threading.py\", line 810, in __bootstrap_inner\r\n    self.run()\r\n  File \"/usr/lib/python2.7/dist-packages/pigpio.py\", line 966, in run\r\n    cb.func(cb.gpio, TIMEOUT, tick)\r\n  File \"/home/pi/pi/ElectricSlide/pi/reader.py\", line 71, in _cb\r\n    self.callback(self.bits, self.num)\r\n  File \"electricslide.py\", line 73, in callback\r\n    slide.ride(value)\r\n  File \"electricslide.py\", line 58, in ride\r\n    self.new_user(user_id)\r\n  File \"electricslide.py\", line 40, in new_user\r\n    camera = picamera.PiCamera()\r\n  File \"/usr/lib/python2.7/dist-packages/picamera/camera.py\", line 488, in __init__\r\n    self.STEREO_MODES[stereo_mode], stereo_decimate)\r\n  File \"/usr/lib/python2.7/dist-packages/picamera/camera.py\", line 620, in _init_camera\r\n    prefix=\"Camera component couldn't be enabled\")\r\n  File \"/usr/lib/python2.7/dist-packages/picamera/exc.py\", line 191, in mmal_check\r\n    raise PiCameraMMALError(status, prefix)\r\nPiCameraMMALError: Camera component couldn't be enabled: Out of resources (other than memory)\r\n\r\n^CTraceback (most recent call last):\r\n  File \"electricslide.py\", line 79, in <module>\r\n    time.sleep(300)\r\nKeyboardInterrupt\r\n'''"},"comment":{"url":"https://api.github.com/repos/mampersat/ElectricSlide/issues/comments/260246534","html_url":"https://github.com/mampersat/ElectricSlide/issues/1#issuecomment-260246534","issue_url":"https://api.github.com/repos/mampersat/ElectricSlide/issues/1","id":260246534,"user":{"login":"flynnguy","id":78362,"avatar_url":"https://avatars.githubusercontent.com/u/78362?v=3","gravatar_id":"","url":"https://api.github.com/users/flynnguy","html_url":"https://github.com/flynnguy","followers_url":"https://api.github.com/users/flynnguy/followers","following_url":"https://api.github.com/users/flynnguy/following{/other_user}","gists_url":"https://api.github.com/users/flynnguy/gists{/gist_id}","starred_url":"https://api.github.com/users/flynnguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flynnguy/subscriptions","organizations_url":"https://api.github.com/users/flynnguy/orgs","repos_url":"https://api.github.com/users/flynnguy/repos","events_url":"https://api.github.com/users/flynnguy/events{/privacy}","received_events_url":"https://api.github.com/users/flynnguy/received_events","type":"User","site_admin":false},"created_at":"2016-11-14T04:33:27Z","updated_at":"2016-11-14T04:33:27Z","body":"I added this bit:\r\nhttps://github.com/mampersat/ElectricSlide/blob/master/pi/electricslide.py#L44\r\n\r\nWhich might help? I only have one card though.\r\n\r\nI also just committed:\r\nhttps://github.com/mampersat/ElectricSlide/blob/master/pi/main.py\r\n\r\nWhich adds the start of the lcars interface. I didn't get much of a chance to clean it up but it seems to work so far. Doesn't take a picture or anything yet but I was able to get a handler to fire."}}
{"actor":{"display_login":"flynnguy"}}