-
Notifications
You must be signed in to change notification settings - Fork 209
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
Fail on some calendar isc. #1379
Comments
The first of the 4 of those entries appears to be complete and seems to be handled fine. The other 3 are truncated, which is where the problem lies. |
Would it make sense to make khal more fault tolerant / ignorant in such cases? Unfortunately this is the original feed that confluence returns. At the moment I do pre-filtering with another script. Theoretically a filter could turn feeds to standard ical format before importing to khal. |
There are two problems with looking at khal for this:
|
I think it would make sense to show a warning that some files are invalid and events won't be shown. But I'm also unsure of how to best implement this. |
Bug Report
Describe the bug
Dear khal Developers,
I am just about to start using khal for managing my event and encountered following issue when using Confluence calendar tool.
When subscribing to an ICS calendar created by Confluence (but could be probably any other non-standard app), certain entries containing custom properties are causing Exception by khal, making the events unimportable. These custom properties include:
X-CONFLUENCE-CUSTOM-EVENT-TYPE
X-CONFLUENCE-CUSTOM-TYPE-ID
X-CONFLUENCE-CUSTOM-TYPE-TITLE
Example of a problematic feed:
If applicable: Stack Trace
To Reproduce
X-CONFLUENCE-*
custom properties.Expected behavior
Screenshots
OS, version, khal version and how you installed it:
khal --version
:khal, version 0.11.2.dev20+g0c47162.d20230530
pip freeze
available upon request.Additional context
This issue arises with ICS calendar subscriptions from Confluence. The custom properties are probably critical for Confluence-specific functionality but should not prevent khal from importing or displaying the corresponding events.
Suggested resolution:
The text was updated successfully, but these errors were encountered: