Hello! Gitter chat support has been cancelled. Please redirect all requests to Discord: discord.gg/gnosischain (Channel #blockscout)
vbaranov on master
Add nil clause for Data.to_stri… Merge pull request #5723 from b… (compare)
vbaranov on np-fix-to_string-error
** (Mix) httpc request failed with: {:failed_connect, [{:to_address, {'repo.hex.pm', 443}}, {:inet, [:inet], :nxdomain}]}
Could not install Hex because Mix could not download metadata at https://repo.hex.pm/installs/hex-1.x.csv.
Alternatively, you can compile and install Hex directly with this command:
mix archive.install github hexpm/hex branch latest
The command '/bin/sh -c mix do local.hex --force, local.rebar --force' returned a non-zero code: 1
ERROR: Service 'blockscout' failed to build
[info] Application explorer exited: Explorer.Application.start(:normal, []) returned an error: shutdown: failed to start child: Explorer.Repo
(EXIT) an exception was raised:
(Protocol.UndefinedError) protocol Enumerable not implemented for nil of type Atom
(elixir 1.12.2) lib/enum.ex:1: Enumerable.impl_for!/1
(elixir 1.12.2) lib/enum.ex:141: Enumerable.reduce/3
(elixir 1.12.2) lib/enum.ex:3952: Enum.reverse/1
(elixir 1.12.2) lib/keyword.ex:186: Keyword.new/2
(explorer 0.0.1) lib/explorer/repo/config_helper.ex:34: Explorer.Repo.ConfigHelper.extract_parameters/1
(explorer 0.0.1) lib/explorer/repo/config_helper.ex:25: Explorer.Repo.ConfigHelper.get_db_config/1
(explorer 0.0.1) lib/explorer/repo.ex:20: Explorer.Repo.init/2
(ecto 3.7.1) lib/ecto/repo/supervisor.ex:25: Ecto.Repo.Supervisor.runtime_config/4
{"Kernel pid terminated",application_controller,"{application_start_failure,explorer,{{shutdown,{failed_to_start_child,'Elixir.Explorer.Repo',{#{'exception' => true,'struct' => 'Elixir.Protocol.UndefinedError',description => <<>>,protocol => 'Elixir.Enumerable',value => nil},[{'Elixir.Enumerable','impl_for!',1,[{file,\"lib/enum.ex\"},{line,1}]},{'Elixir.Enumerable',reduce,3,[{file,\"lib/enum.ex\"},{line,141}]},{'Elixir.Enum',reverse,1,[{file,\"lib/enum.ex\"},{line,3952}]},{'Elixir.Keyword',new,2,[{file,\"lib/keyword.ex\"},{line,186}]},{'Elixir.Explorer.Repo.ConfigHelper',extract_parameters,1,[{file,\"lib/explorer/repo/config_helper.ex\"},{line,34}]},{'Elixir.Explorer.Repo.ConfigHelper',get_db_config,1,[{file,\"lib/explorer/repo/config_helper.ex\"},{line,25}]},{'Elixir.Explorer.Repo',init,2,[{file,\"lib/explorer/repo.ex\"},{line,20}]},{'Elixir.Ecto.Repo.Supervisor',runtime_config,4,[{file,\"lib/ecto/repo/supervisor.ex\"},{line,25}]}]}}},{'Elixir.Explorer.Application',start,[normal,[]]}}}"}
Kernel pid terminated (application_controller) ({application_start_failure,explorer,{{shutdown,{failed_to_start_child,'Elixir.Explorer.Repo',{#{'exception' => true,'struct' => 'Elixir.Protocol
Crash dump is being written to: erl_crash.dump...done
Hello ! I have a question, I followed the steps in Manual Installation from the doc (https://docs.blockscout.com/for-developers/manual-deployment), but when I arrived at the step 4 mix do deps.get, local.rebar --force, deps.compile
I get the following error :
** (CompileError) config/config.exs:66: undefined function config_env/0
(stdlib 3.14) lists.erl:1358: :lists.mapfoldl/3
(elixir 1.10.3) expanding macro: Kernel.to_string/1
config/config.exs:66: (file)
(elixir 1.10.3) expanding macro: Config.import_config/1
config/config.exs:66: (file)
I have installed all requirements listed in the doc and here is the Elixir version I use :
$ mix -v
Erlang/OTP 23 [erts-11.1.8] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1]
Mix 1.10.3 (compiled with Erlang/OTP 22)
Does anyone have an idea about what I did wrong ?
Thank you