-
-
Notifications
You must be signed in to change notification settings - Fork 333
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AttributeError: type object 'GreenSocket' has no attribute 'sendmsg' #3015
Comments
As a quick fix you can probably There has to be a way to fix this that isn't just a game of whack-a-mole but I don't have any ideas. |
If I import trio before monkey patching it will fall with "AttributeError: module 'select' has no attribute 'epoll'". I ended up with this to avoid both attribute errors:
|
Sorry, I mean |
Ok I thought about this some more and this is totally just an eventlet bug. They claim |
I'm trying to work with openai package that uses trio on Flask app hosted on Heroku.
First it failed with 'epoll issue': #2848
I tired to fix it with monkey_patch, but got a new issue:
AttributeError: type object 'GreenSocket' has no attribute 'sendmsg'
My entry point with patch:
Dependencies:
Error logs:
Here starts the problem:
The text was updated successfully, but these errors were encountered: