[BUG] TypeError: __init__() got an unexpected keyword argument 'archivefile'
Closed this issue ยท 2 comments
EmmaHongW commented
๐ Bug
To Reproduce
Steps to reproduce the behavior:
- Run the Tutorial on Google Colab
- Build an environment and try to print it
Executed line: render_des_file(des_file, n_images=1, full_screen=False)
Error message: TypeError: init() got an unexpected keyword argument 'archivefile'
Expected behavior
Normally it should print out a picture of the environment
Environment
- MiniHack Version (e.g., 1.0): 0.1.5
- NLE Version (e.g. 1.0): 0.9.0
- PyTorch Version (e.g., 1.0): 0.23.0
- OS (e.g., Linux): Mac OS
- Python version: 3.9
Temporary solution:
I redefined the function and deleted the "archivefile=None" from the function, then it worked.
samvelyan commented
Hi @EmmaHongW. Thanks for pointing this out. Indeed, the archivefile
parameter has been removed in NLE==0.9.0
version and needs to be removed here.