Skip to content
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

0.109.0b0... error inside the event loop #13

Closed
DavidFW1960 opened this issue Apr 23, 2020 · 8 comments · Fixed by #15
Closed

0.109.0b0... error inside the event loop #13

DavidFW1960 opened this issue Apr 23, 2020 · 8 comments · Fixed by #15

Comments

@DavidFW1960
Copy link
Contributor

Version of the gpodder

Newest version via HACS

Describe the bug

A clear and concise description of what the bug is.
Error message in HA Log

gpodder configuration

# Home Assistant Podcasts on gpodder
gpodder:
  username: !secret gpodder_user
  password: !secret gpodder_password
  sensor:
    - enabled: true
      name: gPodder
      device: homeassistant

Debug log

Log Details (WARNING)
Logger: homeassistant.util.async_
Source: util/async_.py:120
First occurred: 8:25:38 AM (7 occurrences)
Last logged: 9:26:33 AM

Detected I/O inside the event loop. This is causing stability issues. Please report issue to the custom component author for gpodder doing I/O at custom_components/gpodder/__init__.py, line 107: urls = hass.data[DOMAIN]["client"].get_subscriptions(device)
Detected I/O inside the event loop. This is causing stability issues. Please report issue to the custom component author for gpodder doing I/O at custom_components/gpodder/__init__.py, line 135: feed = podcastparser.parse(url, urlopen(Request(url, headers=REQUEST_HEADERS)), 5)
@stale
Copy link

stale bot commented May 7, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the Stale label May 7, 2020
@iantrich iantrich removed the Stale label May 7, 2020
@DavidFW1960
Copy link
Contributor Author

Stale???

@sealdana
Copy link

Is there a fix - I'm getting the same error.

@DavidFW1960
Copy link
Contributor Author

Getting more errors now with 0.110.2 it started

2020-05-27 10:10:58 WARNING (MainThread) [homeassistant.util.async_] Detected I/O inside the event loop. This is causing stability issues. Please report issue to the custom component author for gpodder doing I/O at custom_components/gpodder/__init__.py, line 107: urls = hass.data[DOMAIN]["client"].get_subscriptions(device)
2020-05-27 10:10:59 WARNING (MainThread) [homeassistant.util.async_] Detected I/O inside the event loop. This is causing stability issues. Please report issue to the custom component author for gpodder doing I/O at custom_components/gpodder/__init__.py, line 107: urls = hass.data[DOMAIN]["client"].get_subscriptions(device)
2020-05-27 10:10:59 ERROR (MainThread) [custom_components.gpodder] Could not update data - 500
2020-05-27 10:10:59 ERROR (MainThread) [homeassistant.components.sensor] gpodder: Error on device update!
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 322, in _async_add_entity
    await entity.async_device_update(warning=False)
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 470, in async_device_update
    await self.async_update()
  File "/config/custom_components/gpodder/sensor.py", line 27, in async_update
    await update_data(self.hass, self._device)
  File "/config/custom_components/gpodder/__init__.py", line 110, in update_data
    hass.data[DOMAIN_DATA] = update_using_feedservice(urls)
UnboundLocalError: local variable 'urls' referenced before assignment
2020-05-27 10:11:01 WARNING (MainThread) [homeassistant.helpers.entity_component] Forced update failed. Entity sensor.alarm_triggers not found.

@stale
Copy link

stale bot commented Jun 10, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the Stale label Jun 10, 2020
@DavidFW1960
Copy link
Contributor Author

Still broken

@stale stale bot removed the Stale label Jun 10, 2020
@sealdana
Copy link

Since I first commented on the broken plug-in back in May I had decided to leave it alone, normally I would've removed the install - it was not functional until today. I am now running ver 111.2 and it magically reappeared and functional.... It is now working for me.

@graneyc
Copy link

graneyc commented Jun 25, 2020

Just chiming in: I'm getting this same error on .111.3 though only the line 107 instance of it.

@ludeeus ludeeus mentioned this issue Jul 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

4 participants