Skip to content

Recurring event with exclusions produce warnings #1446

@varac

Description

@varac

Describe the bug
I have en recurring event with many exclusions and it seems khal produces a warning for every exclusion:

warning: In event d215d83c-101b-4116-aed8-d481b8cdc47e.ics, excluded instance starting at 2025-06-05 09:30:00+02:00 not found, event might be invalid.
warning: In event d215d83c-101b-4116-aed8-d481b8cdc47e.ics, excluded instance starting at 2025-06-12 09:30:00+02:00 not found, event might be invalid.
...

To Reproduce

Use khal with the attached .ics file.

Expected behavior
If the .ics is invalid, the warning should be more detailed, so users understand what's the problem.
If the .ics is valid, khal should not produce a warning.

OS, version, khal version and how you installed it:

  • The output of khal --version: khal, version 0.13.0
  • Installation method: Manjaro Arch package
  • python version: 3.13.7
  • OS: Arch (Manjaro)

d215d83c-101b-4116-aed8-d481b8cdc47e.ics.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions