-
Notifications
You must be signed in to change notification settings - Fork 219
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
Minimal example controller initialization hangs #903
Comments
Hi @dtch1997, are you running on a headless machine (i.e., a machine without an external monitor) by chance? |
Got the same problem. And yes I was trying to run it on a remote Ubuntu server without a monitor. How to solve it? Thanks! |
Could you both run the following: import ai2thor
import ai2thor.controller
c = ai2thor.controller.Controller(download_only=True)
print(ai2thor.__version__)
print(c._build.url)
print(c._build.platform.name)
print(c._build.platform.validate(None)) and respond with the output? @xubo92 - Are you running within a container or vm? |
It has been a long time but I re-encounter this problem and I forget how I solved it earlier. @ekolve I run your code snippet and here is the error info: Since I run my code on a Ubuntu server without physical monitor, I also try to use |
I am also having a hanging issue. However, it only happens after initializing 20ish controllers. I am also running my code on a Ubuntu server without a physical monitor and running an Xserver with |
What if the output was like:
|
I have a minimal example where the program hangs when initializing the controller. When I run the code described below, nothing is printed and the terminal simply hangs indefinitely.
System details:
pip install aithor
Minimal example code:
The text was updated successfully, but these errors were encountered: