small medium large xlarge

Generic-user-small
21 Oct 2016, 19:56
Hidenari Nozaki (2 posts)

In Ch13 on p.248 of version p1.0, the book asks you to require the http_client.exs for rumbl app folder. Why is that? It’s not used from the rumbl app, right?

Generic-user-small
22 Oct 2016, 00:34
Hidenari Nozaki (2 posts)

I figured that it’s necessary for testing the rumbl app integrating with info_sys. If I run “mix test” from the root of the umbrella app, it runs fine. But when I run “mix test” from “apps/rumbl” directory, I get this error


** (File.Error) could not read file test/fixtures/wolfram.xml: no such file or directory (elixir) lib/file.ex:244: File.read!/1 /Users/hidenari/programming/elixir-stuff/rumbrella/apps/info_sys/test/backends/http_client.exs:2: (module) (stdlib) erl_eval.erl:670: :erl_eval.do_apply/6

13:28:34.548 [error] GenServer #PID<0.206.0> terminating ** (File.Error) could not read file test/fixtures/wolfram.xml: no such file or directory (elixir) lib/file.ex:244: File.read!/1 /Users/hidenari/programming/elixir-stuff/rumbrella/apps/info_sys/test/backends/http_client.exs:2: (module) (elixir) src/elixir_compiler.erl:125: :elixir_compiler.dispatch_loaded/6 (elixir) src/elixir_module.erl:181: :elixir_module.eval_form/6 (elixir) src/elixir_module.erl:70: :elixir_module.do_compile/5 (stdlib) erl_eval.erl:670: :erl_eval.do_apply/6 (elixir) src/elixir.erl:215: :elixir.erl_eval/3 (elixir) src/elixir.erl:203: :elixir.eval_forms/4


Generic-user-small
12 Jul 2017, 08:27
Jay Chetty (1 post)

I had the same problem. Any solution?

You must be logged in to comment