{"action":"created","issue":{"url":"https://api.github.com/repos/diydrones/dronekit-python/issues/54","labels_url":"https://api.github.com/repos/diydrones/dronekit-python/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/diydrones/dronekit-python/issues/54/comments","events_url":"https://api.github.com/repos/diydrones/dronekit-python/issues/54/events","html_url":"https://github.com/diydrones/dronekit-python/issues/54","id":67187176,"number":54,"title":"Simple CherryPy Server","user":{"login":"AndrewKe","id":6137845,"avatar_url":"https://avatars.githubusercontent.com/u/6137845?v=3","gravatar_id":"","url":"https://api.github.com/users/AndrewKe","html_url":"https://github.com/AndrewKe","followers_url":"https://api.github.com/users/AndrewKe/followers","following_url":"https://api.github.com/users/AndrewKe/following{/other_user}","gists_url":"https://api.github.com/users/AndrewKe/gists{/gist_id}","starred_url":"https://api.github.com/users/AndrewKe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndrewKe/subscriptions","organizations_url":"https://api.github.com/users/AndrewKe/orgs","repos_url":"https://api.github.com/users/AndrewKe/repos","events_url":"https://api.github.com/users/AndrewKe/events{/privacy}","received_events_url":"https://api.github.com/users/AndrewKe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-04-08T18:14:04Z","updated_at":"2015-04-08T22:18:45Z","closed_at":null,"body":"I can't seem to get a simple CherryPy Server working with DroneKit. The code below works fine when I execute it out of mavproxy using  `python drone.py`  but when I enter mavproxy and execute it using `api start drone.py` , none of the CherryPy debug messages appear and I just get \"STABILIZE> APIThread-0 exiting...\"\r\n\r\n```python\r\n#drone.py\r\n\r\nimport cherrypy\r\n\r\nclass HelloWorld(object):\r\n    @cherrypy.expose\r\n    def index(self):\r\n        return \"Hello world!\"\r\n\r\nif __name__ == '__main__':\r\n   cherrypy.quickstart(HelloWorld())\r\n```\r\n\r\nI'm trying this on a RaspberryPi2 and the 'drone delivery\" demo which also uses CherryPy works on it. \r\n"},"comment":{"url":"https://api.github.com/repos/diydrones/dronekit-python/issues/comments/91052979","html_url":"https://github.com/diydrones/dronekit-python/issues/54#issuecomment-91052979","issue_url":"https://api.github.com/repos/diydrones/dronekit-python/issues/54","id":91052979,"user":{"login":"mrpollo","id":317648,"avatar_url":"https://avatars.githubusercontent.com/u/317648?v=3","gravatar_id":"","url":"https://api.github.com/users/mrpollo","html_url":"https://github.com/mrpollo","followers_url":"https://api.github.com/users/mrpollo/followers","following_url":"https://api.github.com/users/mrpollo/following{/other_user}","gists_url":"https://api.github.com/users/mrpollo/gists{/gist_id}","starred_url":"https://api.github.com/users/mrpollo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrpollo/subscriptions","organizations_url":"https://api.github.com/users/mrpollo/orgs","repos_url":"https://api.github.com/users/mrpollo/repos","events_url":"https://api.github.com/users/mrpollo/events{/privacy}","received_events_url":"https://api.github.com/users/mrpollo/received_events","type":"User","site_admin":false},"created_at":"2015-04-08T22:18:45Z","updated_at":"2015-04-08T22:18:45Z","body":"glad we could help, thanks for sharing!"}}