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

when i use docker to run, there are some error. #5

Open
hcscctv opened this issue Apr 11, 2022 · 5 comments
Open

when i use docker to run, there are some error. #5

hcscctv opened this issue Apr 11, 2022 · 5 comments

Comments

@hcscctv
Copy link

hcscctv commented Apr 11, 2022

when i use docker to run main.py according to the given statement, there are some error.

  File "/custom/conda/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap
    self.run()
  File "/custom/conda/lib/python3.8/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/home/soyeonm/FILM/envs/utils/vector_env.py", line 179, in _worker_env
    env = env_fn(*env_fn_args)
  File "/home/soyeonm/FILM/envs/__init__.py", line 122, in make_env_fn_alfred
    env = Sem_Exp_Env_Agent_Thor(args, scene_names, rank)
  File "/home/soyeonm/FILM/agents/sem_exp_thor.py", line 44, in __init__
    super().__init__(args, rank)
  File "/home/soyeonm/FILM/alfred_utils/env/thor_env_code.py", line 69, in __init__
    self.start(x_display=args.x_display,
  File "/custom/conda/lib/python3.8/site-packages/ai2thor/controller.py", line 858, in start
    self.download_binary()
  File "/custom/conda/lib/python3.8/site-packages/ai2thor/controller.py", line 796, in download_binary
    os.rename(extract_dir, os.path.join(self.releases_dir(), self.build_name()))
OSError: [Errno 39] Directory not empty: '/root/.ai2thor/tmp/thor-201909061227-Linux64' -> '/root/.ai2thor/releases/thor-201909061227-Linux64'

i try to remove the directory while still the problem.

@soyeonm
Copy link
Owner

soyeonm commented Apr 11, 2022

Hello, sorry for my late reply. I will look into this but I feel like this is something I can't help. I recommend that you open an issue in the github repo of ALFRED or AI2THOR (here, you can mention that the version is 2.1.0).

@TopCoder2K
Copy link

TopCoder2K commented Apr 14, 2022

@hcscctv, did you run on a headless machine with GPU?

I've followed https://github.com/soyeonm/FILM/tree/public/miscellaneous and https://github.com/soyeonm/FILM/blob/public/README.md#additional-preliminaries-to-use-alfred-scenes but I have ended up with (EE) no screens found(EE) Xorg error :((
Exactly the same as in askforalfred/alfred#111 (comment)

@hcscctv
Copy link
Author

hcscctv commented Apr 15, 2022

yes, i run it in a docker on a headless machine and run the tmux to start up the xorg

@TopCoder2K
Copy link

@hcscctv, could you please share your version of the GPU and the NVIDIA driver you're running on? I've been trying to solve (EE) no screens found(EE) but without success... I think that my GPUs can lead to such problems.

P. S. sorry for the late response.

@GuanxingLu
Copy link

I meet the same error, and I solve it by adding a simple "--x_display 4" (I open a lightdm vnc in display :4, while the default x_display is '7'). I hope it will help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants