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

Errors in HA log #22

Open
pcl101 opened this issue Jan 3, 2021 · 5 comments
Open

Errors in HA log #22

pcl101 opened this issue Jan 3, 2021 · 5 comments
Labels
help wanted Extra attention is needed

Comments

@pcl101
Copy link

pcl101 commented Jan 3, 2021

Installation went fine. But now I got these errors in my HA log and sensor data does not update.

HA 2020.12.7
Supervisor on Ubuntu 18 / docker

IndexError: list index out of range
2021-01-03 16:23:57 ERROR (MainThread) [homeassistant] Error doing job: Future exception was never retrieved
Traceback (most recent call last):
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/ha_strava/sensor.py", line 403, in strava_data_update_event_handler
self._data = event.data["activities"][self._activity_index]
IndexError: list index out of range
2021-01-03 16:23:57 ERROR (MainThread) [homeassistant] Error doing job: Future exception was never retrieved
Traceback (most recent call last):
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/ha_strava/sensor.py", line 403, in strava_data_update_event_handler
self._data = event.data["activities"][self._activity_index]
IndexError: list index out of range
2021-01-03 16:23:57 ERROR (MainThread) [homeassistant] Error doing job: Future exception was never retrieved
Traceback (most recent call last):
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/ha_strava/sensor.py", line 403, in strava_data_update_event_handler
self._data = event.data["activities"][self._activity_index]
IndexError: list index out of range
2021-01-03 16:23:57 ERROR (MainThread) [homeassistant] Error doing job: Future exception was never retrieved
Traceback (most recent call last):
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/ha_strava/sensor.py", line 403, in strava_data_update_event_handler
self._data = event.data["activities"][self._activity_index]
IndexError: list index out of range
2021-01-03 16:23:57 ERROR (MainThread) [homeassistant] Error doing job: Future exception was never retrieved
Traceback (most recent call last):
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/ha_strava/sensor.py", line 403, in strava_data_update_event_handler
self._data = event.data["activities"][self._activity_index]
IndexError: list index out of range
2021-01-03 16:23:57 ERROR (MainThread) [homeassistant] Error doing job: Future exception was never retrieved
Traceback (most recent call last):
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/ha_strava/sensor.py", line 403, in strava_data_update_event_handler
self._data = event.data["activities"][self._activity_index]
IndexError: list index out of range
2021-01-03 16:23:57 ERROR (MainThread) [homeassistant] Error doing job: Future exception was never retrieved
Traceback (most recent call last):
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/ha_strava/sensor.py", line 403, in strava_data_update_event_handler
self._data = event.data["activities"][self._activity_index]
IndexError: list index out of range
2021-01-03 16:23:57 ERROR (MainThread) [homeassistant] Error doing job: Future exception was never retrieved
Traceback (most recent call last):
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/ha_strava/sensor.py", line 403, in strava_data_update_event_handler
self._data = event.data["activities"][self._activity_index]
IndexError: list index out of range

@codingcyclist
Copy link
Owner

Hi @pcl101,

let's see what's going on here. The first thing I would check is how many activities you have on your Strava account. Is that number is smaller than the number of concurrent activities which you've configured for the integration?

best,

Simon

@pcl101
Copy link
Author

pcl101 commented Jan 3, 2021

You have a keen eye. I salute you Sir!

I've only got one activity in my Strava account ( just starten a trail run today ) and the number of concurrent activities in my configuration is set to 3.

Suggestion : I'll leave the number of activities in my configuration at 3 and see what happens over the next few days as the number of activities in Strava rises.

@pcl101
Copy link
Author

pcl101 commented Jan 4, 2021

Update : Got three activities in Strava. Still no luck. Same errors.

Could it be that this integration only works on the paid version of Strava?

@codingcyclist
Copy link
Owner

Hi @pcl101, I'm sorry that you keep having issues with the integration. Are all your three activities either Running, Cycling, or Hiking activities? Unfortunately, those are the only three types of activities which are currently supported by the integration.

@codingcyclist codingcyclist added the help wanted Extra attention is needed label Jan 6, 2021
@joelez83
Copy link

joelez83 commented Jan 6, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants