Re: Issue 1637 in reviewboard: Review Board + perforce can not upload diff
Comment #10 on issue 1637 by vpeng...@gmail.com: Review Board + perforce can not upload diff http://code.google.com/p/reviewboard/issues/detail?id=1637 Comment 7 gives the right clue. Suggest improving the error output messages. Ask users to check the p4 path for the Python scripts! -- You received this message because you are subscribed to the Google Groups reviewboard-issues group. To post to this group, send email to reviewboard-issues@googlegroups.com. To unsubscribe from this group, send email to reviewboard-issues+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/reviewboard-issues?hl=en.
Re: Issue 1637 in reviewboard: Review Board + perforce can not upload diff
Updates: Status: SetupIssue Comment #9 on issue 1637 by trowbrds: Review Board + perforce can not upload diff http://code.google.com/p/reviewboard/issues/detail?id=1637 (No comment was entered for this change.) -- You received this message because you are subscribed to the Google Groups reviewboard-issues group. To post to this group, send email to reviewboard-iss...@googlegroups.com. To unsubscribe from this group, send email to reviewboard-issues+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/reviewboard-issues?hl=en.
Re: Issue 1637 in reviewboard: Review Board + perforce can not upload diff
Comment #7 on issue 1637 by chipx86: Review Board + perforce can not upload diff http://code.google.com/p/reviewboard/issues/detail?id=1637 The problem looks to be that p4 (or p4.exe) isn't installed on the server. It must be available in the path so the web server can access it. -- You received this message because you are subscribed to the Google Groups reviewboard-issues group. To post to this group, send email to reviewboard-iss...@googlegroups.com. To unsubscribe from this group, send email to reviewboard-issues+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/reviewboard-issues?hl=en.
Re: Issue 1637 in reviewboard: Review Board + perforce can not upload diff
Comment #8 on issue 1637 by paul.dubois: Review Board + perforce can not upload diff http://code.google.com/p/reviewboard/issues/detail?id=1637 That was the issue. p4 in /usr/sbin instead of /usr/bin. Thanks! -- You received this message because you are subscribed to the Google Groups reviewboard-issues group. To post to this group, send email to reviewboard-iss...@googlegroups.com. To unsubscribe from this group, send email to reviewboard-issues+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/reviewboard-issues?hl=en.
Re: Issue 1637 in reviewboard: Review Board + perforce can not upload diff
Comment #6 on issue 1637 by paul.dubois: Review Board + perforce can not upload diff http://code.google.com/p/reviewboard/issues/detail?id=1637 Perforce, new reviewboard install, similar issue when using post-review. I won't post the error data; it looks identical. Strangely, the diff printed by post-review -n looks like it was generated with p4 rather than diff -urNp. Here's the output of post-review -n: [C:\dfp-cust-b]post-review -n 349518 --- //dfp/Main/Common/Code/Python/dfp4.py //dfp/Main/Common/Code/Python/dfp4.py#16 +++ //dfp/Main/Common/Code/Python/dfp4.py 2010-06-30 19:27:45 @@ -26,6 +26,7 @@ from P4 import P4Exception, P4Error RAISE_ALL = 2 RAISE_ERROR = 1 RAISE_NONE = 0 +RAISE_A_RUCKUS = -1 # -- # DF wrapper around P4API wrapper And here's what I get when running diff by hand (following what post-review -d says it's doing): [C:\dfp-cust-b]p4 print -o tmpa -q //dfp/main/common/code/python/dfp4.py#16 [C:\dfp-cust-b]diff -urNp c:\dfp-cust-b\tmpa c:\dfp-cust-b\Common\Code\Python\dfp4.py --- c:\dfp-cust-b\tmpa 2010-06-30 19:32:18.755014300 -0700 +++ c:\dfp-cust-b\Common\Code\Python\dfp4.py2010-06-30 19:27:45.074381800 -0700 @@ -26,6 +26,7 @@ from P4 import P4Exception, P4Error RAISE_ALL = 2 RAISE_ERROR = 1 RAISE_NONE = 0 +RAISE_A_RUCKUS = -1 # -- # DF wrapper around P4API wrapper I tried uploading the output of post-review -n by hand, via the Upload Diff button. The upload dialog box gave me the same error: One or more fields had errors [Errno 2] No such file or directory I tried uploading the output of diff -urNp by hand and got different errors: One or more fields had errors need more than 1 value to unpack -- You received this message because you are subscribed to the Google Groups reviewboard-issues group. To post to this group, send email to reviewboard-iss...@googlegroups.com. To unsubscribe from this group, send email to reviewboard-issues+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/reviewboard-issues?hl=en.
Re: Issue 1637 in reviewboard: Review Board + perforce can not upload diff
Comment #4 on issue 1637 by bweav19: Review Board + perforce can not upload diff http://code.google.com/p/reviewboard/issues/detail?id=1637 I have the same issue, here is what my debug output looks like [r...@re ~]# post-review 513239 --debug svn info p4 info repository info: Path: p4master-atl01.us.msudev.noklab.net:1680, Base path: None, Supports changesets: True p4 counters Generating diff for changenum 513239 p4 describe -s 513239 Processing edit of //depot/syncsuite/cas/trunk/rpm/build.xml Writing //depot/syncsuite/cas/trunk/rpm/build.xml#15 to /tmp/tmpWRRyXF p4 print -o /tmp/tmpWRRyXF -q //depot/syncsuite/cas/trunk/rpm/build.xml#15 Writing //depot/syncsuite/cas/trunk/rpm/build.xml#16 to /tmp/tmpmqWes7 p4 print -o /tmp/tmpmqWes7 -q //depot/syncsuite/cas/trunk/rpm/build.xml#16 diff -urNp /tmp/tmpWRRyXF /tmp/tmpmqWes7 Looking for 're.us.msudev.noklab.net /reviewboard/' cookie in /root/.post-review-cookies.txt Loaded valid cookie -- no login required Attempting to create review request on p4master-atl01.us.msudev.noklab.net:1680 for 513239 HTTP POSTing to http://re.us.msudev.noklab.net/reviewboard/api/json/reviewrequests/new/: {'repository_path': 'p4master-atl01.us.msudev.noklab.net:1680', 'changenum': '513239'} Review request created Uploading diff, size: 566 HTTP POSTing to http://re.us.msudev.noklab.net/reviewboard/api/json/reviewrequests/9/diff/new/: {} Got API Error 105 (HTTP code 200): One or more fields had errors Error data: {'fields': {'path': ['[Errno 2] No such file or directory']}, 'stat': 'fail', 'err': {'msg': 'One or more fields had errors', 'code': 105}} Error uploading diff The generated diff file was empty. This usually means no files were modified in this change. Try running with --output-diff and --debug for more information. Your review request still exists, but the diff is not attached. -- You received this message because you are subscribed to the Google Groups reviewboard-issues group. To post to this group, send email to reviewboard-iss...@googlegroups.com. To unsubscribe from this group, send email to reviewboard-issues+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/reviewboard-issues?hl=en.
Re: Issue 1637 in reviewboard: Review Board + perforce can not upload diff
Comment #5 on issue 1637 by bweav19: Review Board + perforce can not upload diff http://code.google.com/p/reviewboard/issues/detail?id=1637 I have the exact same issue, here is my output with debug but not output-diff. As a note this is a brand new reviewboard server and my first time setting it up. #post-review 513239 --debug svn info p4 info repository info: Path: p4server-atl01.us.msudev.lab.net:1680, Base path: None, Supports changesets: True p4 counters Generating diff for changenum 513239 p4 describe -s 513239 Processing edit of //depot/syncsuite/cas/trunk/rpm/build.xml Writing //depot/syncsuite/cas/trunk/rpm/build.xml#15 to /tmp/tmpWRRyXF p4 print -o /tmp/tmpWRRyXF -q //depot/syncsuite/cas/trunk/rpm/build.xml#15 Writing //depot/syncsuite/cas/trunk/rpm/build.xml#16 to /tmp/tmpmqWes7 p4 print -o /tmp/tmpmqWes7 -q //depot/syncsuite/cas/trunk/rpm/build.xml#16 diff -urNp /tmp/tmpWRRyXF /tmp/tmpmqWes7 Looking for 're.us.msudev.lab.net /reviewboard/' cookie in /root/.post-review-cookies.txt Loaded valid cookie -- no login required Attempting to create review request on p4server-atl01.us.msudev.lab.net:1680 for 513239 HTTP POSTing to http://re.us.msudev.lab.net/reviewboard/api/json/reviewrequests/new/: {'repository_path': 'p4server-atl01.us.msudev.lab.net:1680', 'changenum': '513239'} Review request created Uploading diff, size: 566 HTTP POSTing to http://re.us.msudev.lab.net/reviewboard/api/json/reviewrequests/9/diff/new/: {} Got API Error 105 (HTTP code 200): One or more fields had errors Error data: {'fields': {'path': ['[Errno 2] No such file or directory']}, 'stat': 'fail', 'err': {'msg': 'One or more fields had errors', 'code': 105}} Error uploading diff The generated diff file was empty. This usually means no files were modified in this change. Try running with --output-diff and --debug for more information. Your review request still exists, but the diff is not attached. -- You received this message because you are subscribed to the Google Groups reviewboard-issues group. To post to this group, send email to reviewboard-iss...@googlegroups.com. To unsubscribe from this group, send email to reviewboard-issues+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/reviewboard-issues?hl=en.
Re: Issue 1637 in reviewboard: Review Board + perforce can not upload diff
Comment #3 on issue 1637 by chipx86: Review Board + perforce can not upload diff http://code.google.com/p/reviewboard/issues/detail?id=1637 Sorry, still want --debug in there. I need to see everything that hte debug output says (though you can mask the domain names if you want). All the paths and everything else must be there in the debug log though. -- You received this message because you are subscribed to the Google Groups reviewboard-issues group. To post to this group, send email to reviewboard-iss...@googlegroups.com. To unsubscribe from this group, send email to reviewboard-issues+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/reviewboard-issues?hl=en.
Re: Issue 1637 in reviewboard: Review Board + perforce can not upload diff
Comment #2 on issue 1637 by dekun.chen.ivan: Review Board + perforce can not upload diff http://code.google.com/p/reviewboard/issues/detail?id=1637 Thanks for your help. please find the following info: $ post-review 3756 Error uploading diff The generated diff file was empty. This usually means no files were modified in this change. Try running with --output-diff and --debug for more information. Your review request still exists, but the diff is not attached. -- You received this message because you are subscribed to the Google Groups reviewboard-issues group. To post to this group, send email to reviewboard-iss...@googlegroups.com. To unsubscribe from this group, send email to reviewboard-issues+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/reviewboard-issues?hl=en.
Re: Issue 1637 in reviewboard: Review Board + perforce can not upload diff
Updates: Status: NeedInfo Comment #1 on issue 1637 by chipx86: Review Board + perforce can not upload diff http://code.google.com/p/reviewboard/issues/detail?id=1637 Can you run without --output-diff so we can see the debug info during the upload process? -- You received this message because you are subscribed to the Google Groups reviewboard-issues group. To post to this group, send email to reviewboard-iss...@googlegroups.com. To unsubscribe from this group, send email to reviewboard-issues+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/reviewboard-issues?hl=en.