post-review perforce changelist -- API Error 105, Error data
I submitted two review requests, but only one succeeded. ** SUCCESSFUL: [~]$ post-review //path/to/file#8 --debug svn info p4 info repository info: Path: perforce.server.com:1666, Base path: None, Supports changesets: True p4 counters Writing //path/to/file#8 to /tmp/tmpqGKzlE p4 print -o /tmp/tmpqGKzlE -q //path/to/file#8 diff -urNp /tmp/tmpOVbHra /tmp/tmpqGKzlE Looking for 'ip.address /' cookie in /home/user/.post-review-cookies.txt Loaded valid cookie -- no login required Attempting to create review request on perforce.server.com:1666 for None HTTP POSTing to http://ip.address/api/json/reviewrequests/new/: {'repository_path': 'perforce/server.com:1666'} Review request created Uploading diff, size: 7291 HTTP POSTing to http://ip.address/api/json/reviewrequests/176/diff/new/: {} Review request #176 posted. UNSUCCESSFUL: [~]$ post-review changelist --debug svn info p4 info repository info: Path: perforce.server.com:1666, Base path: None, Supports changesets: True p4 counters Generating diff for changenum changelist p4 describe -s changelist Processing edit of //path/to/file Writing //path/to/file#7 to /tmp/tmpePxLve p4 print -o /tmp/tmpePxLve -q //path/to/file#7 Writing //path/to/file#8 to /tmp/tmpNjfomF p4 print -o /tmp/tmpNjfomF -q //path/to/file#8 diff -urNp /tmp/tmpePxLve /tmp/tmpNjfomF Looking for 'ip.address /' cookie in /home/user/.post-review-cookies.txt Loaded valid cookie -- no login required Attempting to create review request on perforce.server.com:1666 for changelist HTTP POSTing to http://ip.address/api/json/reviewrequests/new/: {'repository_path': 'perforce.server.com:1666', 'changenum': 'changelist'} Review request created Uploading diff, size: 1427 HTTP POSTing to http://ip.address/api/json/reviewrequests/175/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. ** What could be the issue?? Thanks in advance. -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/users/ -~--~~~~--~~--~--~--- To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en
post-review with perforce
I believe I am all set up and now ready to create my first review. However, this is what happens: $ post-review 36875 --debug svn info p4 info repository info: Path: PATH, Base path: None, Supports changesets: True Generating diff for changenum 36875 p4 describe -s 36875 Processing edit of depot file Writing depot file#30 to /tmp/tmpOlKSIt p4 print -o /tmp/tmpOlKSIt -q depot file#30 diff -urNp /tmp/tmpOlKSIt local file Looking for 'server /' cookie in /root/.post-review-cookies.txt Loaded valid cookie -- no login required Attempting to create review request on PATH for 36875 HTTP POSTing to server/api/json/reviewrequests/new/: {'repository_path': 'PATH', 'changenum': '36875'} Got HTTP error: 500: What is wrong?? PLS HELP! -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/users/ -~--~~~~--~~--~--~--- To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en
Re: post-review with perforce
I do not have p4 counter set, but I did specify the exact path in my .reviewboardrc file. On Aug 3, 1:30 pm, Dana Lacoste dlaco...@aperio.com wrote: If you run p4 counters do you see the path to your RB server (inhttp://server/reviewboard/format) in the repository_path counter? (If you have an older version of perforce the counter might have a different syntax, but it should still be visible) Dana Lacoste -Original Message- From: reviewboard@googlegroups.com [mailto:reviewbo...@googlegroups.com] On Behalf Of rquit Sent: Tuesday, August 03, 2010 1:21 PM To: reviewboard Subject: post-review with perforce I believe I am all set up and now ready to create my first review. However, this is what happens: $ post-review 36875 --debug svn info p4 info repository info: Path: PATH, Base path: None, Supports changesets: True Generating diff for changenum 36875 p4 describe -s 36875 Processing edit of depot file Writing depot file#30 to /tmp/tmpOlKSIt p4 print -o /tmp/tmpOlKSIt -q depot file#30 diff -urNp /tmp/tmpOlKSIt local file Looking for 'server /' cookie in /root/.post-review-cookies.txt Loaded valid cookie -- no login required Attempting to create review request on PATH for 36875 HTTP POSTing to server/api/json/reviewrequests/new/: {'repository_path': 'PATH', 'changenum': '36875'} Got HTTP error: 500: What is wrong?? PLS HELP! -- Want to help the Review Board project? Donate today athttp://www.reviewboard.org/donate/ Happy user? Let us know athttp://www.reviewboard.org/users/ -~--~~~~--~~--~--~--- To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.com For more options, visit this group athttp://groups.google.com/group/reviewboard?hl=en -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/users/ -~--~~~~--~~--~--~--- To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en
Re: post-review
Thanks, Jeppe. This is the error I get now... $ post-review -d --server=http://company.reviewboard.com p4 info repository info: Path: path:port, Base path: None, Supports changesets: True Looking for 'company.reviewboard.com /' cookie in C:\PATH\Application Data\.post-review-cookies.txt Couldn't load cookie file: [Errno 2] No such file or directory: 'C:\\PATH\\Application Data\\.post-review-cookies.txt ' == Review Board Login Required Enter username and password for Review Board at http://company.reviewboard.com/ Username: user Password: Logging in with username user HTTP POSTing to http://company.reviewboard.com/api/json/accounts/login/: {'username': 'user', 'password': '**'} Unable to access http://company.reviewboard.com/api/json/accounts/login/. The host path may be invalid urlopen error (11001, 'getaddrinfo failed') On Jul 1, 11:49 pm, Vesterbaek vesterb...@gmail.com wrote: That reviewboard server url looks wrong. Try with post-review -d --server=http://company.reviewboard.com -- Jeppe On Jul 2, 1:23 am, rquit rhondafquita...@gmail.com wrote: Hello, I am trying to set up a demo of RB on Windows and I am stuck at 'post- review'. I get the following error: $ post-review -d p4 info repository info: Path: path:port, Base path: None, Supports changesets: True p4 counters Looking for ' \\company.reviewboard.com/' cookie in C:\PATH\Application Data\.post-review-cookies.txt Couldn't load cookie file: [Errno 2] No such file or directory: 'C:\PATH\\Application Data\\.post-review-cookies.txt ' == Review Board Login Required Enter username and password for Review Board at http:\ \company.reviewboard.com/ Username: user Password: Logging in with username user HTTP POSTing to http:///\\company.reviewboard.com/\\company.reviewboard.com/api/json/accounts/login/: {'username': 'user', 'password': '*** ***'} Unable to access http:///\\company.reviewboard.com/\\company.reviewboard.com/api/json/accounts/login/. The host path may be invalid urlopen error no host given Any tips?? Thanks -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/users/ -~--~~~~--~~--~--~--- To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en
post-review
Hello, I am trying to set up a demo of RB on Windows and I am stuck at 'post- review'. I get the following error: $ post-review -d p4 info repository info: Path: path:port, Base path: None, Supports changesets: True p4 counters Looking for ' \\company.reviewboard.com/' cookie in C:\PATH\Application Data\.post-review-cookies.txt Couldn't load cookie file: [Errno 2] No such file or directory: 'C:\PATH\\Application Data\\.post-review-cookies.txt ' == Review Board Login Required Enter username and password for Review Board at http:\ \company.reviewboard.com/ Username: user Password: Logging in with username user HTTP POSTing to http:///\\company.reviewboard.com/\\company.reviewboard.com/api/json/accounts/login/: {'username': 'user', 'password': '*** ***'} Unable to access http:///\\company.reviewboard.com/\\company.reviewboard.com/api/json/accounts/login/. The host path may be invalid urlopen error no host given Any tips?? Thanks -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/users/ -~--~~~~--~~--~--~--- To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en