[Solved] Minerva 2.0 can not find accounts.json in Windows 10

Error log:

2019-02-27 23:18:47.610 [error] <0.300.0> CRASH REPORT Process <0.300.0> with 0 neighbours crashed with reason: {genesis_accounts_file_missing,“d:/ae/Minerva200/data.epoch@localhost/aecore/.genesis/accounts.json”} in aec_fork_block_settings:preset_accounts/2 line 37
2019-02-27 23:18:47.610 [error] <0.298.0> Supervisor aec_conductor_sup had child aec_conductor started with aec_conductor:start_link() at undefined exit with reason {genesis_accounts_file_missing,“d:/ae/Minerva200/data.epoch@localhost/aecore/.genesis/accounts.json”} in aec_fork_block_settings:preset_accounts/2 line 37 in context start_error
2019-02-27 23:18:47.610 [error] <0.289.0> Supervisor aecore_sup had child aec_conductor_sup started with aec_conductor_sup:start_link() at undefined exit with reason {shutdown,{failed_to_start_child,aec_conductor,{{genesis_accounts_file_missing,“d:/ae/Minerva200/data.epoch@localhost/aecore/.genesis/accounts.json”},[{aec_fork_block_settings,preset_accounts,2,[{file,“c:/projects/aeternity/apps/aecore/src/aec_fork_block_settings.erl”},{line,37}]},{aec_block_genesis,genesis_block_with_state,0,[{file,“c:/projects/aeternity/apps/aecore/src/aec_block_genesis.erl”},{line,98}]},{aec_conductor,init_chain_state,0,[{file,“c:/projects/aeternity/apps/aecore/src/aec_c…”},…]},…]}}} in context start_error
2019-02-27 23:18:47.610 [error] <0.270.0> CRASH REPORT Process <0.270.0> with 0 neighbours exited with reason: {{shutdown,{failed_to_start_child,aec_conductor_sup,{shutdown,{failed_to_start_child,aec_conductor,{{genesis_accounts_file_missing,“d:/ae/Minerva200/data.epoch@localhost/aecore/.genesis/accounts.json”},[{aec_fork_block_settings,preset_accounts,2,[{file,“c:/projects/aeternity/apps/aecore/src/aec_fork_block_settings.erl”},{line,37}]},{aec_block_genesis,genesis_block_with_state,0,[{file,“c:/projects/aeternity/apps/aecore/src/aec_block_genesis.erl”},{line,98}]},{aec_conductor,init_chain_state,0,…},…]}}}}},…} in application_master:init/4 line 134
2019-02-27 23:20:13.236 [error] <0.385.0> CRASH REPORT Process <0.385.0> with 0 neighbours exited with reason: {genesis_accounts_file_missing,“d:/ae/Minerva200/data.epoch@localhost/aecore/.genesis/accounts.json”} in aec_fork_block_settings:preset_accounts/2 line 37 in application_master:init/4 line 134

Crash log:
2019-02-27 23:18:47 =CRASH REPORT====
crasher:
initial call: aec_conductor:init/1
pid: <0.300.0>
registered_name:
exception error: {{genesis_accounts_file_missing,“d:/ae/Minerva200/data.epoch@localhost/aecore/.genesis/accounts.json”},[{aec_fork_block_settings,preset_accounts,2,[{file,“c:/projects/aeternity/apps/aecore/src/aec_fork_block_settings.erl”},{line,37}]},{aec_block_genesis,genesis_block_with_state,0,[{file,“c:/projects/aeternity/apps/aecore/src/aec_block_genesis.erl”},{line,98}]},{aec_conductor,init_chain_state,0,[{file,“c:/projects/aeternity/apps/aecore/src/aec_conductor.erl”},{line,198}]},{aec_conductor,init,1,[{file,“c:/projects/aeternity/apps/aecore/src/aec_conductor.erl”},{line,175}]},{gen_server,init_it,2,[{file,“gen_server.erl”},{line,365}]},{gen_server,init_it,6,[{file,“gen_server.erl”},{line,333}]},{proc_lib,init_p_do_apply,3,[{file,“proc_lib.erl”},{line,247}]}]}
ancestors: [aec_conductor_sup,aecore_sup,<0.271.0>]
message_queue_len: 0
messages:
links: [<0.298.0>]
dictionary:
trap_exit: true
status: running
heap_size: 1598
stack_size: 27
reductions: 1241
neighbours:
2019-02-27 23:18:47 =SUPERVISOR REPORT====
Supervisor: {local,aec_conductor_sup}
Context: start_error
Reason: {{genesis_accounts_file_missing,“d:/ae/Minerva200/data.epoch@localhost/aecore/.genesis/accounts.json”},[{aec_fork_block_settings,preset_accounts,2,[{file,“c:/projects/aeternity/apps/aecore/src/aec_fork_block_settings.erl”},{line,37}]},{aec_block_genesis,genesis_block_with_state,0,[{file,“c:/projects/aeternity/apps/aecore/src/aec_block_genesis.erl”},{line,98}]},{aec_conductor,init_chain_state,0,[{file,“c:/projects/aeternity/apps/aecore/src/aec_conductor.erl”},{line,198}]},{aec_conductor,init,1,[{file,“c:/projects/aeternity/apps/aecore/src/aec_conductor.erl”},{line,175}]},{gen_server,init_it,2,[{file,“gen_server.erl”},{line,365}]},{gen_server,init_it,6,[{file,“gen_server.erl”},{line,333}]},{proc_lib,init_p_do_apply,3,[{file,“proc_lib.erl”},{line,247}]}]}
Offender: [{pid,undefined},{id,aec_conductor},{mfargs,{aec_conductor,start_link,}},{restart_type,permanent},{shutdown,5000},{child_type,worker}]

2019-02-27 23:18:47 =SUPERVISOR REPORT====
Supervisor: {local,aecore_sup}
Context: start_error
Reason: {shutdown,{failed_to_start_child,aec_conductor,{{genesis_accounts_file_missing,“d:/ae/Minerva200/data.epoch@localhost/aecore/.genesis/accounts.json”},[{aec_fork_block_settings,preset_accounts,2,[{file,“c:/projects/aeternity/apps/aecore/src/aec_fork_block_settings.erl”},{line,37}]},{aec_block_genesis,genesis_block_with_state,0,[{file,“c:/projects/aeternity/apps/aecore/src/aec_block_genesis.erl”},{line,98}]},{aec_conductor,init_chain_state,0,[{file,“c:/projects/aeternity/apps/aecore/src/aec_conductor.erl”},{line,198}]},{aec_conductor,init,1,[{file,“c:/projects/aeternity/apps/aecore/src/aec_conductor.erl”},{line,175}]},{gen_server,init_it,2,[{file,“gen_server.erl”},{line,365}]},{gen_server,init_it,6,[{file,“gen_server.erl”},{line,333}]},{proc_lib,init_p_do_apply,3,[{file,“proc_lib.erl”},{line,247}]}]}}}
Offender: [{pid,undefined},{id,aec_conductor_sup},{mfargs,{aec_conductor_sup,start_link,}},{restart_type,permanent},{shutdown,5000},{child_type,supervisor}]

2019-02-27 23:18:47 =CRASH REPORT====
crasher:
initial call: application_master:init/4
pid: <0.270.0>
registered_name:
exception exit: {{{shutdown,{failed_to_start_child,aec_conductor_sup,{shutdown,{failed_to_start_child,aec_conductor,{{genesis_accounts_file_missing,“d:/ae/Minerva200/data.epoch@localhost/aecore/.genesis/accounts.json”},[{aec_fork_block_settings,preset_accounts,2,[{file,“c:/projects/aeternity/apps/aecore/src/aec_fork_block_settings.erl”},{line,37}]},{aec_block_genesis,genesis_block_with_state,0,[{file,“c:/projects/aeternity/apps/aecore/src/aec_block_genesis.erl”},{line,98}]},{aec_conductor,init_chain_state,0,[{file,“c:/projects/aeternity/apps/aecore/src/aec_conductor.erl”},{line,198}]},{aec_conductor,init,1,[{file,“c:/projects/aeternity/apps/aecore/src/aec_conductor.erl”},{line,175}]},{gen_server,init_it,2,[{file,“gen_server.erl”},{line,365}]},{gen_server,init_it,6,[{file,“gen_server.erl”},{line,333}]},{proc_lib,init_p_do_apply,3,[{file,“proc_lib.erl”},{line,247}]}]}}}}},{aecore_app,start,[normal,]}},[{application_master,init,4,[{file,“application_master.erl”},{line,134}]},{proc_lib,init_p_do_apply,3,[{file,“proc_lib.erl”},{line,247}]}]}
ancestors: [<0.269.0>]
message_queue_len: 1
messages: [{‘EXIT’,<0.271.0>,normal}]
links: [<0.269.0>,<0.33.0>]
dictionary:
trap_exit: true
status: running
heap_size: 1598
stack_size: 27
reductions: 158
neighbours:
2019-02-27 23:20:13 =CRASH REPORT====
crasher:
initial call: application_master:init/4
pid: <0.385.0>
registered_name:
exception exit: {{bad_return,{{aecore_app,start,[normal,]},{‘EXIT’,{{genesis_accounts_file_missing,“d:/ae/Minerva200/data.epoch@localhost/aecore/.genesis/accounts.json”},[{aec_fork_block_settings,preset_accounts,2,[{file,“c:/projects/aeternity/apps/aecore/src/aec_fork_block_settings.erl”},{line,37}]},{aec_block_genesis,genesis_block_with_state,0,[{file,“c:/projects/aeternity/apps/aecore/src/aec_block_genesis.erl”},{line,98}]},{aec_block_genesis,genesis_header,0,[{file,“c:/projects/aeternity/apps/aecore/src/aec_block_genesis.erl”},{line,57}]},{aec_db,persisted_valid_genesis_block,0,[{file,“c:/projects/aeternity/apps/aecore/src/aec_db.erl”},{line,180}]},{aecore_app,start,2,[{file,“c:/projects/aeternity/apps/aecore/src/aecore_app.erl”},{line,20}]},{application_master,start_supervisor,3,[{file,“application_master.erl”},{line,327}]},{application_master,start_the_app,5,[{file,“application_master.erl”},{line,309}]},{application_master,start_it_new,7,[{file,“application_master.erl”},{line,295}]}]}}}},[{application_master,init,4,[{file,“application_master.erl”},{line,134}]},{proc_lib,init_p_do_apply,3,[{file,“proc_lib.erl”},{line,247}]}]}
ancestors: [<0.384.0>]
message_queue_len: 1
messages: [{‘EXIT’,<0.386.0>,normal}]
links: [<0.384.0>,<0.33.0>]
dictionary:
trap_exit: true
status: running
heap_size: 1598
stack_size: 27
reductions: 158
neighbours:

Hi @LiuYang.chain,
thank you very much for reporting back. We’re already looking into this issue.

3 Likes

Hello, we did small (windows only) 2.0.1 bugfix release only that should fix the issue

1 Like

Thanks~it’s syncing block data now!

1 Like