Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not start the server #9

Open
robotcator opened this issue Jan 27, 2019 · 4 comments
Open

Can not start the server #9

robotcator opened this issue Jan 27, 2019 · 4 comments

Comments

@robotcator
Copy link

I follow the Installation instruction to try to run the example. The terminal outputs that:

Erlang/OTP 21 [erts-10.2.1] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:1] [hipe] [dtrace]

escript: exception error: no match of right hand side value undefined
  in function  rebar_log:log/3 (/home/tristan/Devel/rebar3/_build/prod/lib/rebar/src/rebar_log.erl, line 96)
  in call from rebar3:handle_error/2 (/home/tristan/Devel/rebar3/_build/prod/lib/rebar/src/rebar3.erl, line 317)
  in call from escript:run/2 (escript.erl, line 758)
  in call from escript:start/1 (escript.erl, line 277)
  in call from init:start_em/1 
  in call from init:do_boot/3 
** (Mix) Could not compile dependency :erlport, "/Users/username/.mix/rebar3 bare compile --paths "/Users/username/clone/boost/gym_tcp_api/_build/dev/lib/*/ebin"" command failed. You can recompile this dependency with "mix deps.compile erlport", update it with "mix deps.update erlport" or clean it with "mix deps.clean erlport"
  1. I try the suggestion like 'mix deps.compile erlport', 'mix deps.update erlport' etc, it get the same error.
  2. I search the output from Google, I am not familar with mix much, so didn't get too much useful information about it.

Can you kindly help to go through it?

@zoq
Copy link
Owner

zoq commented Jan 28, 2019

What happens if you set {:erlport, "~> 0.10.0"}, instead of {:erlport, git: "https://github.com/hdima/erlport.git"}, in https://github.com/zoq/gym_tcp_api/blob/master/mix.exs#L34

@zoq
Copy link
Owner

zoq commented Jan 28, 2019

Updated in d1bc892. Let me know if that works for you as well.

@KimSangYeon-DGU
Copy link
Contributor

KimSangYeon-DGU commented Jan 29, 2019

@robotcator
In my case, I resolved this error by using a method @zoq mentioned. Please refer to FAQ1 in README.md.
As another solution, you can downgrade your OTP version to 20.

@robotcator
Copy link
Author

robotcator commented Jan 29, 2019

@zoq Great, I follow your solution and it works now. Thank @KimSangYeon-DGU for the helpful suggestion too.

But can we catch up with the change of gym, for the newer version of the gym support robotic arm enviroment. I saw that Robotic Arm is in the idea list of mlpack.

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

No branches or pull requests

3 participants