{"action":"opened","issue":{"url":"https://api.github.com/repos/Dan-in-CA/OSPi/issues/112","labels_url":"https://api.github.com/repos/Dan-in-CA/OSPi/issues/112/labels{/name}","comments_url":"https://api.github.com/repos/Dan-in-CA/OSPi/issues/112/comments","events_url":"https://api.github.com/repos/Dan-in-CA/OSPi/issues/112/events","html_url":"https://github.com/Dan-in-CA/OSPi/issues/112","id":92124061,"number":112,"title":"Socket Issue After Forcing Exit","user":{"login":"Tails86","id":12876919,"avatar_url":"https://avatars.githubusercontent.com/u/12876919?v=3","gravatar_id":"","url":"https://api.github.com/users/Tails86","html_url":"https://github.com/Tails86","followers_url":"https://api.github.com/users/Tails86/followers","following_url":"https://api.github.com/users/Tails86/following{/other_user}","gists_url":"https://api.github.com/users/Tails86/gists{/gist_id}","starred_url":"https://api.github.com/users/Tails86/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tails86/subscriptions","organizations_url":"https://api.github.com/users/Tails86/orgs","repos_url":"https://api.github.com/users/Tails86/repos","events_url":"https://api.github.com/users/Tails86/events{/privacy}","received_events_url":"https://api.github.com/users/Tails86/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-30T15:25:43Z","updated_at":"2015-06-30T15:25:43Z","closed_at":null,"body":"I have been mostly executing OSPi through SSH. I execute sip.py in a terminal window, do whatever testing I need to do to a plugin, and then close the window once I am done. I know that I really shouldn't be forcing it down like that, so this can be chalked up to user error. I still want to at least note this issue in case someone else is doing something that they shouldn't. I wonder if you could get this same result just by unplugging the system. Occasionally, I run into socket errors when running the program.\r\n\r\n    plugins loaded:\r\n      mobile_app\r\n      plugin_manager\r\n    http://0.0.0.0:80/\r\n     Starting timing loop\r\n\r\n    Traceback (most recent call last):\r\n      File \"sip.py\", line 204, in <module>\r\n        app.run()\r\n      File \"sip.py\", line 157, in run\r\n        return web.httpserver.runsimple(func, ('0.0.0.0', port))\r\n      File \"/home/pi/OSPi/web/httpserver.py\", line 157, in runsimple\r\n        server.start()\r\n      File \"/home/pi/OSPi/web/wsgiserver/__init__.py\", line 1753, in start\r\n        raise socket.error(msg)\r\n    socket.error: No socket could be created\r\n\r\nIt doesn't help if I try to remove data files. This error goes away only when I remove the directory and then clone the repo again. I kept a copy of a corrupted clone if you would like to take a look at it."}}