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

ERROR: Could not open activation key file (null) #25

Open
deq2 opened this issue Feb 27, 2020 · 1 comment
Open

ERROR: Could not open activation key file (null) #25

deq2 opened this issue Feb 27, 2020 · 1 comment

Comments

@deq2
Copy link

deq2 commented Feb 27, 2020

Hey, I'm trying to use your cassie_standing_env, but I'm getting this error:
ERROR: Could not open activation key file (null)

I have a mujoco key, and it looks like this means that the directory we're looking for the key in is (null), as in, it isn't searching an actual directory. Any idea what's going on here? I can run cassie-mujoco-sim but not the version in this repo (which seems to be more recent, with walking trajectories).

Thanks!
Deirdre

@deq2 deq2 closed this as completed Feb 27, 2020
@deq2 deq2 reopened this Feb 27, 2020
@deq2 deq2 changed the title Add Makefile to build libcassiemujoco.so ERROR: Could not open activation key file Feb 27, 2020
@deq2 deq2 changed the title ERROR: Could not open activation key file ERROR: Could not open activation key file (null) Feb 27, 2020
@yeshg
Copy link
Contributor

yeshg commented Mar 11, 2020

Hi Deirdre,

There are probably one or two things that might be going on here. First of all, check which version of mujoco and cassie-mujoco-sim you are using. Apex uses the mujoco200 branch of cassie-mujoco-sim with mujoco200. The second thing that you'll probably have to configure to use the mujoco200 version of cassie-mujoco-sim is setting the following environment variable.

export MUJOCO_KEY_PATH=/path/to/.mujoco/mjkey.txt

Because apex already includes the compiled libcassiemujoco.so from the mujoco200 branch, adding the above line to your bashrc should fix the issue you're seeing, assuming that you're using mujoco200 and ubuntu 18+

Sorry for the late reply. I hope this helps!

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

2 participants