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

Unexpected exception: list index out of range. (from logs) #400

Open
chronvas opened this issue Aug 15, 2024 · 7 comments
Open

Unexpected exception: list index out of range. (from logs) #400

chronvas opened this issue Aug 15, 2024 · 7 comments
Labels
bug Something isn't working

Comments

@chronvas
Copy link

Describe the bug
I just seen this log in the settings/logs suggesting to open an issue. Not sure how it affects the functionality of the integration.

To Reproduce
Steps to reproduce the behaviour:

  1. Go to 'settings/system'
  2. Click on 'logs'
  3. Scroll down to 'the error'
  4. See error

Expected behaviour
Not sure

Screenshots
See logs further down

Version
1.0.3 (latest)

Debug log
Enable debug logging by following the instructions here

Logger: custom_components.hildebrandglow_dcc.sensor
Source: custom_components/hildebrandglow_dcc/sensor.py:186
integration: Hildebrand Glow (DCC) ([documentation](https://github.com/HandyHat/ha-hildebrandglow-dcc), [issues](https://github.com/HandyHat/ha-hildebrandglow-dcc/issues))
First occurred: 1:05:10 AM (34 occurrences)
Last logged: 5:05:10 AM
Unexpected exception: list index out of range. Please open an issue

Traceback (most recent call last):
  File "/config/custom_components/hildebrandglow_dcc/sensor.py", line 186, in daily_data
    v = readings[0][1].value
        ~~~~~~~~^^^
IndexError: list index out of range

Additional context
Add any other context about the problem here.

@chronvas chronvas added the bug Something isn't working label Aug 15, 2024
@nickmit-1957
Copy link

I am getting the same error
2024-08-16 03:30:08.318 ERROR (MainThread) [custom_components.hildebrandglow_dcc.sensor] Unexpected exception: list index out of range. Please open an issue
Traceback (most recent call last):
File "/config/custom_components/hildebrandglow_dcc/sensor.py", line 183, in daily_data
return readings[0][1].value
~~~~~~~~^^^
IndexError: list index out of range

@MichaelMKKelly
Copy link

also seeing this:

Logger: custom_components.hildebrandglow_dcc.sensor
Source: custom_components/hildebrandglow_dcc/sensor.py:183
integration: Hildebrand Glow (DCC) (documentation, issues)
First occurred: 01:09:04 (31 occurrences)
Last logged: 03:39:04

Unexpected exception: list index out of range. Please open an issue
Traceback (most recent call last):
File "/config/custom_components/hildebrandglow_dcc/sensor.py", line 183, in daily_data
return readings[0][1].value
~~~~~~~~^^^
IndexError: list index out of range

@L81ker
Copy link

L81ker commented Aug 21, 2024

same Traceback (most recent call last):
File "/config/custom_components/hildebrandglow_dcc/sensor.py", line 183, in daily_data
return readings[0][1].value
~~~~~~~~^^^
IndexError: list index out of range

@bucklevision
Copy link

Also here...
Unexpected exception: list index out of range. Please open an issue
Traceback (most recent call last):
File "/config/custom_components/hildebrandglow_dcc/sensor.py", line 196, in daily_data
v = readings[0][1].value
~~~~~~~~^^^
IndexError: list index out of range

@MankeyJohn
Copy link

This error originated from a custom integration.

Logger: custom_components.hildebrandglow_dcc.sensor
Source: custom_components/hildebrandglow_dcc/sensor.py:183
integration: Hildebrand Glow (DCC) (documentation, issues)
First occurred: 01:06:43 (6 occurrences)
Last logged: 01:31:43

Unexpected exception: list index out of range. Please open an issue
Traceback (most recent call last):
File "/config/custom_components/hildebrandglow_dcc/sensor.py", line 183, in daily_data
return readings[0][1].value
~~~~~~~~^^^
IndexError: list index out of range

@DRCombes
Copy link

DRCombes commented Oct 8, 2024

I'm getting the same error on two new installations of this integration (for two different GlowMarkt accounts).

Unsure if this error is the reason that I'm not seeing the same data being pulled through to HA as I'm seeing in the Bright App.

@andrey-zotov
Copy link

The solution is here, fixed it for me:
#396 (comment)
Hope the mainainer can merge it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

8 participants