Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

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

Abierto
#684 5 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
38/100
Tipo de issue
Error
Claridad
Necesita aclaración
Estado de actividad
Tranquilo
Stack tecnológico
python
Área
api

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.
Lenguaje dominante
Python
Estrellas
412
Forks
113
Merge medio
11 h 37 min
PR fusionados (30 d)
50

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de python-caldav/caldav

Todos los issues de python-caldav/caldav

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.