ValueError: Invalid async_mode specified

See original GitHub issue

Im using the flask app_factory method to initialize the app like this

socketio.init_app(app, async_mode="eventlet")

and it gives me the error above. this has never happened before. whats going on?

Did something change specifiying an async_mode that I am not aware of?

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
yingshaoxocommented, Jan 25, 2020

Maybe it’s just as simple as importing that module like this: from engineio.async_drivers import gevent

https://stackoverflow.com/a/55642042/8667243

0reactions
miguelgrinbergcommented, Apr 16, 2018

Well, that is unrelated to Socket.IO, so I don’t know. Sounds like one of your dependencies needs this file to be in the package. Maybe python-docx?

Read more comments on GitHub >

github_iconTop Results From Across the Web

"ValueError: Invalid async_mode specified" when bundling a ...
This troubled me a lot while using pyInstaller. I tried adding many different modules to hidden imports, but realized later that you just ......
Read more >
Invalid async_mode specified · Issue #35 - GitHub
When I try to run after pyinstaller--onefile socket_app.py , I get a Invalid async_mode specified error. This comes from \site-packages\engineio ...
Read more >
Developers - Invalid async_mode specified - - Bountysource
hello! Everything was OK when I run my python file, but it raised error run after be packed with pyinstaller:
Read more >
Welcome to GeoPy's documentation! — GeoPy 2.3.0 ...
Specifying Parameters Once; Geopy Is Not a Service; Async Mode ... api_key (str) – Should be a valid Bing Maps API key ......
Read more >
비동기 예제 애플리케이션 - Win32 apps - Microsoft Learn
UseProxy) { OpenType = INTERNET_OPEN_TYPE_PROXY; } // Create Session handle and specify async Mode SessionHandle = InternetOpen(L"WinInet ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found