bug: parsing issue in `DESCRIPTION`

Aperta
#1,441 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 7 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
python
Ambito
cli

Direzione di ricerca

Inizia riproducendo l'output mancante di --json=description con il contenuto Teams .ics anonimizzato, quindi traccia il modo in cui khal analizza la proprietà DESCRIPTION. Il lavoro è completato quando la descrizione di questo evento viene riportata in JSON senza compromettere le righe ripiegate o i caratteri di nuova riga con escape.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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
 [email protected]&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
Lingua principale
Python
Stelle
3.1k
Fork
243
Merge medio
12g 8h
PR unite (30g)
6

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di pimutils/khal

Tutte le issue di pimutils/khal

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.