Comments (6)
Could you provide the list of commands used and the system environment so that we can try to reproduce the issue?
from auto-code-rover.
@yuntongzhang just build
docker build -f Dockerfile -t acr .
from auto-code-rover.
@yuntongzhang then next error from conda
Retrieving notices: ...working... failed
>>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<
Traceback (most recent call last):
File "/root/miniconda3/lib/python3.12/site-packages/conda/exception_handler.py", line 17, in __call__
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/root/miniconda3/lib/python3.12/site-packages/conda/cli/main.py", line 83, in main_subshell
exit_code = do_call(args, parser)
^^^^^^^^^^^^^^^^^^^^^
File "/root/miniconda3/lib/python3.12/site-packages/conda/cli/conda_argparse.py", line 196, in do_call
result = getattr(module, func_name)(args, parser)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/miniconda3/lib/python3.12/site-packages/conda/notices/core.py", line 108, in wrapper
channel_notice_set = retrieve_notices(
^^^^^^^^^^^^^^^^^
File "/root/miniconda3/lib/python3.12/site-packages/conda/notices/core.py", line 40, in retrieve_notices
channel_notice_responses = fetch.get_notice_responses(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/miniconda3/lib/python3.12/site-packages/conda/notices/fetch.py", line 44, in get_notice_responses
for chn_info in executor.map(
^^^^^^^^^^^^^
File "/root/miniconda3/lib/python3.12/concurrent/futures/_base.py", line 608, in map
fs = [self.submit(fn, *args) for args in zip(*iterables)]
^^^^^^^^^^^^^^^^^^^^^^
File "/root/miniconda3/lib/python3.12/concurrent/futures/thread.py", line 179, in submit
self._adjust_thread_count()
File "/root/miniconda3/lib/python3.12/concurrent/futures/thread.py", line 202, in _adjust_thread_count
t.start()
File "/root/miniconda3/lib/python3.12/threading.py", line 992, in start
_start_new_thread(self._bootstrap, ())
RuntimeError: can't start new thread
$ /root/miniconda3/bin/conda env create -f environment.yml
environment variables:
CIO_TEST=
CONDA_ROOT=/root/miniconda3
CURL_CA_BUNDLE=
LD_PRELOAD=
PATH=/root/miniconda3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
:/sbin:/bin
REQUESTS_CA_BUNDLE=
SSL_CERT_FILE=
active environment : None
user config file : /root/.condarc
populated config files :
conda version : 24.1.2
conda-build version : not installed
python version : 3.12.1.final.0
solver : libmamba (default)
virtual packages : __archspec=1=haswell
__conda=24.1.2=0
__glibc=2.35=0
__linux=4.19.76=0
__unix=0=0
base environment : /root/miniconda3 (writable)
conda av data dir : /root/miniconda3/etc/conda
conda av metadata url : None
channel URLs : https://repo.anaconda.com/pkgs/main/linux-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/r/linux-64
https://repo.anaconda.com/pkgs/r/noarch
package cache : /root/miniconda3/pkgs
/root/.conda/pkgs
envs directories : /root/miniconda3/envs
/root/.conda/envs
platform : linux-64
user-agent : conda/24.1.2 requests/2.31.0 CPython/3.12.1 Linux/4.19.76-linuxkit ubuntu/22.04.4 glibc/2.35 solver/libmamba conda-libmamba-solver/23.12.0 libmambapy/1.5.3
UID:GID : 0:0
netrc file : None
offline mode : False
An unexpected error has occurred. Conda has prepared the above report.
If you suspect this error is being caused by a malfunctioning plugin,
consider using the --no-plugins option to turn off plugins.
Example: conda --no-plugins install
Alternatively, you can set the CONDA_NO_PLUGINS environment variable on
the command line to run the command without plugins enabled.
Example: CONDA_NO_PLUGINS=true conda install
The command '/bin/sh -c conda env create -f environment.yml' returned a non-zero code: 1
from auto-code-rover.
The build command runs fine on my system. I can't reproduce the second error as well.
What system are you using? Did the disk run out of space? Just guessing for possibilities here.
There are some posts on apt error when building from Dockerfile, which might be helpful:
https://stackoverflow.com/questions/38002543/apt-get-update-returned-a-non-zero-code-100
from auto-code-rover.
Host is macos, disk space is enough, cpu limit is 6, disk unlimited.
from auto-code-rover.
OK, solved.
Had to change base image and use more stable python
for ref
FROM ubuntu:focal
# Add the missing GPG key 871920D1991BC93C
RUN apt-get update && apt-get install -y gnupg &&
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 871920D1991BC93C
Update and install necessary packages
RUN apt update && apt install -y gnupg
RUN apt-get -y update
RUN apt update && apt install -y git wget
WORKDIR /root
RUN wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
RUN wget https://repo.anaconda.com/miniconda/Miniconda3-py311_24.1.2-0-Linux-x86_64.sh
RUN bash ./Miniconda3-py311_24.1.2-0-Linux-x86_64.sh -b -p /root/miniconda3
ENV PATH="/root/miniconda3/bin:${PATH}"
RUN conda init
WORKDIR /opt
RUN git clone https://github.com/yuntongzhang/SWE-bench.git
WORKDIR /opt/SWE-bench
RUN conda env create -f environment.yml
RUN ln -sf /bin/bash /bin/sh
ENV DEBIAN_FRONTEND=noninteractive
RUN apt install -y libffi-dev python3-pytest libfreetype6-dev libqhull-dev
RUN apt install -y pkg-config texlive cm-super dvipng python-tk ffmpeg
RUN apt install -y imagemagick fontconfig
RUN apt install -y ghostscript inkscape graphviz
RUN apt install -y optipng fonts-comic-neue python3-pikepdf
RUN echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | debconf-set-selections
RUN apt install -y ttf-mscorefonts-installer
RUN apt install -y vim build-essential libssl-dev
RUN git config --global user.email [email protected]
RUN git config --global user.name acr
COPY . /opt/auto-code-rover
WORKDIR /opt/auto-code-rover
RUN conda env create -f environment.yml
from auto-code-rover.
Related Issues (20)
- Add easy web based usage HOT 1
- How to replay output? HOT 2
- Adding a support for Cohere Command-R, Anthropic Claude, and Gemini APIs HOT 7
- Unable to add issue from github HOT 3
- Question about Auto Code Rover SWE-bench data HOT 2
- License issue HOT 6
- PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: '...\\info.log'
- [Fresh issue mode] Support local codebase and local issue file
- missing rich library HOT 1
- swe_agent_rep HOT 2
- Ollama support issue HOT 1
- Evaluation new models HOT 1
- Question on how to obtain different repo versions HOT 1
- How to make it work without anaconda HOT 1
- Why not listed in the swe-bench leaderboard HOT 1
- Docker image fails to build (M1 Mac) HOT 3
- How to select the api? HOT 4
- Possible underestimated pass@3 results HOT 3
- how to interpret results for Auto Code Rover SWE-bench? HOT 2
- Why have you implemented your tool from scratch instead of using existing frameworks like AutoGPT or Baby AGI?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from auto-code-rover.