Skip to content

Instantly share code, notes, and snippets.

@AdiletAbylov
Created July 28, 2020 09:15
Show Gist options
  • Save AdiletAbylov/d1cc4fd31e1e4411495fde22f600d651 to your computer and use it in GitHub Desktop.
Save AdiletAbylov/d1cc4fd31e1e4411495fde22f600d651 to your computer and use it in GitHub Desktop.
[debug] Starting environment with new testchain
Testchain configuration:
%{
accounts: 2,
block_mine_time: 0,
clean_on_stop: true,
deploy_ref: "",
deploy_step_id: 0,
description: "",
id: "5948847470890965933",
network_id: 999,
snapshot_id: "",
type: :""
}
Stack Configs:
%{}
[debug] Starting new environment with stacks: []
[debug] 5948847470890965933: Chain DB path not configured will generate /tmp/chains/5948847470890965933
[error] Failed to start environment: {{:badmatch, {:error, {:shutdown, {:failed_to_start_child, "testchain_supervisor_5948847470890965933", {%ArgumentError{message: "The module :error was given as a child to a supervisor but it does not exist."}, [{Supervisor, :init_child, 1, [file: 'lib/supervisor.ex', line: 629]}, {Enum, :"-map/2-lists^map/1-0-", 2, [file: 'lib/enum.ex', line: 1336]}, {Supervisor, :init, 2, [file: 'lib/supervisor.ex', line: 615]}, {:supervisor, :init, 1, [file: 'supervisor.erl', line: 295]}, {:gen_server, :init_it, 2, [file: 'gen_server.erl', line: 374]}, {:gen_server, :init_it, 6, [file: 'gen_server.erl', line: 342]}, {:proc_lib, :init_p_do_apply, 3, [file: 'proc_lib.erl', line: 249]}]}}}}}, [{Staxx.Environment.Supervisor, :start_link, 1, [file: 'lib/environment/supervisor.ex', line: 36]}, {DynamicSupervisor, :start_child, 3, [file: 'lib/dynamic_supervisor.ex', line: 690]}, {DynamicSupervisor, :handle_start_child, 2, [file: 'lib/dynamic_supervisor.ex', line: 676]}, {:gen_server, :try_handle_call, 4, [file: 'gen_server.erl', line: 661]}, {:gen_server, :handle_msg, 6, [file: 'gen_server.erl', line: 690]}, {:proc_lib, :init_p_do_apply, 3, [file: 'proc_lib.erl', line: 249]}]}
[error] Unknown error catched in FallbackController:
{:error,
{{:badmatch,
{:error,
{:shutdown,
{:failed_to_start_child, "testchain_supervisor_5948847470890965933",
{%ArgumentError{
message: "The module :error was given as a child to a supervisor but it does not exist."
},
[
{Supervisor, :init_child, 1, [file: 'lib/supervisor.ex', line: 629]},
{Enum, :"-map/2-lists^map/1-0-", 2, [file: 'lib/enum.ex', line: 1336]},
{Supervisor, :init, 2, [file: 'lib/supervisor.ex', line: 615]},
{:supervisor, :init, 1, [file: 'supervisor.erl', line: 295]},
{:gen_server, :init_it, 2, [file: 'gen_server.erl', line: 374]},
{:gen_server, :init_it, 6, [file: 'gen_server.erl', line: 342]},
{:proc_lib, :init_p_do_apply, 3, [file: 'proc_lib.erl', line: 249]}
]}}}}},
[
{Staxx.Environment.Supervisor, :start_link, 1,
[file: 'lib/environment/supervisor.ex', line: 36]},
{DynamicSupervisor, :start_child, 3,
[file: 'lib/dynamic_supervisor.ex', line: 690]},
{DynamicSupervisor, :handle_start_child, 2,
[file: 'lib/dynamic_supervisor.ex', line: 676]},
{:gen_server, :try_handle_call, 4, [file: 'gen_server.erl', line: 661]},
{:gen_server, :handle_msg, 6, [file: 'gen_server.erl', line: 690]},
{:proc_lib, :init_p_do_apply, 3, [file: 'proc_lib.erl', line: 249]}
]}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment