Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

AssertionError ("Deviation from expectations found") when using Infomaniak CalDAV with Home Assistant Container

Aperta
#684 5 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
38/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Tranquilla
Stack tecnologico
python
Ambito
api

Direzione di ricerca

Start with the assertion in caldav/lib/error.py at the line shown in the traceback, then trace its callers to identify which condition fails during Infomaniak calendar and task synchronization. The report does not expose that condition or name a test; done means identifying the failure and confirming normal synchronization no longer logs the assertion.

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

Descrizione

AssertionError ("Deviation from expectations found") when using Infomaniak CalDAV with Home Assistant Container

Description

Repeated AssertionError messages are logged by the caldav library when it is used as a module/integration under Home Assistant.[1]

The CalDAV backend is connected to an Infomaniak server, with multiple calendars and tasks enabled.[2][3]

Logs

Enregistreur: caldav
Source: /usr/local/lib/python3.14/site-packages/caldav/lib/error.py:53
S'est produit pour la première fois: 11 juin 2026 à 22:53:25 (104 occurrences)
Dernier enregistrement: 10:08:25

Deviation from expectations found. Please consider raising an issue at https://github.com/python-caldav/caldav/issues or reach out to [email protected], include this error and the traceback (if any) and tell what server you are using

Traceback (most recent call last):
  File "/usr/local/lib/python3.14/site-packages/caldav/lib/error.py", line 50, in assert_
    assert condition
AssertionError

Environment

  • Installation method: Home Assistant Container
  • Home Assistant Core: 2026.6.2
  • Home Assistant frontend: 20260527.5
  • Python: 3.14 (based on the module path in the traceback)
  • Component: caldav
  • Usage context: Home Assistant module / integration

CalDAV server

  • Provider: Infomaniak
  • Usage: multiple calendars and tasks[2][3]
  • Possible endpoint family: https://sync.infomaniak.com[2][3]

Expected behavior

Normal calendar and task synchronization should not trigger assertion errors.

Actual behavior

The integration repeatedly logs:

Deviation from expectations found

with the traceback shown above.

Additional context

  • First occurrence: 2026-06-11 22:53:25
  • Last logged: 2026-06-12 10:08:25
  • Number of occurrences: 104
  • The traceback does not expose which internal condition failed.
Lingua principale
Python
Stelle
412
Fork
113
Merge medio
1g 2h
PR unite (30g)
41

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 python-caldav/caldav

Tutte le issue di python-caldav/caldav

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.