{"action":"created","issue":{"url":"https://api.github.com/repos/miguelgrinberg/python-socketio/issues/35","repository_url":"https://api.github.com/repos/miguelgrinberg/python-socketio","labels_url":"https://api.github.com/repos/miguelgrinberg/python-socketio/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/miguelgrinberg/python-socketio/issues/35/comments","events_url":"https://api.github.com/repos/miguelgrinberg/python-socketio/issues/35/events","html_url":"https://github.com/miguelgrinberg/python-socketio/issues/35","id":167239547,"number":35,"title":"Invalid async_mode specified","user":{"login":"yousiku","id":17907382,"avatar_url":"https://avatars3.githubusercontent.com/u/17907382?v=4","gravatar_id":"","url":"https://api.github.com/users/yousiku","html_url":"https://github.com/yousiku","followers_url":"https://api.github.com/users/yousiku/followers","following_url":"https://api.github.com/users/yousiku/following{/other_user}","gists_url":"https://api.github.com/users/yousiku/gists{/gist_id}","starred_url":"https://api.github.com/users/yousiku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yousiku/subscriptions","organizations_url":"https://api.github.com/users/yousiku/orgs","repos_url":"https://api.github.com/users/yousiku/repos","events_url":"https://api.github.com/users/yousiku/events{/privacy}","received_events_url":"https://api.github.com/users/yousiku/received_events","type":"User","site_admin":false},"labels":[{"id":236452969,"url":"https://api.github.com/repos/miguelgrinberg/python-socketio/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":20,"created_at":"2016-07-24T15:48:00Z","updated_at":"2018-04-11T13:11:31Z","closed_at":null,"author_association":"NONE","body":"hello!\nEverything was OK when I run my python file, but it raised error run after be packed with pyinstaller:\n\n```\nTraceback (most recent call last):\n\n  File \"ems\\core\\task.py\", line 67, in add\n  File \"ems\\ems_socket_service.py\", line 26, in __init__\n  File \"site-packages\\socketio\\server.py\", line 72, in __init__\n  File \"site-packages\\engineio\\server.py\", line 100, in __init__\nValueError: Invalid async_mode specified\n```\n\nthe code :`self.socketio = socketio.Server(async_mode='gevent')`\n\nI tried self.socketio = socketio.Server(), it's also useless, and i have installed gevent.\n"},"comment":{"url":"https://api.github.com/repos/miguelgrinberg/python-socketio/issues/comments/380446254","html_url":"https://github.com/miguelgrinberg/python-socketio/issues/35#issuecomment-380446254","issue_url":"https://api.github.com/repos/miguelgrinberg/python-socketio/issues/35","id":380446254,"user":{"login":"nat-goodspeed","id":5013144,"avatar_url":"https://avatars3.githubusercontent.com/u/5013144?v=4","gravatar_id":"","url":"https://api.github.com/users/nat-goodspeed","html_url":"https://github.com/nat-goodspeed","followers_url":"https://api.github.com/users/nat-goodspeed/followers","following_url":"https://api.github.com/users/nat-goodspeed/following{/other_user}","gists_url":"https://api.github.com/users/nat-goodspeed/gists{/gist_id}","starred_url":"https://api.github.com/users/nat-goodspeed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nat-goodspeed/subscriptions","organizations_url":"https://api.github.com/users/nat-goodspeed/orgs","repos_url":"https://api.github.com/users/nat-goodspeed/repos","events_url":"https://api.github.com/users/nat-goodspeed/events{/privacy}","received_events_url":"https://api.github.com/users/nat-goodspeed/received_events","type":"User","site_admin":false},"created_at":"2018-04-11T13:11:31Z","updated_at":"2018-04-11T13:11:31Z","author_association":"NONE","body":"@tonk777, I see that you quoted and commented the relevant passages from [`greendns.py`](https://github.com/eventlet/eventlet/blob/master/eventlet/support/greendns.py#L48), indicating what does not work.\r\n\r\nDo you know what *would* work? How should `greendns.py` be modified?"}}
{"actor":{"display_login":"nat-goodspeed"}}