Skip to content
This repository has been archived by the owner on Jan 11, 2025. It is now read-only.

Couldn't get it to work :( #1

Open
songproducer opened this issue Apr 15, 2017 · 0 comments
Open

Couldn't get it to work :( #1

songproducer opened this issue Apr 15, 2017 · 0 comments

Comments

@songproducer
Copy link

mix deps.get
warning: variable "escript_config" does not exist and is being expanded to "escript_config()", please use parentheses to remove the ambiguity or change the variable name
mix.exs:6

warning: variable "deps" does not exist and is being expanded to "deps()", please use parentheses to remove the ambiguity or change the variable name
mix.exs:11

Running dependency resolution...

  • Getting poison (Hex package)
    Checking package (https://repo.hex.pm/tarballs/poison-2.1.0.tar)
    Fetched package
    MacBook-Pro-2:ex_chain leotreasure$ iex -S mix
    Erlang/OTP 19 [erts-8.3] [source] [64-bit] [smp:8:8] [async-threads:10] [hipe] [kernel-poll:false] [dtrace]

warning: variable "escript_config" does not exist and is being expanded to "escript_config()", please use parentheses to remove the ambiguity or change the variable name
mix.exs:6

warning: variable "deps" does not exist and is being expanded to "deps()", please use parentheses to remove the ambiguity or change the variable name
mix.exs:11

warning: variable "deps" does not exist and is being expanded to "deps()", please use parentheses to remove the ambiguity or change the variable name
/Users/leotreasure/phoenix_projects/ex_chain/deps/poison/mix.exs:11

warning: variable "package" does not exist and is being expanded to "package()", please use parentheses to remove the ambiguity or change the variable name
/Users/leotreasure/phoenix_projects/ex_chain/deps/poison/mix.exs:12

==> poison
Compiling 4 files (.ex)
warning: HashDict.size/1 is deprecated, use maps and the Map module instead
lib/poison/encoder.ex:283

Generated poison app
==> ex_chain
Compiling 5 files (.ex)
warning: random:seed/1: the 'random' module is deprecated; use the 'rand' module instead
lib/ex_chain/markov_model.ex:3

Generated ex_chain app
Interactive Elixir (1.4.2) - press Ctrl+C to exit (type h() ENTER for help)
iex(1)> {:ok, model} = ExChain.MarkovModel.start_link
{:ok, #PID<0.323.0>}
iex(2)> ExChain.MarkovModel.populate_model(model, ExChain.FileDatasource.get_data)
{:ok}
iex(3)> ExChain.SentenceGenerator.create_filtered_sentence(model)
[:error, :maxtries_reached]
iex(4)> q
warning: variable "q" does not exist and is being expanded to "q()", please use parentheses to remove the ambiguity or change the variable name
iex:4

** (CompileError) iex:4: undefined function q/0

iex(4)> quit
warning: variable "quit" does not exist and is being expanded to "quit()", please use parentheses to remove the ambiguity or change the variable name
iex:4

** (CompileError) iex:4: undefined function quit/0

iex(4)>
BREAK: (a)bort (c)ontinue (p)roc info (i)nfo (l)oaded
(v)ersion (k)ill (D)b-tables (d)istribution
a
MacBook-Pro-2:ex_chain leotreasure$ mix escript.build
warning: variable "escript_config" does not exist and is being expanded to "escript_config()", please use parentheses to remove the ambiguity or change the variable name
mix.exs:6

warning: variable "deps" does not exist and is being expanded to "deps()", please use parentheses to remove the ambiguity or change the variable name
mix.exs:11

Generated escript ex_chain with MIX_ENV=dev
MacBook-Pro-2:ex_chain leotreasure$ ./ex_chain generate_sentence
Couldn't generate sentence

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant