You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "/home/zope/adria/rcse/production-2013-09-11-11-18-37/buildout-cache/eggs/mr.developer-1.26-py2.7.egg/mr/developer/git.py", line 226, in checkout
return self.git_checkout(**kwargs)
File "/home/zope/adria/rcse/production-2013-09-11-11-18-37/buildout-cache/eggs/mr.developer-1.26-py2.7.egg/mr/developer/git.py", line 135, in git_checkout
stdout, stderr = self.git_switch_branch(stdout, stderr)
File "/home/zope/adria/rcse/production-2013-09-11-11-18-37/buildout-cache/eggs/mr.developer-1.26-py2.7.egg/mr/developer/git.py", line 158, in git_switch_branch
raise GitError("'git branch -a' failed.\n%s" % (branch, stderr))
TypeError: not all arguments converted during string formatting
The text was updated successfully, but these errors were encountered:
I'm currently try to use git's post-recieve hook (server side) which launch a shell script in background (using nohup script). When the script is launch by git it seems it delete the STDIN so mr.developer fails on some repository only. We have tried to set threads to 1 but it doesn't fix the issue.
To fix our issue we just change the way to trigger the build so now the post-recieve just create a file (touch) and a cron launch our build if a file exists.
The typeerror comes from here, the fix is trivial:
https://github.com/fschulze/mr.developer/blob/master/src/mr/developer/git.py#L158
File "/home/zope/adria/rcse/production-2013-09-11-11-18-37/buildout-cache/eggs/mr.developer-1.26-py2.7.egg/mr/developer/git.py", line 226, in checkout
return self.git_checkout(**kwargs)
File "/home/zope/adria/rcse/production-2013-09-11-11-18-37/buildout-cache/eggs/mr.developer-1.26-py2.7.egg/mr/developer/git.py", line 135, in git_checkout
stdout, stderr = self.git_switch_branch(stdout, stderr)
File "/home/zope/adria/rcse/production-2013-09-11-11-18-37/buildout-cache/eggs/mr.developer-1.26-py2.7.egg/mr/developer/git.py", line 158, in git_switch_branch
raise GitError("'git branch -a' failed.\n%s" % (branch, stderr))
TypeError: not all arguments converted during string formatting
The text was updated successfully, but these errors were encountered: