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

Bugs in run_setup #37

Open
tangken333 opened this issue Sep 17, 2024 · 0 comments
Open

Bugs in run_setup #37

tangken333 opened this issue Sep 17, 2024 · 0 comments

Comments

@tangken333
Copy link

tangken333 commented Sep 17, 2024

Hii, I am using the run_setup.py to build the swe-bench environment. But I face two problems there:
My command is:
python harness/run_setup.py --log_dir logs --testbed testbed --result_dir setup_result --subset_file /opt/PatchingAgent/swe_lite_tasks.txt --num_processes 60
My environment is in the docker with the conda of swe-bench

1 it does not stop build just stop by here for hours.

image

2 got the errors:

2024-09-17 20:12:14,043 - ERROR - Error stderr:                                                                                                                                                                                                                                                                         
[Errno 2] No such file or directory: '/root/miniconda3/pkgs/packaging-24.1-py39h06a4308_0.conda.partial' -> '/root/miniconda3/pkgs/packaging-24.1-py39h06a4308_0.conda'                                                                                                                                                 
[Errno 2] No such file or directory: '/root/miniconda3/pkgs/packaging-24.1-py39h06a4308_0.conda.partial' -> '/root/miniconda3/pkgs/packaging-24.1-py39h06a4308_0.conda'                                                                                                                                                 
[Errno 2] No such file or directory: '/root/miniconda3/pkgs/exceptiongroup-1.2.0-py39h06a4308_0.conda.partial' -> '/root/miniconda3/pkgs/exceptiongroup-1.2.0-py39h06a4308_0.conda'                                                                                                                                     
[Errno 2] No such file or directory: '/root/miniconda3/pkgs/pytest-7.4.4-py39h06a4308_0.conda.partial' -> '/root/miniconda3/pkgs/pytest-7.4.4-py39h06a4308_0.conda'                                                                                                                                                     
[Errno 2] No such file or directory: '/root/miniconda3/pkgs/python-3.9.19-h955ad1f_1.conda'                                                                                                                                                                                                                             
                                                                                                                                                                                                                                                                                                                        

2024-09-17 20:12:14,045 - ERROR - Error traceback: Traceback (most recent call last):
  File "/opt/SWE-bench/harness/context_manager.py", line 49, in __call__
    output = subprocess.run(cmd, **combined_args)
  File "/root/miniconda3/envs/swe-bench/lib/python3.9/subprocess.py", line 528, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/root/miniconda3/bin/conda', 'create', '-n', 'setup_psf__requests__2.3', 'python=3.9', 'pytest', '-y']' returned non-zero exit status 1.

image

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

1 participant