-
Notifications
You must be signed in to change notification settings - Fork 17
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
Error during setup of component cellar_tracker #4
Comments
I also received this error. |
Same here: Happy to assist troubleshooting as we have a fair bit in the cellar |
I have the same error. Home Assistant 2021.8.7 |
I found a temporary solution - by modifying the same row like this: This appears to fix the issue? |
Hi I got this error on HA:
Logger: homeassistant.setup
Source: custom_components/cellar_tracker/init.py:99
Integration: cellar_tracker (documentation)
First occurred: 2:43:07 PM (1 occurrences)
Last logged: 2:43:07 PM
Error during setup of component cellar_tracker
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 249, in _async_setup_component
result = await task
File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/cellar_tracker/init.py", line 52, in setup
hass.data[DOMAIN].update()
File "/usr/src/homeassistant/homeassistant/util/init.py", line 280, in wrapper
result = method(args, **kwargs)
File "/config/custom_components/cellar_tracker/init.py", line 99, in update
group_data["%"] = group_data.apply( lambda x: 100x / x.sum() )
File "/usr/local/lib/python3.9/site-packages/pandas/core/frame.py", line 3599, in setitem
self._set_item_frame_value(key, value)
File "/usr/local/lib/python3.9/site-packages/pandas/core/frame.py", line 3724, in _set_item_frame_value
raise ValueError("Columns must be same length as key")
ValueError: Columns must be same length as key
Do you know of any solution on the problem?
The text was updated successfully, but these errors were encountered: