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

Setup fails in Home Assistant due to icalendar #3259

Open
dawiinci opened this issue Dec 22, 2024 · 4 comments
Open

Setup fails in Home Assistant due to icalendar #3259

dawiinci opened this issue Dec 22, 2024 · 4 comments

Comments

@dawiinci
Copy link

dawiinci commented Dec 22, 2024

raise IndexError("No components found.") File "/Users/server/Steuerung/homeassistant/lib/python3.13/site-packages/recurring_ical_events.py", line 1547, in CalendarQuery icalendar.InvalidCalendar, ^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: module 'icalendar' has no attribute 'InvalidCalendar'

recurring_ical_events got an update on the 20.12. Setup worked before.

@ChristophCaina
Copy link
Contributor

same: #3271

@peterbaumert
Copy link

peterbaumert commented Dec 25, 2024

Same here with following error:

File "/config/custom_components/waste_collection_schedule/waste_collection_schedule/source/abfall_io.py", line 9, in <module>
    from waste_collection_schedule.service.ICS import ICS
  File "/config/custom_components/waste_collection_schedule/waste_collection_schedule/service/ICS.py", line 7, in <module>
    from icalevents import icalevents
  File "/usr/local/lib/python3.13/site-packages/icalevents/icalevents.py", line 3, in <module>
    from .icalparser import parse_events, Event
  File "/usr/local/lib/python3.13/site-packages/icalevents/icalparser.py", line 18, in <module>
    from icalendar.windows_to_olson import WINDOWS_TO_OLSON
ModuleNotFoundError: No module named 'icalendar.windows_to_olson'

Probably should be

from icalendar.timezone.windows_to_olson import WINDOWS_TO_OLSON

@z-master42
Copy link

Same here with following error:

File "/config/custom_components/waste_collection_schedule/waste_collection_schedule/source/abfall_io.py", line 9, in <module>
    from waste_collection_schedule.service.ICS import ICS
  File "/config/custom_components/waste_collection_schedule/waste_collection_schedule/service/ICS.py", line 7, in <module>
    from icalevents import icalevents
  File "/usr/local/lib/python3.13/site-packages/icalevents/icalevents.py", line 3, in <module>
    from .icalparser import parse_events, Event
  File "/usr/local/lib/python3.13/site-packages/icalevents/icalparser.py", line 18, in <module>
    from icalendar.windows_to_olson import WINDOWS_TO_OLSON
ModuleNotFoundError: No module named 'icalendar.windows_to_olson'

Probably should be

from icalendar.timezone.windows_to_olson import WINDOWS_TO_OLSON

This is another error.

@karflyer
Copy link

karflyer commented Jan 9, 2025

Same here with the following error:
File "/config/custom_components/waste_collection_schedule/waste_collection_schedule/source/ics.py", line 15, in <module> from waste_collection_schedule.service.ICS import ICS File "/config/custom_components/waste_collection_schedule/waste_collection_schedule/service/ICS.py", line 7, in <module> from icalevents import icalevents File "/usr/local/lib/python3.13/site-packages/icalevents/icalevents.py", line 3, in <module> from .icalparser import parse_events, Event File "/usr/local/lib/python3.13/site-packages/icalevents/icalparser.py", line 18, in <module> from icalendar.windows_to_olson import WINDOWS_TO_OLSON ModuleNotFoundError: No module named 'icalendar.windows_to_olson'

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

5 participants