Skip to content

bug: parsing issue in DESCRIPTION #1441

@gabyx

Description

@gabyx

Describe the bug
Khal does not report a --json=description field on some .ics I have here (specifically a Teams .ics).

I guess its a parsing problem in the following: I have anonymized that stuff:

DESCRIPTION:Hi team!\nIt's time for our weekly update meeting, where we
  celebrate our wins, brainstorm ideas, and explore new opportunities.\nTo ma
 ke the most of our time together, please share any topics you'd like to disc
 uss on Slack beforehand (our friendly auto-reminder will nudge you 😉).\nLet
 's support each other and continue doing incredible things!\nSee you there!\
 nlaksjdf\n\n_________________________________________________________
 _______________________\nMicrosoft Teams Need help?<https://aka.ms/JoinTeams
 Meeting?omkt=en-GB>\nJoin the meeting now<https://teams.microsoft.com/l/meet
 up-join/19%3ameeting_OTFmMGY3MDMt5MjEwZjVlM2M5%40thre
 ad.v2/0?context=%7b%22Tid%22%3a%22f6c2556a-c4fb-4ab1-a2c7-9e220df11c43%22%2c
 %22Oid%22%3a%22b098ed7f-b9ae-41b8-82e8-302edfa3f704%22%7d>\nMeeting ID: 12034
 265 067 079 6\nPasscode: klajsdfl\n________________________________\nDial in
  by phone\n+41 43 211 12 10,,745116261#<tel:+12341234,,12341234#> Switze
 rland, Zurich\nFind a local number<https://dialin.teams.microsoft.com/f24fe5
 aa-5933-459f-bea7-c123412341234?id=1234>\nPhone conference ID: 132 234 123
 #\nFor organisers: Meeting options<https://teams.microsoft.com/meetingOpti
 ons/?organizerId=b098ed7f-b9ae-41b8-1234-302e704&tenantId=f6c255-c4fb
 -4ab1-a2c7-9e220df11c43&threadId=19_meeting_OTFmMGY3MDMtMDdiLTlkY2It
 ZjY5MjEwZjVlM2M5@thread.v2&messageId=0&language=en-GB> | Reset dial-in PIN<h
 ttps://dialin.teams.microsoft.com/usp/pstnconferencing>\n___________________
 _____________________________________________________________\n
RRULE:FREQ=WEEKLY;UNTIL=20260124T140000Z;INTERVAL=3;BYDAY=TH;WKST=MO

If applicable: Stack Trace
No stack trace, it just reports no description for that .ics.

To Reproduce
Steps to reproduce the behavior:

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

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

  • The output of khal --version: 0.13.0
  • Installation method: nixpkgs
  • python version [e.g. python 3.9]
  • OS: nixos
  • Your khal config file: none

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