home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
74.06k stars 31.08k forks source link

Caldav error on todo with Nextcloud `'datetime.date' object has no attribute 'tzinfo'` #127634

Open Octelly opened 1 month ago

Octelly commented 1 month ago

The problem

106671 seems related

Home Assistant crashes when trying to sync a Nextcloud (28.0.10) Tasks (0.16.1) to-do list.

What version of Home Assistant Core has the issue?

core-2024.5.5

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Core

Integration causing the issue

CalDAV

Link to integration documentation on our website

https://www.home-assistant.io/integrations/caldav/

Diagnostics information

home-assistant_caldav_2024-10-05T11-31-20.006Z.log

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

Installed and configured via Nix on a NixOS installation.

Packaging is done here and the configuration module (likely less relevant) can be found here.

I am not familiar with HAss' codebase, but since Python module installation is handled by Nix here, checking out component packaging in particular could be relevant.

I really hope this is not a Nix-specific issue.

home-assistant[bot] commented 1 month ago

caldav documentation caldav source

tobixen commented 3 days ago

This seems to be a bug in the vobject module, which seems to be used directly by the HA caldav integration. It seems to me that the icalendar module is more mature and actively maintained than the vobject module, so I would recommend getting rid of the vobject dependency.