blitzstudios / triton

a Cassandra ORM for Elixir
MIT License
79 stars 22 forks source link

no process: the process is not alive or there's no process currently associated with the given name, possibly because its application isn't started #44

Open sahilpaudel-pe opened 3 years ago

sahilpaudel-pe commented 3 years ago

keyspace.ex

defmodule Diamond.Models.Keyspace do
  use Triton.Keyspace

  keyspace :keyspace_audit_log, conn: Triton.Conn do
    with_options [
      replication: "{'class' : 'SimpleStrategy', 'replication_factor': 1}"
    ]
  end
end

Error

== Compilation error in file lib/diamond/models/keyspace.ex ==
** (exit) exited in: GenServer.call(DBConnection.Watcher, {:watch, DBConnection.ConnectionPool.Supervisor, {DBConnection.ConnectionPool.Pool, {#PID<0.425.0>, #Reference<0.40113599.3130392582.139428>, Xandra.Connection, [protocol_module: Xandra.Protocol.V3, prepared_cache: #Reference<0.40113599.3130392577.146083>, pool: DBConnection.ConnectionPool, idle_interval: 30000, default_consistency: :one, address: '127.0.0.1', port: 9042]}}}, :infinity)
    ** (EXIT) no process: the process is not alive or there's no process currently associated with the given name, possibly because its application isn't started

Unable to start the application.

rosenbergm commented 3 years ago

hey, i just stumbled upon the same error. elixir version 1.7, triton version 0.2.4. has anybody got any idea how to solve this?