Looks like you’re using Review Board with direct access to a git repository. It 
could be on that end or on the RBTools side.

For Review Board, make sure that:

1) The git repository Review Board is using is local, and not some remote URL 
(or you have the raw URL configured correctly).
2) If it is a local git repository, it’s up-to-date.

For the RBTools side, check that:

1) You’re using —tracking-branch and —parent if needed. If your change is based 
on commits from a remote other than origin/master, then you need 
—tracking-branch.
2) Your refs on the tracking branches are pushed.
3) Your branch has the latest from the tracking branch merged into it.

Also, knowing what versions of Review Board and RBTools you’re using would be 
helpful.

Christian

-- 
Christian Hammond - christ...@beanbaginc.com
Review Board - http://www.reviewboard.org
Beanbag, Inc. - http://www.beanbaginc.com

On July 31, 2014 at 12:31:59 PM, Zhongting Hu (zhongting...@gmail.com) wrote:

Hi, Guys

This sounds like a problem which has been resolved before by some of the guys, 
but I just wonder how to figure it out.

My problem is got some failed when uploading the diff..  Some people here says 
it's related with Permissions, so how can I figure out the files which has the 
permission issues here?

Many Thanks.

---
DEBUG:root:Checking for a Git repository...
DEBUG:root:Running: git rev-parse --git-dir
DEBUG:root:Running: git config core.bare
DEBUG:root:Running: git rev-parse --show-toplevel
DEBUG:root:Running: git symbolic-ref -q HEAD
DEBUG:root:Running: git config --get git-p4.port
DEBUG:root:Command exited with rc 1: ['git', 'config', '--get', 'git-p4.port']
---
DEBUG:root:Running: git config --get branch.reviewboard_testing.merge
DEBUG:root:Command exited with rc 1: ['git', 'config', '--get', 
'branch.reviewboard_testing.merge']
---
DEBUG:root:Running: git config --get branch.reviewboard_testing.remote
DEBUG:root:Command exited with rc 1: ['git', 'config', '--get', 
'branch.reviewboard_testing.remote']
---
DEBUG:root:Running: git config --get remote.origin.url
DEBUG:root:repository info: Path:XXXXX, Base path: , Supports changesets: False
>>> Finished checking the repository type.
DEBUG:root:Running: git config --get reviewboard.url
>>> HTTP GETting api/info/
==> HTTP Authentication Required
Enter authorization information for "Web API" at reviewboard.loyal3.com
Password: 
DEBUG:root:Running: git rev-parse refs/heads/reviewboard_testing
DEBUG:root:Running: git merge-base 810d037f97eab6a4b6d405bf57f86e52cccab043 
origin/master
DEBUG:root:Running: git rev-parse f2561b898eb4288e4e073765be94971f2d02d1ee
DEBUG:root:Running: git status --porcelain
DEBUG:root:Running: git diff --no-color --full-index --no-ext-diff 
--ignore-submodules --no-renames 
f2561b898eb4288e4e073765be94971f2d02d1ee..810d037f97eab6a4b6d405bf57f86e52cccab043
>>> HTTP GETting api/
>>> HTTP GETting http://reviewboard.loyal3.com/api/info/
>>> Using the new web API
>>> Attempting to create review request onXXXX:iphone for None
>>> HTTP POSTing to http://reviewboard.loyal3.com/api/review-requests/: 
>>> {'repository': 'XXXX'}
>>> Review request created
>>> Uploading diff, size: 58248
>>> HTTP POSTing to XXXXX/api/review-requests/3528/diffs/: {}
>>> Got API Error 105 (HTTP code 400): One or more fields had errors
>>> Error data: {u'fields': {u'path': [u'error: unable to find 
>>> b09893aae2dfabe6e9591330a9e00be920f0b503\nfatal: git cat-file 
>>> b09893aae2dfabe6e9591330a9e00be920f0b503: bad file\n']}, u'stat': u'fail', 
>>> u'err': {u'msg': u'One or more fields had errors', u'code': 105}}
--
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
---
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to