The error message indicates that the "svn" command is not found, which is required to checkout the program version. It also shows that there is an uninitialized value and a missing config file.

To resolve this issue, you may need to install the "svn" command and configure the working directory correctly. You can try the following steps:

  1. Install the "svn" command: You can use the package manager of your operating system to install the "svn" command. For example, on Ubuntu or Debian, you can run the command "sudo apt-get install subversion" to install it.

  2. Set the working directory correctly: Make sure that the working directory exists and is writable. You can use the "-w" option of the "d4j" command to specify the working directory. For example, "defects4j checkout -p Chart -v 1f -w /tmp/Chart-1".

  3. Initialize the config file: If the config file is missing, you can run the command "defects4j init" to initialize it. It will create a default config file in the current directory.

  4. Try again: Once you have installed the "svn" command, set the working directory correctly, and initialized the config file, you can try running the "d4j" command again. For example, "defects4j checkout -p Chart -v 1f -w /tmp/Chart-1".

Checking out 2266 to tmpChart-1 Cant exec svn No such file or directory at rootdefects4jframeworkcoreUtilspm line 71 FAIL Executed command svn -r 2266 co filerootdefects4jproject_reposjfreecharttrunk

原文地址: https://www.cveoy.top/t/topic/bqDh 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录