-
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
Calendar Update Failed #193
Comments
After much exploration, I managed to track the problem down to the problematic calendar event, and I eventually figured out that its description included the Unicode character for a non breaking space \u00a0. I was able to replace it with a regular space and all is now well. I'm not sure what ics_calendar's expected behaviour should be. |
My expectation is that it would work. :) I might be able to work around it, but when I have the chance, I’ll see if I can reproduce it with something small and submit a bug report to the parser. As long as it was UTF-8 encoded correctly, it should be allowed, IMO. |
I also get a lot of calendar update fails.
|
@JayWll I can't reproduce this, using either the current version of icalendar, or the version that was used by v5.0.4. Can you provide more detail on where exactly the non-breaking space was? Looking at the code, the error is confusing for that to be a problem. @CAP-Team Can you post the actual ics file, with any personal info redacted? I don't think you're seeing the same problem, but I don't have enough info to determine what might be wrong. Thanks! |
Current errors. Funny thing is I only get errors on calendars that are shared with me, I don't see errors for my own calendar
|
@CAP-Team I can't reproduce the problem using your ics file, with either the ics parser (what it looks like you're using, from the error message), or with recurring_ical_events. Can you configure the failing calendars to use the default rie parser instead of ics? |
I must say since the last updates I haven't had any errors retrieving the calendars. |
Home Assistant Setup
Please indicate your version of HA and how it is installed.
Version: 2024.11.2
Installation Type (put an X between the square brackets for your HA):
[x] Home Assistant OS
[] Home Assistant Supervised
[] Home Assistant Container
[] Home Assistant Core
Hardware platform:
[x] ARM
[] x86-64
Describe the bug
One of my calendars that had previously been working has been consistently failing over the past few days. No events are visible in the calendar. Other calendars managed through ics_calendar are not experiencing any issue. I assime therefore this must be related to some content/event on the calendar itself, but I can't figure out what that could be. The error from the home assistant logs is below, although I've truncated both the
ValueError
lines as they're each several thousand characters long.Validating the ical file through https://icalendar.org/validator.html results in no errors found.
I'm using ics_calendar version 5.0.4 installed through HACS.
The text was updated successfully, but these errors were encountered: