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

matplotlib__matplotlib-23476 failed at pre-install #210

Open
4 tasks done
HejiaZ2023 opened this issue Aug 23, 2024 · 1 comment · May be fixed by #221
Open
4 tasks done

matplotlib__matplotlib-23476 failed at pre-install #210

HejiaZ2023 opened this issue Aug 23, 2024 · 1 comment · May be fixed by #221

Comments

@HejiaZ2023
Copy link

Describe the bug

The conda env installation of matplotlib__matplotlib-23476 timeouted at pre-install stage.
Looks like tzdata set up is asking for some keyboard input which it will never receive.
Mitigation: On my machine I solved it by manually pre-run export DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC, but I think it should be added somewhere in the repo?

Steps/commands/code to Reproduce

python run.py --model_name gpt4o --instance_filter matplotlib__matplotlib-23476 --split test

Error message/results

INFO     ▶️  Beginning task 125

INFO     matplotlib__matplotlib not found in container, cloning...
DEBUG    Falling back to full cloning method due to multiple instances or persistent container
INFO     matplotlib__matplotlib__3.5 conda env not found, creating...
DEBUG    Created conda environment with environment.yml
DEBUG    Installed extra pip dependencies
INFO     Running pre-install commands...
ERROR    Read with timeout failed on input:
         ---
         apt-get -y update && apt-get -y upgrade && apt-get install -y imagemagick ffmpeg texlive texlive-latex-extra
         texlive-fonts-recommended texlive-xetex texlive-luatex cm-super dvipng
         ---
......
Setting up libflac8:amd64 (1.3.3-2ubuntu0.2) ...
Setting up poppler-data (0.4.11-1) ...
Setting up tzdata (2024a-0ubuntu0.22.04.1) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
Configuring tzdata
------------------

Please select the geographic area in which you live. Subsequent configuration
questions will narrow this down by presenting a list of cities, representing
the time zones in which they are located.

  1. Africa      4. Australia     7. Atlantic Ocean  10. Pacific Ocean
  2. America     5. Arctic Ocean  8. Europe          11. US
  3. Antarctica  6. Asia          9. Indian Ocean    12. None of the above
Geographic area:
WARNING  ❌ Failed on matplotlib__matplotlib-23476: Timeout reached while reading from subprocess.

System Information

Platform: Linux-6.5.0-41-generic-x86_64-with-glibc2.35
System: Linux
Release: 6.5.0-41-generic
Python ver: 3.10.14
swebench: 2.0.12
sweagent: 0.6.1 (editable installed, commit b0ee29251b01)

Checklist

  • I'm running with the latest docker container/on the latest development version (this means running both git pull and docker pull sweagent/swe-agent:latest)
  • I have copied the full command/code that I ran (as text, not as screenshot!)
  • If applicable: I have copied the full log file/error message that was the result (as text, not as screenshot!)
  • I have enclosed code/log messages in triple backticks (docs) and clicked "Preview" to make sure it's displayed correctly.
@klieret
Copy link
Member

klieret commented Aug 23, 2024

Hi @HejiaZ2023 . Thank you very much for the nice report! Let me move this to SWE-bench, as it needs to be fixed there.

@klieret klieret transferred this issue from princeton-nlp/SWE-agent Aug 23, 2024
@JiyangZhang JiyangZhang linked a pull request Sep 15, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

2 participants