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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Minihack does not work with NLE v0.9.0 #64

Closed
ngoodger opened this issue Nov 26, 2022 · 1 comment 路 Fixed by #66
Closed

[BUG] Minihack does not work with NLE v0.9.0 #64

ngoodger opened this issue Nov 26, 2022 · 1 comment 路 Fixed by #66
Labels
bug Something isn't working

Comments

@ngoodger
Copy link

馃悰 Bug

Minihack does not work with NLE v0.9.0

To Reproduce

Follow the Trying Out MiniHack example

[/usr/local/lib/python3.7/dist-packages/minihack/base.py](https://localhost:8080/#) in _patch_nhdat(self, des_file)
    366         """
    367         if not des_file.endswith(".des"):
--> 368             fpath = os.path.join(self.env._vardir, "mylevel.des")
    369             # If the des-file is passed as a string
    370             with open(fpath, "w") as f:

AttributeError: 'MiniHackRiver' object has no attribute 'env'
@ngoodger ngoodger added the bug Something isn't working label Nov 26, 2022
@ka00ri
Copy link

ka00ri commented Nov 30, 2022

I encountered the same bug and downgraded nle to version 0.8.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants