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

Mac´s window freeze using gym on Jupyter #6542

Closed
unagi71 opened this issue Sep 19, 2022 · 3 comments
Closed

Mac´s window freeze using gym on Jupyter #6542

unagi71 opened this issue Sep 19, 2022 · 3 comments
Labels
bug status:Needs Info status:Needs Triage Applied to issues that need triage

Comments

@unagi71
Copy link

unagi71 commented Sep 19, 2022

Describe the bug
When using frame = env.render(mode='rgb_array') in Jupyter on my Mac, a window pops-up with the result (animation of Lunar Lander, for example) and then it freezes. The only way I can close it is by restarting Kernel.
This happened on a Mac where I installed different versions of gym, and by chance I happened to buy a new Mac some days ago. The first thing I did was installing Jupyter so I´d be sure it was not something that had to do with other configuration files of other programs. But the error was the same.

To Reproduce
Steps to reproduce the behavior:

  1. Open a Jupyter notebook file.
  2. Use frame = env.render(mode='rgb_array') in any gym file.
  3. See the pop-up window open and then freeze.

Expected behavior
In any tutorial I´ve seen of people using Mac, this doesn´t happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • Operating System and version: MacOS Monterrey, MacBookPro M1
  • Browser and version: Version 105.0.5195.125
  • Version [e.g. 22]
@unagi71 unagi71 added the bug label Sep 19, 2022
@jupyterlab-probot jupyterlab-probot bot added the status:Needs Triage Applied to issues that need triage label Sep 19, 2022
@RRosio
Copy link
Collaborator

RRosio commented Sep 22, 2022

Hi @devimprevia, thank you for submitting this issue. Would you please provide the version of Notebook that you are using? If you could please provide a full code cell that would reproduce this issue. If possible as well, could you try this in JupyterLab and see if you encounter this issue. It would be great if we could identify if this is a Notebook issue, a Gym issue or something else. Thank you!

@RRosio
Copy link
Collaborator

RRosio commented Sep 29, 2022

Hi @devimprevia, just wanted to follow-up with you and see if there are any updates that you could provide? Thanks!

@RRosio
Copy link
Collaborator

RRosio commented Oct 6, 2022

Hey @devimprevia, thanks again for submitting this issue! At this moment I will be closing this issue, but please feel free to reopen it if the issue persists and there is more information you'd like to provide!

@RRosio RRosio closed this as completed Oct 6, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 7, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug status:Needs Info status:Needs Triage Applied to issues that need triage
Projects
None yet
Development

No branches or pull requests

2 participants