pimutils / pimutils/khal

Crash on import

Open
#1,210 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Hello !

I'm trying to import an ics file exported manually from Outlook with khal 0.10.5 installed with homebrew on Linux Mint 21

I created a configuration file with khal configure and edited. This is the actual file. Worth mentioning is that the directory the path configuration field points to exists. It was created by khal with mode 775 and it belongs to me:me !

[calendars]
  [[work]]
    path = ~/.local/share/khal/work
    color = dark green
    readonly = True
    type = calendar

[locale]
timeformat = %H:%M
dateformat = %d/%m/%Y
longdateformat = %d/%m/%Y
datetimeformat = %d/%m/%Y %H:%M
longdatetimeformat = %d/%m/%Y %H:%M

When I execute

$ khal import -a work ~/Téléchargements/calendar.ics

It prints the first event available and then the following error message :

critical: No writable calendars found, aborting import.

I guess I'm doing something dumb 😄

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

Reproduce the report with khal 0.10.5 using khal import -a work ~/Téléchargements/calendar.ics and the configuration shown. Trace the import path and writable-calendar validation; done means the reported Outlook-exported ICS imports successfully or the configuration error is reported clearly.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.