{"action":"created","issue":{"url":"https://api.github.com/repos/gavincabbage/johnny5/issues/1","labels_url":"https://api.github.com/repos/gavincabbage/johnny5/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/gavincabbage/johnny5/issues/1/comments","events_url":"https://api.github.com/repos/gavincabbage/johnny5/issues/1/events","html_url":"https://github.com/gavincabbage/johnny5/issues/1","id":103761632,"number":1,"title":"Feed fails on second request","user":{"login":"gavincabbage","id":5225414,"avatar_url":"https://avatars.githubusercontent.com/u/5225414?v=3","gravatar_id":"","url":"https://api.github.com/users/gavincabbage","html_url":"https://github.com/gavincabbage","followers_url":"https://api.github.com/users/gavincabbage/followers","following_url":"https://api.github.com/users/gavincabbage/following{/other_user}","gists_url":"https://api.github.com/users/gavincabbage/gists{/gist_id}","starred_url":"https://api.github.com/users/gavincabbage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gavincabbage/subscriptions","organizations_url":"https://api.github.com/users/gavincabbage/orgs","repos_url":"https://api.github.com/users/gavincabbage/repos","events_url":"https://api.github.com/users/gavincabbage/events{/privacy}","received_events_url":"https://api.github.com/users/gavincabbage/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gavincabbage/johnny5/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-28T17:31:07Z","updated_at":"2015-08-28T17:31:36Z","closed_at":null,"body":"The feed fails with the following output when the test page is refreshed.\r\n\r\n```\r\n[2015-08-28 13:26:51 +0000] [12158] [INFO] Starting gunicorn 19.3.0\r\n[2015-08-28 13:26:51 +0000] [12158] [INFO] Listening at: http://0.0.0.0:9090 (12158)\r\n[2015-08-28 13:26:51 +0000] [12158] [INFO] Using worker: sync\r\n[2015-08-28 13:26:51 +0000] [12163] [INFO] Booting worker with pid: 12163\r\n[2015-08-28 13:26:51 +0000] [12164] [INFO] Booting worker with pid: 12164\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 552, in __bootstrap_inner\r\n    self.run()\r\n  File \"/usr/lib/python2.7/threading.py\", line 505, in run\r\n    self.__target(*self.__args, **self.__kwargs)\r\n  File \"/home/johnny/johnny5/feed/camera.py\", line 66, in _thread\r\n    with picamera.PiCamera() as camera:\r\n  File \"/home/johnny/johnny5/feed/venv/local/lib/python2.7/site-packages/picamera/camera.py\", line 488, in __init__\r\n    self.STEREO_MODES[stereo_mode], stereo_decimate)\r\n  File \"/home/johnny/johnny5/feed/venv/local/lib/python2.7/site-packages/picamera/camera.py\", line 620, in _init_camera\r\n    prefix=\"Camera component couldn't be enabled\")\r\n  File \"/home/johnny/johnny5/feed/venv/local/lib/python2.7/site-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^C[2015-08-28 13:28:32 +0000] [12158] [INFO] Handling signal: int\r\n[2015-08-28 13:28:32 +0000] [12164] [INFO] Worker exiting (pid: 12164)\r\n[2015-08-28 13:28:32 +0000] [12163] [INFO] Worker exiting (pid: 12163)\r\n^C^C^C[2015-08-28 13:29:02 +0000] [12158] [INFO] Shutting down: Master\r\n```"},"comment":{"url":"https://api.github.com/repos/gavincabbage/johnny5/issues/comments/135840046","html_url":"https://github.com/gavincabbage/johnny5/issues/1#issuecomment-135840046","issue_url":"https://api.github.com/repos/gavincabbage/johnny5/issues/1","id":135840046,"user":{"login":"gavincabbage","id":5225414,"avatar_url":"https://avatars.githubusercontent.com/u/5225414?v=3","gravatar_id":"","url":"https://api.github.com/users/gavincabbage","html_url":"https://github.com/gavincabbage","followers_url":"https://api.github.com/users/gavincabbage/followers","following_url":"https://api.github.com/users/gavincabbage/following{/other_user}","gists_url":"https://api.github.com/users/gavincabbage/gists{/gist_id}","starred_url":"https://api.github.com/users/gavincabbage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gavincabbage/subscriptions","organizations_url":"https://api.github.com/users/gavincabbage/orgs","repos_url":"https://api.github.com/users/gavincabbage/repos","events_url":"https://api.github.com/users/gavincabbage/events{/privacy}","received_events_url":"https://api.github.com/users/gavincabbage/received_events","type":"User","site_admin":false},"created_at":"2015-08-28T17:31:36Z","updated_at":"2015-08-28T17:31:36Z","body":"Trying some things found here http://raspberrypi.stackexchange.com/questions/13764/what-causes-enospc-error-when-using-the-raspberry-pi-camera-module"}}