princeton-nlp / SWE-agent

[NeurIPS 2024] SWE-agent takes a GitHub issue and tries to automatically fix it, using GPT-4, or your LM of choice. It can also be employed for offensive cybersecurity or competitive coding challenges.
https://swe-agent.com
MIT License
13.74k stars 1.39k forks source link

resurfacing this error No such file or directory: swe-agent-ssdlc/trajectories/demonstrations/replay__marshmallow-code__marshmallow-1867 __default__t-0.20__p-0.95__c-2.00__install-1___install_from_source/marshmallow-code__marshmallow-1867.traj #823

Closed harsha7890 closed 1 month ago

harsha7890 commented 1 month ago

Describe the bug

I built the docker from source, while running the script we are getting /swe-agent-ssdlc /trajectories/demonstrations/replaymarshmallow-codemarshmallow-1867 defaultt-0.20p-0.95c-2.00__install-1_install_from_source/mars hmallow-codemarshmallow-1867.traj'

     from earlier issues I could https://github.com/princeton-nlp/SWE-agent/issues/309 where user was facing same issue.

Steps/commands/code to Reproduce

with latest code, running into this issue.

Error message/results

/Users/rharshavard/Documents/code/ssdlc-agent-workflow/swe-agent-ssdlc/venv/bin/python -m run --model_name gpt4 --data_path https://github.com/sandbox-sandbox/development-portal-documentation/issues/728 --config_file config/default_from_url.yaml --open_pr INFO Logging to
trajectories/rharshavard/gpt4sandbox-sandboxdevelopment-portal-docu mentationdefault_from_urlt-0.00p-0.95c-3.00__install-1/run-2410 23134339.log
INFO 📙 Arguments: actions:
apply_patch_locally: false

           edit:                                                            
             docstring: replaces lines <start_line> through <end_line>      
     (inclusive) with the given text in the open file. The replacement text 
     is terminated by a line with only end_of_edit on it. All of the        
     <replacement text> will be entered, so make sure your indentation is   
     formatted properly. Python files will be checked for syntax errors     
     after the edit. If the system detects a syntax error, the edit will not
     be executed. Simply try to edit the file again, but make sure to read  
     the error message and modify the edit command you issue accordingly.   
     Issuing the same command a second time will just lead to the same error
     message again.                                                         
             signature: edit <start_line>:<end_line>                        
           <replacement_text>                                               
           end_of_edit                                                      
             arguments:                                                     
               - start_line (integer) [required]: the line number to start  
     the edit at                                                            
               - end_line (integer) [required]: the line number to end the  
     edit at (inclusive)                                                    
               - replacement_text (string) [required]: the text to replace  
     the current selection with                                             

           submit:                                                          
             docstring: submits your current code and terminates the session
             signature: submit                                              

         command_files:                                                     
         -                                                                  
     /Users/rharshavard/Documents/code/ssdlc-agent-workflow/swe-agent-ssdlc/
     config/commands/defaults.sh                                            
         -                                                                  
     /Users/rharshavard/Documents/code/ssdlc-agent-workflow/swe-agent-ssdlc/
     config/commands/search.sh                                              
         -                                                                  
     /Users/rharshavard/Documents/code/ssdlc-agent-workflow/swe-agent-ssdlc/
     config/commands/edit_linting.sh                                        
         -                                                                  
     /Users/rharshavard/Documents/code/ssdlc-agent-workflow/swe-agent-ssdlc/
     config/commands/_split_string.py                                       
         -                                                                  
     /Users/rharshavard/Documents/code/ssdlc-agent-workflow/swe-agent-ssdlc/
     config/commands/submit.sh                                              
         demonstration_template: |                                          
           Here is a demonstration of how to correctly accomplish this task.
           It is included to show you how to correctly use the interface.   
           You do not need to follow exactly what is done in the            
     demonstration.                                                         
           --- DEMONSTRATION ---                                            
           {demonstration}                                                  
           --- END OF DEMONSTRATION ---                                     
         demonstrations:                                                    
         -                                                                  
     /Users/rharshavard/Documents/code/ssdlc-agent-workflow/swe-agent-ssdlc/
     trajectories/demonstrations/replay__marshmallow-code__marshmallow-1867_
     _default__t-0.20__p-0.95__c-2.00__install-1___install_from_source/marsh
     mallow-code__marshmallow-1867.traj                                     
         env_variables:                                                     
           CURRENT_FILE: ''                                                 
           CURRENT_LINE: '0'                                                
           OVERLAP: '2'                                                     
           SEARCH_FILES: ()                                                 
           SEARCH_INDEX: '0'                                                
           SEARCH_RESULTS: ()                                               
           WINDOW: '100'                                                    
         format_error_template: |                                           
           Your output was not formatted correctly. You must always include 
     one discussion and one command as part of your response. Make sure you 
     do not have multiple discussion/command tags.                          
           Please make sure your output precisely matches the following     
     format:                                                                
           DISCUSSION                                                       
           Discuss here with yourself about what your planning and what     
     you're going to do in this step.                                       

           ```                                                              
           command(s) that you're going to run                              
           ```                                                              
         history_processor: {}                                              
         history_processor_args: {}                                         
         instance_template: |-                                              
           We're currently solving the following issue within our           
     repository. Here's the issue text:                                     
           ISSUE:                                                           
           {issue}                                                          

           INSTRUCTIONS:                                                    
           Now, you're going to solve this issue on your own. Your terminal 
     session has started and you're in the repository's root directory. You 
     can use any bash commands or the special interface to help you. Edit   
     all the files you need to and run any checks or tests that you want.   
           Remember, YOU CAN ONLY ENTER ONE COMMAND AT A TIME. You should   
     always wait for feedback after every command.                          
           When you're satisfied with all of the changes you've made, you   
     can submit your changes to the code base by simply running the submit  
     command.                                                               
           Note however that you cannot use any interactive session commands
     (e.g. python, vim) in this environment, but you can write scripts and  
     run them. E.g. you can write a python script and then run it with      
     `python <script_name>.py`.                                             

           NOTE ABOUT THE EDIT COMMAND: Indentation really matters! When    
     editing a file, make sure to insert appropriate indentation before each
     line!                                                                  

           IMPORTANT TIPS:                                                  
           1. Always start by trying to replicate the bug that the issues   
     discusses.                                                             
              If the issue includes code for reproducing the bug, we        
     recommend that you re-implement that in your environment, and run it to
     make sure you can reproduce the bug.                                   
              Then start trying to fix it.                                  
              When you think you've fixed the bug, re-run the bug           
     reproduction script to make sure that the bug has indeed been fixed.   

              If the bug reproduction script does not print anything when it
     successfully runs, we recommend adding a print("Script completed       
     successfully, no errors.") command at the end of the file,             
              so that you can be sure that the script indeed ran fine all   
     the way through.                                                       

           2. If you run a command and it doesn't work, try running a       
     different command. A command that did not work once will not work the  
     second time unless you modify it!                                      

           3. If you open a file and need to get to an area around a        
     specific line that is not in the first 100 lines, say line 583, don't  
     just use the scroll_down command multiple times. Instead, use the goto 
     583 command. It's much quicker.                                        

           4. If the bug reproduction script requires inputting/reading a   
     specific file, such as buggy-input.png, and you'd like to understand   
     how to input that file, conduct a search in the existing repo code, to 
     see whether someone else has already done that. Do this by running the 
     command: find_file "buggy-input.png" If that doesn't work, use the     
     linux 'find' command.                                                  

           5. Always make sure to look at the currently open file and the   
     current working directory (which appears right after the currently open
     file). The currently open file might be in a different directory than  
     the working directory! Note that some commands, such as 'create', open 
     files, so they might change the current  open file.                    

           6. When editing files, it is easy to accidentally specify a wrong
     line number or to write code with incorrect indentation. Always check  
     the code after you issue an edit to make sure that it reflects what you
     wanted to accomplish. If it didn't, issue another command to fix it.   

           7. It may be necessary to install the repository from source     
     before you can run code. Please think about how to install the         
     environment from the repository directory if you need to do so.        

           (Open file: {open_file})                                         
           (Current directory: {working_dir})                               
           bash-$                                                           
         next_step_no_output_template: |-                                   
           Your command ran successfully and did not produce any output.    
           (Open file: {open_file})                                         
           (Current directory: {working_dir})                               
           bash-$                                                           
         next_step_template: |-                                             
           {observation}                                                    
           (Open file: {open_file})                                         
           (Current directory: {working_dir})                               
           bash-$                                                           
         parse_command: {}                                                  
         parse_function: {}                                                 
         put_demos_in_history: false                                        
         state_command:                                                     
           arguments: null                                                  
           code: |                                                          
             state() {                                                      
               local working_dir="$PWD";                                    
               if [ -z "$CURRENT_FILE" ]; then                              
                   echo '{"open_file": "n/a", "working_dir":                
     "'$working_dir'"}';                                                    
               else                                                         
                   echo '{"open_file": "'$(realpath "$CURRENT_FILE")'",     
     "working_dir": "'$working_dir'"}';                                     
               fi                                                           
             };                                                             
           docstring: null                                                  
           end_name: null                                                   
           name: state                                                      
           signature: null                                                  
         strategy_template: null                                            
         submit_command: submit                                             
         subroutine_types: []                                               
         summarizer_config:                                                 
           function: {}                                                     
           instance_template: null                                          
           model: null                                                      
           system_template: null                                            
           template: null                                                   
           window_length: 105                                               
         system_template: |-                                                
           SETTING: You are an autonomous programmer, and you're working    
     directly in the command line with a special interface.                 

           The special interface consists of a file editor that shows you   
     {WINDOW} lines of a file at a time.                                    
           In addition to typical bash commands, you can also use the       
     following commands to help you navigate and edit files.                

           COMMANDS:                                                        
           {command_docs}                                                   

           Please note that THE EDIT COMMAND REQUIRES PROPER INDENTATION.   
           If you'd like to add the line '        print(x)' you must fully  
     write that out, with all those spaces before the code! Indentation is  
     important and code that is not indented correctly will fail and require
     fixing before it can be run.                                           

           RESPONSE FORMAT:                                                 
           Your shell prompt is formatted as follows:                       
           (Open file: <path>) <cwd> $                                      

           You need to format your output using two fields; discussion and  
     command.                                                               
           Your output should always include _one_ discussion and _one_     
     command field EXACTLY as in the following example:                     
           DISCUSSION                                                       
           First I'll start by using ls to see what files are in the current
     directory. Then maybe we can look at some relevant files to see what   
     they look like.                                                        
           ```                                                              
           ls -a                                                            
           ```                                                              

           You should only include a *SINGLE* command in the command section
     and then wait for a response from the shell before continuing with more
     discussion and commands. Everything you include in the DISCUSSION      
     section will be saved for future reference.                            
           If you'd like to issue two commands at once, PLEASE DO NOT DO    
     THAT! Please instead first submit just the first command, and then     
     after receiving a response you'll be able to issue the second command. 
           You're free to use any other bash commands you want (e.g. find,  
     grep, cat, ls, cd) in addition to the special commands listed above.   
           However, the environment does NOT support interactive session    
     commands (e.g. python, vim), so please do not invoke them.             
         util_functions:                                                    
         - arguments: null                                                  
           code: '_print() {    local total_lines=$(awk ''END {print NR}''  
     "$CURRENT_FILE")    echo                                               
             "[File: $(realpath "$CURRENT_FILE") ($total_lines lines        
     total)]"    lines_above=$(jq                                           
             -n "$CURRENT_LINE - $WINDOW/2" | jq ''[0, .] | max | floor'')  
     lines_below=$(jq                                                       
             -n "$total_lines - $CURRENT_LINE - $WINDOW/2" | jq ''[0, .] |  
     max | round'')    if                                                   
             [ $lines_above -gt 0 ]; then        echo "($lines_above more   
     lines above)"    fi    cat                                             
             "$CURRENT_FILE" | grep -n $ | head -n $(jq -n "[$CURRENT_LINE +
     $WINDOW/2,                                                             
             $WINDOW/2] | max | floor") | tail -n $(jq -n "$WINDOW")    if [
     $lines_below                                                           
             -gt 0 ]; then        echo "($lines_below more lines below)"    
     fi}'                                                                   
           docstring: null                                                  
           end_name: null                                                   
           name: _print                                                     
           signature: _print                                                
         - arguments: null                                                  
           code: _constrain_line() {    if [ -z "$CURRENT_FILE" ]    then   
     echo "No                                                               
             file open. Use the open command first."        return    fi    
     local max_line=$(awk                                                   
             'END {print NR}' "$CURRENT_FILE")    local half_window=$(jq -n 
     "$WINDOW/2"                                                            
             | jq 'floor')    export CURRENT_LINE=$(jq -n "[$CURRENT_LINE,  
     $max_line -                                                            
             $half_window] | min")    export CURRENT_LINE=$(jq -n           
     "[$CURRENT_LINE, $half_window]                                         
             | max")}                                                       
           docstring: null                                                  
           end_name: null                                                   
           name: _constrain_line                                            
           signature: _constrain_line                                       
         - arguments: null                                                  
           code: '_scroll_warning_message() {    # Warn the agent if we     
     scroll too many                                                        
             times    # Message will be shown if scroll is called more than 
     WARN_AFTER_SCROLLING_TIMES                                             
             (default 3) times    # Initialize variable if it''s not set    
     export SCROLL_COUNT=${SCROLL_COUNT:-0}    #                            
             Reset if the last command wasn''t about scrolling    if [      
     "$LAST_ACTION" !=                                                      
             "scroll_up" ] && [ "$LAST_ACTION" != "scroll_down" ]; then     
     export SCROLL_COUNT=0    fi    #                                       
             Increment because we''re definitely scrolling now    export    
     SCROLL_COUNT=$((SCROLL_COUNT                                           
             + 1))    if [ $SCROLL_COUNT -ge                                
     ${WARN_AFTER_SCROLLING_TIMES:-3} ]; then        echo                   
             ""        echo "WARNING: Scrolling many times in a row is very 
     inefficient."        echo                                              
             "If you know what you are looking for, use \`search_file       
     <pattern>\` instead."        echo                                      
             ""    fi}'                                                     
           docstring: null                                                  
           end_name: null                                                   
           name: _scroll_warning_message                                    
           signature: _scroll_warning_message                               
       config_file: config/default_from_url.yaml                            
       model:                                                               
         host_url: localhost:11434                                          
         model_name: gpt4                                                   
         per_instance_cost_limit: 3.0                                       
         replay_path: null                                                  
         temperature: 0.0                                                   
         top_p: 0.95                                                        
         total_cost_limit: 0.0                                              
     ctf: false                                                             
     environment:                                                           
       base_commit: null                                                    
       cache_task_images: false                                             
       container_mounts: []                                                 
       container_name: null                                                 
       data_path:                                                           
     https://githubcom/sandbox-sandbox/development-portal-docume
     ntation/issues/728                                                     
       environment_setup: null                                              
       image_name: sweagent/swe-agent:latest                                
       install_environment: true                                            
       interactive_sessions_config:                                         
         connect:                                                           
           cmdline: /root/commands/_connect                                 
           exit_command: connect_stop                                       
           quit_commands_in_session:                                        
           - quit                                                           
           signal_for_interrupt_limit: 3                                    
           start_command: connect_start                                     
           terminal_prompt_pattern: '(nc) '                                 
           timeout_duration_on_interrupt: 5                                 
         dummy:                                                             
           cmdline: /root/commands/_interactive_dummy                       
           exit_command: dummy_stop                                         
           quit_commands_in_session:                                        
           - stop                                                           
           signal_for_interrupt_limit: 3                                    
           start_command: dummy_start                                       
           terminal_prompt_pattern: '(dummy) '                              
           timeout_duration_on_interrupt: 5                                 
         gdb:                                                               
           cmdline: gdb                                                     
           exit_command: debug_stop                                         
           quit_commands_in_session:                                        
           - quit                                                           
           signal_for_interrupt_limit: 3                                    
           start_command: debug_start                                       
           terminal_prompt_pattern: '(gdb) '                                
           timeout_duration_on_interrupt: 5                                 
       no_mirror: false                                                     
       repo_path: ''                                                        
       split: dev                                                           
       timeout: null                                                        
       verbose: true                                                        
     instance_filter: .*                                                    
     print_config: true                                                     
     raise_exceptions: false                                                
     skip_existing: true                                                    
     suffix: ''                                                             

INFO Base commit reference None resolved to commit hash
dc4f6d0f0d48d21db8a3ff8044344b64c453629a
INFO 💽 Loaded dataset from
https://github.com/sandbox-sandbox/development-portal-docume ntation/issues/728
INFO Found image sweagent/swe-agent:latest with tags:
['sweagent/swe-agent:latest'], created: 2024-10-23T08:12:25.758041047Z for linux arm64.
DEBUG Starting container with command: docker run -i --rm --name
sweagent-swe-agent-latest-0737fba1dc sweagent/swe-agent:latest
/bin/bash -l
INFO 🌱 Environment Initialized
DEBUG Environment initialization took 3.73 seconds
INFO ▶️ Beginning task 0
Trying to clone from non mirror... INFO Trying to clone from non-mirror...
WARNING install_environment is set to True, but the data path is a GitHub URL
without an environment config file (environment_config key/flag).
Skipping conda environment installation.
INFO Initializing agent settings for container
1ab6b6d0b86d691bd1b54511899136b5ed7fbcda96a8086d5db9cbbd37cc808d
INFO Resetting model stats
INFO SYSTEM (primary)
SETTING: You are an autonomous programmer, and you're working directly in the command line with a special interface.

     The special interface consists of a file editor that shows you 100     
     lines of a file at a time.                                             
     In addition to typical bash commands, you can also use the following   
     commands to help you navigate and edit files.                          

     COMMANDS:                                                              
     open:                                                                  
       docstring: opens the file at the given path in the editor. If        
     line_number is provided, the window will be move to include that line  
       signature: open "<path>" [<line_number>]                             
       arguments:                                                           
         - path (string) [required]: the path to the file to open           
         - line_number (integer) [optional]: the line number to move the    
     window to (if not provided, the window will start at the top of the    
     file)                                                                  

     goto:                                                                  
       docstring: moves the window to show <line_number>                    
       signature: goto <line_number>                                        
       arguments:                                                           
         - line_number (integer) [required]: the line number to move the    
     window to                                                              

     scroll_down:                                                           
       docstring: moves the window down 100 lines                           
       signature: scroll_down                                               

     scroll_up:                                                             
       docstring: moves the window down 100 lines                           
       signature: scroll_up                                                 

     create:                                                                
       docstring: creates and opens a new file with the given name          
       signature: create <filename>                                         
       arguments:                                                           
         - filename (string) [required]: the name of the file to create     

     search_dir:                                                            
       docstring: searches for search_term in all files in dir. If dir is   
     not provided, searches in the current directory                        
       signature: search_dir <search_term> [<dir>]                          
       arguments:                                                           
         - search_term (string) [required]: the term to search for          
         - dir (string) [optional]: the directory to search in (if not      
     provided, searches in the current directory)                           

     search_file:                                                           
       docstring: searches for search_term in file. If file is not provided,
     searches in the current open file                                      
       signature: search_file <search_term> [<file>]                        
       arguments:                                                           
         - search_term (string) [required]: the term to search for          
         - file (string) [optional]: the file to search in (if not provided,
     searches in the current open file)                                     

     find_file:                                                             
       docstring: finds all files with the given name in dir. If dir is not 
     provided, searches in the current directory                            
       signature: find_file <file_name> [<dir>]                             
       arguments:                                                           
         - file_name (string) [required]: the name of the file to search for
         - dir (string) [optional]: the directory to search in (if not      
     provided, searches in the current directory)                           

     edit:                                                                  
       docstring: replaces lines <start_line> through <end_line> (inclusive)
     with the given text in the open file. The replacement text is          
     terminated by a line with only end_of_edit on it. All of the           
     <replacement text> will be entered, so make sure your indentation is   
     formatted properly. Python files will be checked for syntax errors     
     after the edit. If the system detects a syntax error, the edit will not
     be executed. Simply try to edit the file again, but make sure to read  
     the error message and modify the edit command you issue accordingly.   
     Issuing the same command a second time will just lead to the same error
     message again.                                                         
       signature: edit <start_line>:<end_line>                              
     <replacement_text>                                                     
     end_of_edit                                                            
       arguments:                                                           
         - start_line (integer) [required]: the line number to start the    
     edit at                                                                
         - end_line (integer) [required]: the line number to end the edit at
     (inclusive)                                                            
         - replacement_text (string) [required]: the text to replace the    
     current selection with                                                 

     submit:                                                                
       docstring: submits your current code and terminates the session      
       signature: submit                                                    

     Please note that THE EDIT COMMAND REQUIRES PROPER INDENTATION.         
     If you'd like to add the line '        print(x)' you must fully write  
     that out, with all those spaces before the code! Indentation is        
     important and code that is not indented correctly will fail and require
     fixing before it can be run.                                           

     RESPONSE FORMAT:                                                       
     Your shell prompt is formatted as follows:                             
     (Open file: <path>) <cwd> $                                            

     You need to format your output using two fields; discussion and        
     command.                                                               
     Your output should always include _one_ discussion and _one_ command   
     field EXACTLY as in the following example:                             
     DISCUSSION                                                             
     First I'll start by using ls to see what files are in the current      
     directory. Then maybe we can look at some relevant files to see what   
     they look like.                                                        
     ```                                                                    
     ls -a                                                                  
     ```                                                                    

     You should only include a *SINGLE* command in the command section and  
     then wait for a response from the shell before continuing with more    
     discussion and commands. Everything you include in the DISCUSSION      
     section will be saved for future reference.                            
     If you'd like to issue two commands at once, PLEASE DO NOT DO THAT!    
     Please instead first submit just the first command, and then after     
     receiving a response you'll be able to issue the second command.       
     You're free to use any other bash commands you want (e.g. find, grep,  
     cat, ls, cd) in addition to the special commands listed above.         
     However, the environment does NOT support interactive session commands 
     (e.g. python, vim), so please do not invoke them.                      

INFO DEMONSTRATION:
/Users/rharshavard/Documents/code/ssdlc-agent-workflow/swe-agent-ssdlc/ trajectories/demonstrations/replaymarshmallow-codemarshmallow-1867_ _defaultt-0.20p-0.95c-2.00install-1_install_from_source/marsh mallow-code__marshmallow-1867.traj
WARNING Traceback (most recent call last):
File
"/Users/rharshavard/Documents/code/ssdlc-agent-workflow/swe-agent-ssdlc /run.py", line 395, in main
self.run(index)
File
"/Users/rharshavard/Documents/code/ssdlc-agent-workflow/swe-agent-ssdlc /run.py", line 379, in run
info, trajectory = self.agent.run(
^^^^^^^^^^^^^^^
File
"/Users/rharshavard/Documents/code/ssdlc-agent-workflow/swe-agent-ssdlc /sweagent/agent/agents.py", line 1050, in run
self.setup(setup_args, init_model_stats)
File
"/Users/rharshavard/Documents/code/ssdlc-agent-workflow/swe-agent-ssdlc /sweagent/agent/agents.py", line 377, in setup
self.setup_attempt(init_model_stats=init_model_stats)
File
"/Users/rharshavard/Documents/code/ssdlc-agent-workflow/swe-agent-ssdlc /sweagent/agent/agents.py", line 408, in setup_attempt
demo_history =
json.loads(Path(demonstration_path).read_text())["history"]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"/Users/rharshavard/.pyenv/versions/3.12.4/lib/python3.12/pathlib.py", line 1027, in read_text
with self.open(mode='r', encoding=encoding, errors=errors) as f:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"/Users/rharshavard/.pyenv/versions/3.12.4/lib/python3.12/pathlib.py", line 1013, in open
return io.open(self, mode, buffering, encoding, errors, newline)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory:
'/Users/rharshavard/Documents/code/ssdlc-agent-workflow/swe-agent-ssdlc /trajectories/demonstrations/replay
marshmallow-codemarshmallow-1867 defaultt-0.20p-0.95c-2.00install-1_install_from_source/mars hmallow-codemarshmallow-1867.traj'

WARNING ❌ Failed on sandbox-sandboxdevelopment-portal-documentation-i728:
[Errno 2] No such file or directory:
'/Users/rharshavard/Documents/code/ssdlc-agent-workflow/swe-agent-ssdlc /trajectories/demonstrations/replay
marshmallow-codemarshmallow-1867 defaultt-0.20p-0.95c-2.00install-1_install_from_source/mars hmallow-codemarshmallow-1867.traj'
INFO Beginning environment shutdown...
INFO Agent container stopped
INFO Found image sweagent/swe-agent:latest with tags:
['sweagent/swe-agent:latest'], created: 2024-10-23T08:12:25.758041047Z for linux arm64.
DEBUG Starting container with command: docker run -i --rm --name
sweagent-swe-agent-latest-f04cb459d5 sweagent/swe-agent:latest
/bin/bash -l
INFO 🌱 Environment Initialized
INFO Beginning environment shutdown...
INFO Agent container stopped

Process finished with exit code 0

System Information

mac m1

Checklist

klieret commented 1 month ago

Well, have you checked whether the file that is reported missing exists? It should be part of the normal swe-agent distribution?

harsha7890 commented 1 month ago

@klieret , it is fixed now, distribution folder is missing in trajectories in root folder, I copied from swe-agent/trajectories.

klieret commented 1 month ago

Great to hear that