ics_calendar: ICS_Calendar unable to setup calendar anymore
Home Assistant Setup Please indicate your version of HA and how it is installed.
Version:2024.12.0, installed in Kubernetes from Helm chart
Installation Type (put an X between the square brackets for your HA): [] Home Assistant OS [] Home Assistant OS [] Home Assistant Supervised [x] Home Assistant Container [] Home Assistant Core
Hardware platform: [] ARM [x] x86-64
Describe the bug After updating My home-assistant installation, I realized that ics_calendar was no longer working. I uninstalled ics_calendar, restarted home_assistant,then try to reinstall it (ics_calendar). When adding my calendar through the UI mecanism, I get an error at the screen for ics_calendar that says “Failed to set up”
The home-assistant logs are telling me:
2024-12-05 23:30:09.791 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Commun for ics_calendar
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 640, in __async_setup_with_context
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/ics_calendar/__init__.py", line 202, in async_setup_entry
await hass.config_entries.async_forward_entry_setups(entry, ["calendar"])
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 2278, in async_forward_entry_setups
await integration.async_get_platforms(platforms)
File "/usr/src/homeassistant/homeassistant/loader.py", line 1123, in async_get_platforms
if platform := self._get_platform_cached_or_raise(platform_name):
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 1214, in _get_platform_cached_or_raise
raise ModuleNotFoundError(
...<2 lines>...
)
ModuleNotFoundError: Platform ics_calendar.calendar not found
Used to work for quite a long time without hickups…
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 15 (4 by maintainers)
Commits related to this issue
- Add comments about issue #190, #194, #213, #214, and #215 — committed to franc6/ics_calendar by franc6 2 years ago
- Add comments about issue #190, #194, #213, #214, and #215 (#223) Description of change: Update README.md with information about dependency installation problems. :( ## Formatting, testing, and... — committed to franc6/ics_calendar by franc6 2 years ago
- chore(deps): update icalendar to 6.1 (#195) Fixes #194 Description of change: ## Formatting, testing, and code coverage Please note your pull request won't be accepted if you haven't properly... — committed to ccMatrix/ics_calendar by franc6 2 years ago
@wrichter Good one. I’ve set it this way for now. It fixed the issue for me so at least, my calendar’s back. Tks for the idea.