Code Monkey home page Code Monkey logo

Comments (6)

bdraco avatar bdraco commented on August 16, 2024 1

Thanks for reporting. This explains an event loop blocking problem I was trying to track down that I could never pin down that was leading to another issue.

from core.

home-assistant avatar home-assistant commented on August 16, 2024

Hey there @frenck, mind taking a look at this issue as it has been labeled with an integration (radio_browser) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of radio_browser can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign radio_browser Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


radio_browser documentation
radio_browser source
(message by IssueLinks)

from core.

bdraco avatar bdraco commented on August 16, 2024

It looks like it will lazy load the countries db in the event loop for https://github.com/pycountry/pycountry/blob/494a4b4c3c567650b877acd808b7ed60af0063cd/src/pycountry/__init__.py#L285

from core.

bdraco avatar bdraco commented on August 16, 2024

Maybe the simplest fix would be to get the len() of each db in the executor as it will cause it to lazy load https://github.com/pycountry/pycountry/blob/494a4b4c3c567650b877acd808b7ed60af0063cd/src/pycountry/db.py#L152 that will be used if the module has not yet been init/setup

from core.

OhioSpyderman avatar OhioSpyderman commented on August 16, 2024

Have a similar issue here:

"Detected blocking call to open inside the event loop by integration 'ps4'"

Related?

Bob.

from core.

OhioSpyderman avatar OhioSpyderman commented on August 16, 2024

image

from core.

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.