Skip to content

Couldn't run application when execute ./run_beta #20

@sc0Vu

Description

@sc0Vu

I saw this error when execute ./run_beta second time. ./run_beta will work if I clean the cached data in clones/man.

Error output:

====== Coinbase ======
clog_april       (0x7d7c4cb64035e7b0edf08a30f07c4e603982b95c)

=======> Elixir.Model.Sql loaded after 0.02s
Starting Elixir.Channels...
=======> Elixir.Channels loaded after 0.0s
Starting Elixir.PubSub...
=======> Elixir.PubSub loaded after 0.0s
Starting Elixir.Chain.BlockCache...
=======> Elixir.Chain.BlockCache loaded after 0.001s
Starting Elixir.Chain...
=======> Elixir.Chain loaded after 0.002s
** (Mix) Could not start application Elixir.Diode: Diode.start(:normal, []) returned an error: shutdown: failed to start child: Chain
    ** (EXIT) an exception was raised:
        ** (ArgumentError) argument error
            :erlang.binary_to_term(<<131, 116, 0, 0, 0, 5, 100, 0, 10, 95, 95, 115, 116, 114, 117, 99, 116, 95, 95, 100, 0, 18, 69, 108, 105, 120, 105, 114, 46, 67, 104, 97, 105, 110, 46, 66, 108, 111, 99, 107, 100, 0, 8, 99, 111, 105, 110, 98, 97, 115, ...>>, [:safe])
            (Elixir.Diode 0.2.9) lib/bert.ex:23: BertInt.decode!/1
            (Elixir.Diode 0.2.9) lib/chain.ex:245: Chain.load_blocks/0
            (Elixir.Diode 0.2.9) lib/chain.ex:28: Chain.init/1
            (stdlib 3.13.2) gen_server.erl:417: :gen_server.init_it/2
            (stdlib 3.13.2) gen_server.erl:385: :gen_server.init_it/6
            (stdlib 3.13.2) proc_lib.erl:226: :proc_lib.init_p_do_apply/3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions