ics_calendar
ics_calendar copied to clipboard
Post update to 5.1.0 Error message Detected blocking call to import_module with args ('tzdata.zoneinfo',)
Home Assistant Setup Please indicate your version of HA and how it is installed.
Version core-2024.12.4
Type d'installation | Home Assistant OS
Installation Type (put an X between the square brackets for your HA): [X] Home Assistant OS [] Home Assistant OS [] Home Assistant Supervised [] Home Assistant Container [] Home Assistant Core
Hardware platform: [X] ARM [] x86-64
Describe the bug
After updating 5.0.4 to 5.1.0, I have two errors when starting H.A But this does not seem to have any impact on the operation
If you need information do not hesitate to ask me
Can you help me please
######################################################################################### Enregistreur: homeassistant.util.loop Source: util/loop.py:136 S'est produit pour la première fois: 16:26:52 (2 occurrences) Dernier enregistrement: 16:26:52
Detected blocking call to import_module with args ('tzdata.zoneinfo',) inside the event loop by custom integration 'ics_calendar' at custom_components/ics_calendar/parsers/parser_rie.py, line 33: self._calendar = Calendar.from_ical(content) (offender: /usr/local/lib/python3.13/importlib/resources/_common.py, line 82: return importlib.import_module(cand)), please create a bug report at https://github.com/franc6/ics_calendar/issues For developers, please see https://developers.home-assistant.io/docs/asyncio_blocking_operations/#import_module Traceback (most recent call last): File "
Detected blocking call to open with args (PosixPath('/usr/local/lib/python3.13/site-packages/tzdata/zoneinfo/Romance Standard Time'), 'rb') inside the event loop by custom integration 'ics_calendar' at custom_components/ics_calendar/parsers/parser_rie.py, line 33: self._calendar = Calendar.from_ical(content) (offender: /usr/local/lib/python3.13/zoneinfo/_common.py, line 12: return resources.files(package_name).joinpath(resource_name).open("rb")), please create a bug report at https://github.com/franc6/ics_calendar/issues For developers, please see https://developers.home-assistant.io/docs/asyncio_blocking_operations/#open Traceback (most recent call last): File "