Pouzor / freebox_player

Custom Component for Home Assistant, enable to remote Freebox Player
18 stars 7 forks source link

Detected I/O inside the event loop. #10

Closed lilbuh closed 3 years ago

lilbuh commented 4 years ago

Logger: homeassistant.util.async Source: util/async.py:120 First occurred: 19:31:13 (10 occurrences) Last logged: 19:31:13 Detected I/O inside the event loop. This is causing stability issues. Please report issue to the custom component author for freebox_player doing I/O at custom_components/freebox_player/init.py, line 58: requests.get(player_path+code, verify=False)

when in send multiple commands ( comma separated ) to increase volume

quand j envois des commande multiple separé par des virgule pour monter le son

Pouzor commented 4 years ago

Thx for the issue, I'm gonna check it today

merloose commented 4 years ago

Hi all, Same for me here. Detected I/O inside the event loop. This is causing stability issues. Please report issue to the custom component author for freebox_player doing I/O at custom_components/freebox_player/init.py, line 58: requests.get(player_path+code, verify=False)

merloose commented 4 years ago

Hi all made a pull request which solves the issue. for me at least. using aync_add_executor_job

JohannCR commented 3 years ago

Same here. @merloose suggestion seems to work for me too fyi

Pouzor commented 3 years ago

resolve with #12