Skip to content

Missing runtime requirement to tzdata #930

@jstammi

Description

@jstammi

Using the api from ZuinigeRijder/hyundai_kia_connect_monitor using base pathon installation (docker image python:3.10-slim) fails with:

Traceback (most recent call last):
  File "/opt/hyundai_kia_connect_monitor/monitor.py", line 47, in <module>
    from hyundai_kia_connect_api import VehicleManager, Vehicle, exceptions
  File "/opt/hyundai_kia_connect_monitor/hyundai_kia_connect_api/__init__.py", line 12, in <module>
    from .VehicleManager import VehicleManager
  File "/opt/hyundai_kia_connect_monitor/hyundai_kia_connect_api/VehicleManager.py", line 19, in <module>
    from .KiaUvoApiCA import KiaUvoApiCA
  File "/opt/hyundai_kia_connect_monitor/hyundai_kia_connect_api/KiaUvoApiCA.py", line 69, in <module>
    CA_TIMEZONES = [
  File "/opt/hyundai_kia_connect_monitor/hyundai_kia_connect_api/KiaUvoApiCA.py", line 70, in <listcomp>
    ZoneInfo(f"Canada/{zone}")
  File "/usr/local/lib/python3.10/zoneinfo/_common.py", line 24, in load_tzdata
    raise ZoneInfoNotFoundError(f"No time zone found with key {key}")
zoneinfo._common.ZoneInfoNotFoundError: 'No time zone found with key Canada/Newfoundland'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions