-
Notifications
You must be signed in to change notification settings - Fork 28
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
Calender Recently Started Failing Due to "recurring_ical_events.InvalidCalendar: The event definition for [...] only contains modifications." #145
Comments
Same issue on my side. Seems that it occurred first time just after the HACS 2.0 update. |
To add to the data pool, I myself have not updated to HACS 2.0 yet. |
Thanks for the report. That does look like a problem in recurring_ical_events, but it may be one that I can work around. Note the entry shows it was created on 2023-09-14, but both last modified and dtstamp show 2024-08-26. I suspect the problem has something to do with that, but that’s odd to me. I might be able to remove or update the data since that info isn’t something that HA’s calendar entries know about, and is thus ignored. If you do report a problem upstream, please reply here with a link to the report so I know about it. IIRC, bug entries are best received with a full (but minimal) ics and example code. Mostly that means adding BEGIN:VCALENDAR/END:VCALENDAR to what you posted here. If I get the time to report the problem first, I’ll make note of it here, too. |
Adding a datapoint: I had this error but when I reverted back to Home Assistant Core 2024.8.2 it was fixed. I can also confirm that HACS 2.0.0 doesn't break it either. Sorry I am not well versed enough to be able to provide a useful log, but hoping that this data point might help! |
I rolled back to 2024.8.2 with no other changes and the problem was also solved for me. |
Same here, does not work even with a new created calendar. |
It seems that the main issue is probably caused by a dependency of recurring_ical_events, as one of its dependencies is also a dependency of the caldav component of HA. An update to that could easily cause this when using the newer version of HA. However, the problem that @r0bb10 sees is different. That looks like a direct problem in recurring_ical_events, and is probably unrelated to the other issues. There's no reason an event has to start before it ends, as setting the same time is common for all day events. When I get the chance, I'll report these problems upstream. Does going back to the older version of HA fix your problem, too, @r0bb10 ? If so, that suggests somebody added recurring_ical_events as a dependency of HA itself. |
I have the same issue currently:
|
They also released version 3.0.0 a couple weeks ago, which might have broken things since it's a major version bump. https://github.com/mampfes/hacs_waste_collection_schedule/ also pulls it in as a dependency, but actually specifies a lower minimum version than this project, so it shouldn't be an issue. |
Same issue for me as well. Today HACS has been updated to 2.0.1 but still the same.
All my calendars are shown as empty. |
Also having this issue., But it works when reverting back to 2024.8.2 async_get_events: Trimble: Failed to parse ICS! |
Same thing with 2024.9.1. I'm rolling back to 2024.8.2. |
This error has been fixed in the python-recurring-ical-events library. Hopefully the next version bump will fix this in HomeAssistant |
There was a new release of recurring-ical-events today, and I don't observe the problem with it. I also got the time today to finish off the other changes I've been very slowly working on, and I've made a release today. Please check with version 5.0.0, and report here if that fixes the problems for you. Please pay special attention to the release notes for this version. |
I have updated to 5.0 but I am still seeing the issue. I have recently completely migrated my HA system to another device so I haven't been able to recreate this upstream yet. |
same issue also here, updated to 5.0 and reconfigured via ui. url tested: https://www.formula1.it/agcalarm.ics
|
Generally, the new version works, as long "Include all day events" isn't checked. @franc6 nice to have a configuration UI now, thanks! Just some small steps to go to get, maybe, for the all day events. |
Thanks for the updated reports. That's odd, since the unit tests cover most of these cases, and don't show problems parsing for the same date. I'm guessing there's something different with your setup than with mine, but I'm not sure what that could be yet, since installing 5.0.0 should have updated to the same dependency versions. But please note for now, there's another problem with 5.0.0, and I recommend downgrading back to 4.2.0 for now. With 5.0.0, I'm now seeing calendars disappearing -- that didn't happen all day yesterday, but I won't have time to get back to this until next week. |
I only use ics_calendar for my work calendar (which isn't working in either v4 or v5) so I can stay on v5 and beta test anything you need. My HA setup is back to "close enough to stable" for me to get back into the nitty gritty. |
The new version 5.0.2 did it for me! Perfect! Thanks to all! |
I'll throw in I have been having this same issue. I am on 5.0.2 and reconfigured via UI. I can get it to work if I switch the parser to ICS but then the times seem off and even the events aren't accurate. It is a work calendar that only shows if I'm busy or not. I usually have it ignore free events. Here is the error:
Here is one of the events Looks like it fails on the first event to fail. I removed the first one I found and then removed the calendar and added it back and found another event. |
Updated to v5.0.2, completely new service configured via UI. I am also still getting the same error
|
I goofed earlier when updating the dependencies. They should be updated more properly now -- please install 5.0.3 and try again. If it still fails, those who know how, please report the versions of python, icalendar, and recurring_ical_events. Thanks! |
Just updated to v5.0.3 and my calendar works again! Thank you for your hard work! |
So far so good, but I deleted the troublesome events. I'll keep an eye on it to make sure it stays operational. |
Recently my Google Calendar has disappeared from Home Assistant. When I checked the logs I saw many failures of:
Downloading the .ics file myself and looking for that event gave me this (obfuscated, since this is a work calendar)
The thing is this event is very old and has been in my calendar for a long time, but it only stopped working recently. I can see from the stack trace this may be in the dependency
recurring_ical_events
but figured I'd raise this here to validate that before I go opening up tickets upstream.Thanks
Victor
The text was updated successfully, but these errors were encountered: