pimutils / pimutils/khal

Importing .ics files from neomutt is broken

Open
#1,163 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

After the most recent update to khal I get the following error when I try to import an .ics file from neomutt with the binding macro attach \Ck "<pipe-message>khal import <enter>" :

warning: /dev/tty does not exist, importing might not work
.... <event info> ....
Do you want to import this event into `private`? [y/N]: Aborted!
Press any key to continue...

and the event is not imported.


khal version: 0.10.5
neomutt: 20220429

System:

OS: Arch Linux x86_64 
Host: 20L7CTO1WW ThinkPad T480s 
Kernel: 5.18.9-arch1-1 
Shell: zsh 5.9 
WM: sway 
Terminal: foot 
CPU: Intel i7-8550U (8) @ 4.000GHz 
GPU: Intel UHD Graphics 620 

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 failure using the neomutt macro and khal import, noting the /dev/tty does not exist warning and the aborted confirmation. Trace the import entry point and its terminal interaction; done means an .ics event from neomutt imports successfully without aborting.

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
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.