I've created a Django website to manage my company's various iOS and 
Android apps. It uses a python Git module 
(GitPython<http://gitorious.org/git-python>) 
to manage files, but fairly often I will get an error that a command 
(usually pull, but sometimes add) returned exit status -6. Running the same 
command myself works perfectly. Searching for explanations yields no help.

Here's the traceback my logs get:

Traceback (most recent call last):
>   File "gitmanager.py", line 87, in pull
>     self.log.info(self.git.pull())
>   File "/Library/Python/2.7/site-packages/git/cmd.py", line 227, in 
> <lambda>
>     return lambda *args, **kwargs: self._call_process(name, *args, 
> **kwargs)
>   File "/Library/Python/2.7/site-packages/git/cmd.py", line 456, in 
> _call_process
>     return self.execute(call, **_kwargs)
>   File "/Library/Python/2.7/site-packages/git/cmd.py", line 377, in execute
>     raise GitCommandError(command, status, stderr_value)
> GitCommandError: 'git pull' returned exit status -6:


The only explanation I can come up with is that it's a timing issue, that 
the script is running commands faster than Git expects and I'm hitting an 
access lock.

If anyone else has encountered this error or knows what the -6 means, 
please help. If it is what I think, I'd appreciate help designing a way to 
slow my script down to avoid this problem.

Thanks,
Dallin

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to