Skip to content

not a tuple #4196

@brianmay

Description

@brianmay

Is there an existing issue for this?

  • I have searched the existing issues

What happened?

Seeing a not a tuple error periodically in my logs. Seems to be associated with TzData. Was happening once an hour, and last occurrance was 2024-09-13 03:20:06UTC.

Possibly a bug from tzdata, maybe there was some sort of error condition with its update.

Expected Behavior

Error should not appear.

Steps To Reproduce

Run teslamate for a while and look at the logs.

Relevant log output

Sep 11 11:19:55 iot2 teslamate[24319]:   * 2nd argument: not a tuple
Sep 11 11:19:55 iot2 teslamate[24319]:     :erlang.element(1, :error)
Sep 11 11:19:55 iot2 teslamate[24319]:     (tzdata 1.1.1) lib/tzdata/util.ex:223: Tzdata.Util.to_int/1
Sep 11 11:19:55 iot2 teslamate[24319]:     (tzdata 1.1.1) lib/tzdata/parser.ex:38: Tzdata.Parser.process_rule/1
Sep 11 11:19:55 iot2 teslamate[24319]:     (tzdata 1.1.1) lib/tzdata/parser.ex:24: Tzdata.Parser.process_tz_list/1
Sep 11 11:19:55 iot2 teslamate[24319]:     (tzdata 1.1.1) lib/tzdata/parser.ex:86: Tzdata.Parser.process_zone/5
Sep 11 11:19:55 iot2 teslamate[24319]:     (tzdata 1.1.1) lib/tzdata/parser.ex:24: Tzdata.Parser.process_tz_list/1
Sep 11 11:19:55 iot2 teslamate[24319]:     (tzdata 1.1.1) lib/tzdata/parser.ex:86: Tzdata.Parser.process_zone/5
Sep 11 11:19:55 iot2 teslamate[24319]:     (tzdata 1.1.1) lib/tzdata/parser.ex:24: Tzdata.Parser.process_tz_list/1

Screenshots

No response

Additional data

No response

Type of installation

Manual

Version

57acace

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:teslamateRelated to TeslaMate coredependenciesPull requests that update a dependency fileelixirPull requests that update Elixir code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions