Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- =INFO REPORT==== 7-Apr-2016::16:23:28 ===
- application: logger
- exited: stopped
- type: temporary
- ** (Mix) Could not start application tpos: exited in: Tpos.start(:normal, [])
- ** (EXIT) exited in: GenServer.call(#PID<0.164.0>, {:get_all, Tpos.Data.Models.ProfitCenter}, 5000)
- ** (EXIT) exited in: GenServer.call(#PID<0.163.0>, {:checkout, :run}, 5000)
- ** (EXIT) exited in: GenServer.call(#PID<0.168.0>, {:connect, [hostname: "localhost", timeout: 5000, otp_app: :tpos, repo: Tpos.Repo, adapter: Ecto.Adapters.MySQL, database: "tpos", username: "tpos", password: "tpos", port: 3306]}, 5000)
- ** (EXIT) an exception was raised:
- ** (UndefinedFunctionError) undefined function :crypto.hash/2 (module :crypto is not available)
- (crypto) :crypto.hash(:sha, "tpos")
- (mariaex) lib/mariaex/protocol.ex:150: Mariaex.Protocol.mysql_native_password/2
- (mariaex) lib/mariaex/protocol.ex:47: Mariaex.Protocol.dispatch/2
- (mariaex) lib/mariaex/connection.ex:284: Mariaex.Connection.process/2
- (mariaex) lib/mariaex/connection.ex:251: Mariaex.Connection.handle_info/2
- (stdlib) gen_server.erl:615: :gen_server.try_dispatch/4
- (stdlib) gen_server.erl:681: :gen_server.handle_msg/5
- (stdlib) proc_lib.erl:240: :proc_lib.init_p_do_apply/3
- data = Repo.all(ProfitCenter)
- defmodule Tpos.Mixfile do
- use Mix.Project
- def project do
- [app: :tpos,
- version: "0.0.1",
- elixir: "~> 1.2",
- build_embedded: Mix.env == :prod,
- start_permanent: Mix.env == :prod,
- deps: deps]
- end
- def application do
- [ applications: [:mariaex, :ecto],
- mod: { Tpos, [] } ]
- end
- defp deps do
- [
- {:credo, "~> 0.3", only: [:dev, :test]},
- {:mariaex, "~> 0.5.0"},
- {:ecto, "~> 1.1.5"},
- {:exactor, "~> 2.2.0"}
- ]
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement