Skip to content

[BUG] Issue with reset method of Boxohack environment due to Gymnasium API change  #29

@just-oliver

Description

@just-oliver

🐛 Bug

<The ported Boxohack environment currently doesn't work with the Gymnasium API>

To Reproduce

Steps to reproduce the behavior:

  1. env = gym.make("MiniHack-Boxoban-Unfiltered-v0")
  2. env.reset()
Image

Expected behavior

I expect for reset() to cause the the environment to reset without throwing this error related to unexpected seed.

Environment

Please copy and paste the output from running our
environment collection script
(or fill out the checklist below manually).

You can get the script and run it with:

# with repo already installed
$ python -m minihack.scripts.collect_env

# or instead pull it from github
wget https://raw.githubusercontent.com/facebookresearch/minihack/main/minihack/scripts/collect_env.py
# For security purposes, please check the contents of collect_env.py before running it.
python collect_env.py

MiniHack version: 1.0.2+95b11cc
NLE version: 1.2.0
Gymnasium version: 1.0.0
PyTorch version: N/A
Is debug build: N/A
CUDA used to build PyTorch: N/A

OS: Ubuntu 24.04.3 LTS
GCC version: (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
CMake version: version 3.28.3

Python version: 3.8
Is CUDA available: N/A
CUDA runtime version: Could not collect
GPU models and configuration: GPU 0: NVIDIA GeForce RTX 2060
Nvidia driver version: 580.95.05
cuDNN version: Could not collect

Versions of relevant libraries:
[pip3] numpy==1.24.4
[conda] Could not collect

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions