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

MalmoEnv basic tutorial crash #916

Open
trigaten opened this issue Oct 23, 2021 · 6 comments
Open

MalmoEnv basic tutorial crash #916

trigaten opened this issue Oct 23, 2021 · 6 comments

Comments

@trigaten
Copy link

trigaten commented Oct 23, 2021

I am attempting to use MalmoEnv on Mac
I ran ./launchClient.sh -port 9000 -env which works and launches the client.
Then I ran python3 run.py --mission missions/mobchase_single_agent.xml --port 9000 --episodes 10 in the appropriate directory. This crashed the client with this error:

FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':runClient'.
Process 'command '/Library/Java/JavaVirtualMachines/temurin-8.jdk/Contents/Home/bin/java'' finished with non-zero exit value 134

The terminal in which I ran the mission comment showed:

reset 0
Pause before retry on a bytes-like object is required, not 'NoneType'

Any ideas?

@rainingDesert
Copy link

I also got this error on Mac. May I ask if you solved the problem after that?

@trigaten
Copy link
Author

I also got this error on Mac. May I ask if you solved the problem after that?

I cant remember if I eventually fixed this. However, Malmo is no longer supported. Use https://minerl.readthedocs.io/en/latest/

@rainingDesert
Copy link

Thanks for your reply. I went through the Github of minerl. But I need to use several environments provided in Malmo, which seem not to be provided in minerl. Do you know any documents of building custom environments with minerl?

@trigaten
Copy link
Author

Yep, I wrote them! See here: https://minerl.readthedocs.io/en/v0.4.4/tutorials/custom_environments.html

Note that this is not for the most up to date version of the codebase. However, most of the code should work if you choose to use version 1.0.0

@rainingDesert
Copy link

Seems interesting, thanks so much.

By the way, can minerl load .xml or other formats file like Malmo?

@trigaten
Copy link
Author

I believe so, but you may have to modify the source a bit to do that.

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