Error on gitlog_showcase #265
-
I try to run prase_gitlog(perceval_path,git_repo_path) and it gives me an error "Error in system2("git", args = c("--git-dir", git_repo_path, "--work-tree", : error in running command" |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 10 replies
-
We discussed on call the error message is being caused due to the data being analyzed not being used (in this case, the git log of the project APR). Ian, to follow-up on this as we agreed, take a look on the Notebook narrative in english and see if what project configuration files are, and what data is needed to run the code block. Then try to run parse_gitlog. It seems you figured the tools.yml already too. If not, please follow up here with a reply where it is not clear. For now, a TODO I have is to fix the error message when data is missing, since it is outright cryptic. I believe the error message for when Perceval is missing was added, but I overlook the data. For the User Experience Report, please refer to this item mentioning the fact the expectation was the code to run, without the APR data at a first step, since I think unfamiliarity with Mining Software Repositories may have played a role on this, which is totally fine. 👍 |
Beta Was this translation helpful? Give feedback.
-
Possibly duplicate with #269 |
Beta Was this translation helpful? Give feedback.
-
I tried adding the path that was given in apr.yml into my files ("../../rawdata/git_repo/APR/.git"), I'm still getting the "Error in system2("git", args = c("--git-dir", git_repo_path, "--work-tree", : error in running command" error. I tried reading the english narrative, which is what led me to manually creating the path. |
Beta Was this translation helpful? Give feedback.
Can you try using git clone on the terminal and the url it provides on green button?