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

GitCommandError #699

Closed
sirtris opened this issue Dec 4, 2019 · 3 comments
Closed

GitCommandError #699

sirtris opened this issue Dec 4, 2019 · 3 comments

Comments

@sirtris
Copy link

sirtris commented Dec 4, 2019

wandb --version && python --version && uname

  • Weights and Biases version: 0.8.17
  • Python version: 3.7.1
  • Operating System: Linux-5.2.9-arch

Description

I was running a normal run with code I have run before

What I Did

In wandb.init(project="MY_PROJECT") I get this error:

GitCommandError: Cmd('git') failed due to: exit code(128)
  cmdline: git status --porcelain --untracked-files
  stderr: 'fatal: unable to read tree dd01dff437ea440dd0db6412f7223af30b7eb371
'
@issue-label-bot
Copy link

Issue Label Bot is not confident enough to auto-label this issue. See dashboard for more details.

@vanpelt
Copy link
Contributor

vanpelt commented Dec 4, 2019

It looks like you have a corrupt git repository. Try running git gc from the terminal in your git repo. If you still have the error, you can disable our git tracking by setting the WANDB_DISABLE_CODE environment variable to "true" before calling wandb.init

@sirtris
Copy link
Author

sirtris commented Dec 12, 2019

Thanks git gc seems to have solved the problem

@sirtris sirtris closed this as completed Dec 12, 2019
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

No branches or pull requests

2 participants