You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tried both the normal (Prepare Trakt) way and the workaround and got further with the workaround. I got to the trackt authorize page then the home assistant link page but that redirected me to the https://my.home-assistant.io/create-link/?redirect=oauth page with (sometimes) an "invalid parameters" popup.
The integration stay stuck for a while on the "Loading next step for Trackt".
Logger: homeassistant.config_entries
Source: config_entries.py:635
First occurred: 22:30:43 (2 occurrences)
Last logged: 22:34:06
Error setting up entry Trakt for trakt_tv
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 635, in __async_setup_with_context
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/trakt_tv/init.py", line 64, in async_setup_entry
await coordinator.async_config_entry_first_refresh()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 309, in async_config_entry_first_refresh
await self._async_refresh(
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 382, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 279, in _async_update_data
return await self.update_method()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/trakt_tv/apis/trakt.py", line 519, in retrieve_data
sources_data = await gather(*coroutine_sources_data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/trakt_tv/apis/trakt.py", line 316, in fetch_next_to_watch
data = await self.fetch_upcoming(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/trakt_tv/apis/trakt.py", line 268, in fetch_upcoming
raw_medias = await self.fetch_watched(excluded_shows, not only_upcoming)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/trakt_tv/apis/trakt.py", line 149, in fetch_watched
hidden_items = await self.request(
^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/trakt_tv/apis/trakt.py", line 97, in request
await self.retry_request(300, response, method, url, retry, **kwargs)
File "/config/custom_components/trakt_tv/apis/trakt.py", line 60, in retry_request
await sleep(wait_time)
File "/usr/local/lib/python3.12/asyncio/tasks.py", line 665, in sleep
return await future
^^^^^^^^^^^^
asyncio.exceptions.CancelledError
The text was updated successfully, but these errors were encountered:
Tried both the normal (Prepare Trakt) way and the workaround and got further with the workaround. I got to the trackt authorize page then the home assistant link page but that redirected me to the https://my.home-assistant.io/create-link/?redirect=oauth page with (sometimes) an "invalid parameters" popup.
The integration stay stuck for a while on the "Loading next step for Trackt".
trackt authorize page
Home assistant link page: https://my.home-assistant.io/redirect/oauth/?code=.........
Loading next step for Trackt
Also noticed that I get the same issue directly going to:
https://my.home-assistant.io/redirect/oauth
Logs from home assistant:
Logger: homeassistant.config_entries
Source: config_entries.py:635
First occurred: 22:30:43 (2 occurrences)
Last logged: 22:34:06
Error setting up entry Trakt for trakt_tv
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 635, in __async_setup_with_context
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/trakt_tv/init.py", line 64, in async_setup_entry
await coordinator.async_config_entry_first_refresh()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 309, in async_config_entry_first_refresh
await self._async_refresh(
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 382, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 279, in _async_update_data
return await self.update_method()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/trakt_tv/apis/trakt.py", line 519, in retrieve_data
sources_data = await gather(*coroutine_sources_data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/trakt_tv/apis/trakt.py", line 316, in fetch_next_to_watch
data = await self.fetch_upcoming(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/trakt_tv/apis/trakt.py", line 268, in fetch_upcoming
raw_medias = await self.fetch_watched(excluded_shows, not only_upcoming)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/trakt_tv/apis/trakt.py", line 149, in fetch_watched
hidden_items = await self.request(
^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/trakt_tv/apis/trakt.py", line 97, in request
await self.retry_request(300, response, method, url, retry, **kwargs)
File "/config/custom_components/trakt_tv/apis/trakt.py", line 60, in retry_request
await sleep(wait_time)
File "/usr/local/lib/python3.12/asyncio/tasks.py", line 665, in sleep
return await future
^^^^^^^^^^^^
asyncio.exceptions.CancelledError
The text was updated successfully, but these errors were encountered: