pimutils / pimutils/khal

Deal with partially broken icalendar files

Open
#1,264 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

type: bug upstream
Dominant language
Python
Stars
3.1k
Forks
233
Avg merge
1h 44m
Merged PRs (30d)
1

Description

We currently cannot import icalendar (.ics) files, that icalendar does not read. AFAIK icalendar currently raises an exception for invalid calendar files. We probably should fix this in khal (e.g. with some pre-parsing) but instead contribute to icalendar instead.

From now on, I'll close issues that are due to icalendar's behavior, but link them here.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the import failure with a partially broken .ics file and inspect how the icalendar library handles invalid calendar files. Determine whether the fix belongs in khal or should be contributed to icalendar; done means these files can be imported without the current exception.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.