Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

timezone :tz_release_updater terminating #151

Open
alpeshjamgade opened this issue Sep 13, 2024 · 2 comments
Open

timezone :tz_release_updater terminating #151

alpeshjamgade opened this issue Sep 13, 2024 · 2 comments

Comments

@alpeshjamgade
Copy link

can anyone help me on this, since last few days facing this issue in production.
everything in build is the same including library version. suddenly getting this issue.

:tzdata, "~> 1.0"
elixir 1.11.2
erlang 23.0

Error:

10:31:56.726 [error] GenServer :tzdata_release_updater terminating
** (ArgumentError) argument error
:erlang.element(1, :error)
(tzdata 1.1.1) lib/tzdata/util.ex:223: Tzdata.Util.to_int/1
(tzdata 1.1.1) lib/tzdata/parser.ex:38: Tzdata.Parser.process_rule/1
(tzdata 1.1.1) lib/tzdata/parser.ex:24: Tzdata.Parser.process_tz_list/1
(tzdata 1.1.1) lib/tzdata/parser.ex:86: Tzdata.Parser.process_zone/5
(tzdata 1.1.1) lib/tzdata/parser.ex:24: Tzdata.Parser.process_tz_list/1
(tzdata 1.1.1) lib/tzdata/parser.ex:86: Tzdata.Parser.process_zone/5
(tzdata 1.1.1) lib/tzdata/parser.ex:24: Tzdata.Parser.process_tz_list/1
(tzdata 1.1.1) lib/tzdata/parser.ex:86: Tzdata.Parser.process_zone/5
(tzdata 1.1.1) lib/tzdata/parser.ex:24: Tzdata.Parser.process_tz_list/1
(tzdata 1.1.1) lib/tzdata/parser.ex:86: Tzdata.Parser.process_zone/5
(tzdata 1.1.1) lib/tzdata/parser.ex:24: Tzdata.Parser.process_tz_list/1
(tzdata 1.1.1) lib/tzdata/parser.ex:86: Tzdata.Parser.process_zone/5
(tzdata 1.1.1) lib/tzdata/parser.ex:24: Tzdata.Parser.process_tz_list/1
(tzdata 1.1.1) lib/tzdata/parser.ex:86: Tzdata.Parser.process_zone/5
(tzdata 1.1.1) lib/tzdata/parser.ex:24: Tzdata.Parser.process_tz_list/1
(tzdata 1.1.1) lib/tzdata/parser.ex:86: Tzdata.Parser.process_zone/5
(tzdata 1.1.1) lib/tzdata/parser.ex:24: Tzdata.Parser.process_tz_list/1
(tzdata 1.1.1) lib/tzdata/parser.ex:86: Tzdata.Parser.process_zone/5
(tzdata 1.1.1) lib/tzdata/parser.ex:24: Tzdata.Parser.process_tz_list/1
Last message: :check_if_time_to_update
State: []

@peaceful-james
Copy link

peaceful-james commented Sep 13, 2024

Can you upgrade to latest version (1.1.2)?

ba42b76

image

From your stacktrace:

:erlang.element(1, :error)

You can see the commit I linked and screenshotted changes a line to return a tuple instead of an int. I think this is at the heart of your issue.

@fortmarek
Copy link

Thanks @peaceful-james!

We were seeing the same issue and upgrading tzdata resolved it for us.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants