Re: rbt post error, git-cat file, bad file
Just as a follow up, I was able to post a review request in a different repo using "rbt post" but when I try the exact same command in this repo I get the error mention. Maybe this would be helpful information? Thanks -- 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.
Re: rbt post error, git-cat file, bad file
Hi Chritian, I believe this repository is the exact same one that I cloned from and am pushing to. Thanks, Felix -- 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.
Re: rbt post error, git-cat file, bad file
Hi Felix, Thanks. Is that the same exact Git repository you cloned from and are pushing to, or a mirror? If a mirror, how are you keeping it up-to-date? Christian On Thursday, October 2, 2014, Felix Wei wrote: > Hi, > > This is the information on the repository > > name: Management > Hosting service: (None - Custom Repository) > Repository type: Git > Path: /var/repos_mirrors/Management/.git > Mirror path: > http://testing_server:9090/tfs/DefaultCollection/Tests/_git/Management > > all other fields are empty > > Hope this is the information you required. > > Thanks, > Felix > > >> -- > 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. > -- -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org Beanbag, Inc. - http://www.beanbaginc.com -- 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.
Re: rbt post error, git-cat file, bad file
Hi, This is the information on the repository name: Management Hosting service: (None - Custom Repository) Repository type: Git Path: /var/repos_mirrors/Management/.git Mirror path: http://testing_server:9090/tfs/DefaultCollection/Tests/_git/Management all other fields are empty Hope this is the information you required. Thanks, Felix > -- 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.
Re: rbt post error, git-cat file, bad file
Hi Felix, I need to see what's actually set up in Review Board for the repository in the administration UI. Christian On Thursday, October 2, 2014, Felix Wei wrote: > > > The content in the .reviewboardrc file is as follows, is this what your > are looking for? > > REPOSITORY = 'Management' > REPOSITORY_TYPE = 'git' > REVIEWBOARD_URL = "http://codereview-linux.company.com/"; > > Thanks > > -- > 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. > -- -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org Beanbag, Inc. - http://www.beanbaginc.com -- 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.
Re: rbt post error, git-cat file, bad file
The content in the .reviewboardrc file is as follows, is this what your are looking for? REPOSITORY = 'Management' REPOSITORY_TYPE = 'git' REVIEWBOARD_URL = "http://codereview-linux.company.com/"; Thanks -- 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.
Re: rbt post error, git-cat file, bad file
Can you provide details on your repository configuration in Review Board? Christian -- Christian Hammond - christ...@beanbaginc.com Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com -Original Message- From: Felix Wei Reply: reviewboard@googlegroups.com > Date: October 1, 2014 at 11:02:49 AM To: reviewboard@googlegroups.com > Subject: Re: rbt post error, git-cat file, bad file > Hi can someone please help... > > -- > 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.
Re: rbt post error, git-cat file, bad file
Hi can someone please help... -- 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.
rbt post error, git-cat file, bad file
I have tried to create a review request but I always get this error $ rbt post -r 207 --debug >>> RBTools 0.6.2 >>> Python 2.7.8 (default, Jun 30 2014, 16:08:48) [MSC v.1500 64 bit (AMD64)] >>> Running on Windows-7-6.1-SP1 >>> Home = C:\Users\user\AppData\Roaming >>> Current directory = C:\Users\user\Repos\Management >>> Checking for a Git repository... >>> Running: git rev-parse --git-dir >>> Running: git config core.bare >>> Running: git rev-parse --show-toplevel >>> Running: git symbolic-ref -q HEAD >>> Running: git config --get branch.Bug_1515.merge >>> Command exited with rc 1: ['git', 'config', '--get', 'branch.Bug_1515.merge'] --- >>> Running: git config --get branch.Bug_1515.remote >>> Command exited with rc 1: ['git', 'config', '--get', 'branch.Bug_1515.remote'] --- >>> Running: git config --get remote.origin.url >>> repository info: Path: http://serverurl/tfs/collection/Mor/_git/Management, Base path: , Supports changesets: False >>> Making HTTP GET request to http://codereview-linux.company.com/api/ >>> Running: git rev-parse refs/heads/Bug_1515 >>> Running: git merge-base 8b4eec3c80e6e781a2be630f0a6d45bb7a1 origin/master >>> Running: git rev-parse af6df510ce2af405a23b941940cd6eab863 >>> Running: git status --porcelain --untracked-files=no >>> Running: git diff --no-color --full-index --ignore-submodules af6df510ce2af405a23b94f34e31940cd6eab863..8b4eec3c80e6e781a2be84059630f0a6d45bb7a1 -M >>> Making HTTP GET request to http://codereview-linux.company.com/api/review-requests/207/ >>> Making HTTP GET request to http://codereview-linux.company.com/api/review-requests/207/diffs/ >>> Making HTTP POST request to http://codereview-linux.company.com/api/review-requests/207/diffs/ >>> Got API Error 105 (HTTP code 400): One or more fields had errors >>> Error data: {u'fields': {u'path': [u'fatal: git cat-file ab07734bafbed7533bb81d062981b8d70ff00c56: bad file\n']}, u'stat': u'fail', u'err': {u'msg': u'One or more fields had errors', u'code': 105}} Traceback (most recent call last): File "c:\Python27\Scripts\rbt-script.py", line 9, in load_entry_point('RBTools==0.6.2', 'console_scripts', 'rbt')() File "C:\csvn\Python25\lib\site-packages\rbtools-0.6.2-py2.7.egg\rbtools\commands\main.py", line 134, in main command.run_from_argv([RB_MAIN, command_name] + args) File "C:\csvn\Python25\lib\site-packages\rbtools-0.6.2-py2.7.egg\rbtools\commands\__init__.py", line 416, in run_from_argv exit_code = self.main(*args) or 0 File "C:\csvn\Python25\lib\site-packages\rbtools-0.6.2-py2.7.egg\rbtools\commands\post.py", line 784, in main submit_as=self.options.submit_as) File "C:\csvn\Python25\lib\site-packages\rbtools-0.6.2-py2.7.egg\rbtools\commands\post.py", line 551, in post_request raise CommandError(u'\n'.join(error_msg)) rbtools.commands.CommandError: Error uploading diff One or more fields had errors (HTTP 400, API Error 105) path: fatal: git cat-file ab07734bafbed7533bb81d062981b8d70ff00c56: bad file Your review request still exists, but the diff is not attached. http://codereview-linux.company.com/r/207/ Can someone tell me what is going on? Thanks in advance -- 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.