Coder Social home page Coder Social logo

Crashes on new tzinfo? about tzdata HOT 7 CLOSED

lau avatar lau commented on July 3, 2024
Crashes on new tzinfo?

from tzdata.

Comments (7)

lau avatar lau commented on July 3, 2024 6

@Nicd & @MiLk the just released version 0.5.13 should fix the problem with ** (ArgumentError) argument error (stdlib) :ets.new(:tzdata_rel_2017c, [:set, :named_table])

from tzdata.

MiLk avatar MiLk commented on July 3, 2024 1

We are experiencing the same issue.
It seems Tzdata.ReleaseUpdater is trying to create an ets table, but the table is already present and owned by Tzdata.EtsHolder.

from tzdata.

OvermindDL1 avatar OvermindDL1 commented on July 3, 2024

I 'was' experiencing the same thing for many days, but it seems to have stopped and is updating properly now without ever rebooting the server or anything... o.O?

from tzdata.

lau avatar lau commented on July 3, 2024

Are you both using Timex? Is this happening during starting Timex / or you app? Or during compilation?

from tzdata.

jyurek avatar jyurek commented on July 3, 2024

We're using Timex, yes. This happens while the app is running and (typically) has been running for a while.

from tzdata.

OvermindDL1 avatar OvermindDL1 commented on July 3, 2024

Yeah it happened just during the daily updates, the server had been up for weeks without restart, then all of a sudden it was working again after a few many days of it not working. Been fine since, but definitely odd that it happened.

from tzdata.

Nicd avatar Nicd commented on July 3, 2024

I just got this on two different machines with tzdata 0.5.12:

[debug] Tzdata downloading new data from https://www.iana.org/time-zones/repository/tzdata-latest.tar.gz
[debug] Tzdata data downloaded. Release version 2017c.
[error] GenServer :tzdata_release_updater terminating
** (ArgumentError) argument error
    (stdlib) :ets.new(:tzdata_rel_2017c, [:set, :named_table])
    (tzdata) lib/tzdata/data_builder.ex:11: Tzdata.DataBuilder.load_and_save_table/0
    (tzdata) lib/tzdata/release_updater.ex:41: Tzdata.ReleaseUpdater.poll_for_update/0
    (tzdata) lib/tzdata/release_updater.ex:17: Tzdata.ReleaseUpdater.handle_info/2
    (stdlib) gen_server.erl:616: :gen_server.try_dispatch/4
    (stdlib) gen_server.erl:686: :gen_server.handle_msg/6
    (stdlib) proc_lib.erl:247: :proc_lib.init_p_do_apply/3
Last message: :check_if_time_to_update
State: []

from tzdata.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.