Coder Social home page Coder Social logo

Elixir 1.4.0-rc.1 errors on startup about tzdata HOT 5 CLOSED

lau avatar lau commented on July 22, 2024 1
Elixir 1.4.0-rc.1 errors on startup

from tzdata.

Comments (5)

jschneider1207 avatar jschneider1207 commented on July 22, 2024 2

This is because of the following update to 1.4-rc.1

[GenServer] Log error on default handle_info/2 implementation

The Tzdata.ReleaseUpdater does not implement a handle_info, so the default (that now logs an error) is used.

from tzdata.

mgwidmann avatar mgwidmann commented on July 22, 2024

Also, may be unrelated but I was having trouble starting the app up after doing this...

This is what would happen when I would start it:

=INFO REPORT==== 16-Dec-2016::11:30:40 ===
    application: logger
    exited: stopped
    type: temporary
** (Mix) Could not start application tzdata: exited in: Tzdata.App.start(:normal, [])
    ** (EXIT) an exception was raised:
        ** (MatchError) no match of right hand side value: {:error, {:shutdown, {:failed_to_start_child, Tzdata.EtsHolder, {{:badmatch, {:error, {:read_error, {:not_a_log_file, '/Users/mattwidmann/my_project/_build/dev/lib/tzdata/priv/release_ets/2016j.ets'}}}}, [{Tzdata.EtsHolder, :load_ets_table, 1, [file: 'lib/tzdata/ets_holder.ex', line: 51]}, {Tzdata.EtsHolder, :load_release, 0, [file: 'lib/tzdata/ets_holder.ex', line: 44]}, {Tzdata.EtsHolder, :init, 1, [file: 'lib/tzdata/ets_holder.ex', line: 12]}, {:gen_server, :init_it, 6, [file: 'gen_server.erl', line: 328]}, {:proc_lib, :init_p_do_apply, 3, [file: 'proc_lib.erl', line: 247]}]}}}}
            (tzdata) lib/tzdata/tzdata_app.ex:15: Tzdata.App.start/2
            (kernel) application_master.erl:273: :application_master.start_it_old/4

I fixed it by rm -rf _build deps and rebuilding the application.

from tzdata.

venkatd avatar venkatd commented on July 22, 2024

I am getting the same error

Tzdata.ReleaseUpdater :tzdata_release_updater received unexpected message in handle_info/2: {#Reference<0.0.1.54193>,
 %Task{owner: #PID<0.8391.0>, pid: #PID<0.9591.0>,
  ref: #Reference<0.0.5.36545>}}

from tzdata.

venkatd avatar venkatd commented on July 22, 2024

If #27 is merged, we will no longer need to implement handle_info. This is because if we remove the dependency on Task, handle_info will no longer get called. In the words of @sschneider1207

tasks send a message to the creating process when done
that await usually will consume
the Tzdata gen_server does not await the task

from tzdata.

jbodah avatar jbodah commented on July 22, 2024

This is because of the following update to 1.4-rc.1

Sweet, I was wondering what changed. Thanks

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.