Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#684 5 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
38/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Ít trao đổi
Công nghệ
python
Lĩnh vực
api

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.
Ngôn ngữ chính
Python
Star
412
Fork
113
Merge trung bình
22 giờ 43 phút
Pull request đã merge (30 ngày)
43

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của python-caldav/caldav

Tất cả issue của python-caldav/caldav

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.