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

Failed to setup after upgrade today #148

Closed
Cyrelion opened this issue Sep 17, 2024 · 7 comments
Closed

Failed to setup after upgrade today #148

Cyrelion opened this issue Sep 17, 2024 · 7 comments

Comments

@Cyrelion
Copy link

The problem

Logger: homeassistant.config_entries
Source: config_entries.py:604
First occurred: 20:58:40 (2 occurrences)
Last logged: 21:02:35

Error setting up entry XXXXXX for webuntis
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 604, in async_setup
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/webuntis/init.py", line 59, in async_setup_entry
server = WebUntis(hass, unique_id, entry)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/webuntis/init.py", line 169, in init
self.calendar_replace_name = config.options["calendar_replace_name"]
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
KeyError: 'calendar_replace_name'

Version of Home Assistant?

2024.9.2

What type of installation are you running?

Home Assistant OS

Version of WebUntis

1.2.3

Last working WebUntis version

1.2.2

Traceback/Error logs

Logger: homeassistant.config_entries
Source: config_entries.py:604
First occurred: 20:58:40 (2 occurrences)
Last logged: 21:02:35

Error setting up entry XXXXXX for webuntis
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 604, in async_setup
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/webuntis/init.py", line 59, in async_setup_entry
server = WebUntis(hass, unique_id, entry)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/webuntis/init.py", line 169, in init
self.calendar_replace_name = config.options["calendar_replace_name"]
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
KeyError: 'calendar_replace_name'

Additional information

No response

@Cyrelion
Copy link
Author

After downgrade to 1.2.2 everything is working again.

@Cyrelion
Copy link
Author

Achso, genau der Fehler den ihr hier diskutiert habt: #133 (comment)

@JonasJoKuJonas
Copy link
Owner

Der commit mit dem fix wurde anscheinend doch nicht ins update übernommen

@JonasJoKuJonas
Copy link
Owner

jetzt aber
v1.2.4

@Cyrelion
Copy link
Author

Leider nicht ;-( 1.2.4 geht immer noch nicht

@JonasJoKuJonas
Copy link
Owner

sorry war grad nur am handy und hab die falsche Zeile erwischt
habs jetzt am Laptop gefixt

@Cyrelion
Copy link
Author

Vielen Dank. Jetzt klappt alles 🥰

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants