On Thursday, May 30, 2013 11:54:58 PM UTC+2, Dallin Lauritzen wrote:
> I've created a Django website to manage my company's various iOS and
> Android apps. It uses a python Git module
> 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
>> File "/Library/Python/2.7/site-packages/git/cmd.py", line 227, in
>> return lambda *args, **kwargs: self._call_process(name, *args,
>> File "/Library/Python/2.7/site-packages/git/cmd.py", line 456, in
>> return self.execute(call, **_kwargs)
>> File "/Library/Python/2.7/site-packages/git/cmd.py", line 377, in
>> 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.
I don't know much about Python Git bindings, but I did run into some of the
PyGit2 maintainers recently, and they seem very active, opposed to the
GitPython project which seems pretty dormant.
Have a look at http://www.pygit2.org/ - you may want to use that instead.
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
For more options, visit https://groups.google.com/groups/opt_out.