Code Monkey home page Code Monkey logo

Comments (4)

frederikaalund avatar frederikaalund commented on June 14, 2024

Thanks for taking your time to document this behaviour and make me aware of it.

Indeed, it is an upstream issue so we are not able to fix it directly. I think it is a good idea to simply document this behaviour in lieu of a proper fix. This way, Windows users have a chance to avoid this apparently common issue with the ProactorEventLoop. I don't think that we should force a specific event loop implemention on our Windows users. Let them keep their choice of event loop and simply raise awareness of the issue instead.

I suggest that we add a "Note for Windows Users" section to the Readme.md file that explains this issue and the possible work-arounds. Maybe mention both SelectorEventLoop and uvloop just to give our users some choice. How does that sound to you?

Do you want to make a pull request or should I just go ahead and implement the change?

from aiomqtt.

binary1230 avatar binary1230 commented on June 14, 2024

from aiomqtt.

frederikaalund avatar frederikaalund commented on June 14, 2024

Great! :) I'll go ahead and document the behaviour when I have the time.

Thanks for reporting the issue. Please let me know if you encounter more strange behaviour like this.

from aiomqtt.

qorinator avatar qorinator commented on June 14, 2024

I had the same issue. Took me a while to get to this point because the error thrown from on_socket_open doesn't really show what type of error is thrown.

It only says:
Caught exception in on_socket_open:

from aiomqtt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.