Skip to content
New issue

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

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

Already on GitHub? # to your account

Error with tzdata-lib #336

Closed
VincentSC opened this issue Sep 26, 2024 · 1 comment
Closed

Error with tzdata-lib #336

VincentSC opened this issue Sep 26, 2024 · 1 comment

Comments

@VincentSC
Copy link

Got an error just after [info] Access KeilaWeb.Endpoint at https://.....

app-1      | 12:19:20.855 [info] tzdata release in place is from a file last modified Fri, 22 Oct 2021 02:20:47 GMT. Release file on server was last modified Thu, 05 Sep 2024 18:47:42 GMT.
app-1      | 12:19:21.447 [error] GenServer :tzdata_release_updater terminating
app-1      | ** (ArgumentError) errors were found at the given arguments:
app-1      | 
app-1      |   * 2nd argument: not a tuple
app-1      | 
app-1      |     :erlang.element(1, :error)
app-1      |     (tzdata 1.1.1) lib/tzdata/util.ex:223: Tzdata.Util.to_int/1
app-1      |     (tzdata 1.1.1) lib/tzdata/parser.ex:38: Tzdata.Parser.process_rule/1
app-1      |     (tzdata 1.1.1) lib/tzdata/parser.ex:24: Tzdata.Parser.process_tz_list/1
app-1      |     (tzdata 1.1.1) lib/tzdata/parser.ex:86: Tzdata.Parser.process_zone/5
app-1      |     (tzdata 1.1.1) lib/tzdata/parser.ex:24: Tzdata.Parser.process_tz_list/1
app-1      |     (tzdata 1.1.1) lib/tzdata/parser.ex:86: Tzdata.Parser.process_zone/5
app-1      |     (tzdata 1.1.1) lib/tzdata/parser.ex:24: Tzdata.Parser.process_tz_list/1
app-1      | Last message: :check_if_time_to_update

Seemingly more projects are hit by this bug. See for example: teslamate-org/teslamate#4196
So maybe just wait and then copy the solution? :)

What I also learned is that some get the error, and some don't, depending on their time-zone. I therefore tried to set the TZ environment variable to "Etc/GMT", but that did not work.

@wmnnd
Copy link
Contributor

wmnnd commented Nov 10, 2024

Thank you for reporting this; this was a bug in tzdata and should now be fixed with the update included in Keila 0.15.1.

@wmnnd wmnnd closed this as completed Nov 10, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants