That's the trick... in /usr/bin/ Thx Vincent
-----Original Message----- From: chip...@gmail.com [mailto:chip...@gmail.com] On Behalf Of Christian Hammond Sent: Wednesday, March 30, 2011 9:51 PM To: Vincent Yee Cc: Christian Hammond; reviewboard@googlegroups.com Subject: Re: post-review w/ p4 error: Got API Error 105 (HTTP code 200): One or more fields had errors Hi, They're both in /usr/local/bin, which is certainly in your user's path, but is it in Apache's? You may want to see what happens if you move those to /usr/bin. Alternatively, you can SetEnv PATH in your web server's config. Christian On Wednesday, March 30, 2011, Vincent Yee <v...@sendmail.com> wrote: > > > > > > > > > > > > > > > We do have p4 and patch on the client system: > > > > $ which p4 > > /usr/local/bin/p4 > > $ /usr/local/bin/p4 -V > > Perforce - The Fast Software Configuration Management System. > > Copyright 1995-2011 Perforce Software. All rights reserved. > > Rev. P4/LINUX26X86/2010.2/279478 (2011/01/03). > > [build@vmtemp01 ~]$ ls -al /usr/local/bin/p4 > > -rwxr-xr-x 1 root root 777172 Mar 22 14:02 /usr/local/bin/p4 > > > > $ which patch > > /usr/bin/patch > > $ /usr/bin/patch -v > > patch 2.5.4 > > Copyright 1984-1988 Larry Wall > > Copyright 1989-1999 Free Software Foundation, Inc. > > $ ls -al /usr/bin/patch > > -rwxr-xr-x 1 root wheel 91476 Aug 11 2008 /usr/bin/patch > > > > > > > > > > From: chip...@gmail.com > [mailto:chip...@gmail.com] On Behalf Of Christian Hammond > Sent: Wednesday, March 30, 2011 5:19 PM > To: Vincent Yee > Cc: reviewboard@googlegroups.com > Subject: Re: post-review w/ p4 error: Got API Error 105 (HTTP code 200): > One or more fields had errors > > > > > > Okay, the "No such file or > directory" indicates a configuration problem, but is a step in the right > direction. Some program you need is missing, and Review Board's initial checks > didn't catch it. Can you make sure that both p4 and patch are both available > on > that system and accessible/executable? > > Christian > > -- > Christian Hammond - chip...@chipx86.com > Review Board - http://www.reviewboard.org > VMware, Inc. - http://www.vmware.com > > > > > > On Wed, Mar 30, 2011 at 4:59 PM, Vincent Yee <v...@sendmail.com> wrote: > > > > > > I tried > with both in Mirror path: > > perforce.example:1666 > è >>>> Error data: {u'fields': {u'path': [u'[Errno 2] No such file or > directory']}, u'stat': u'fail', u'err': {u'msg': u'One or more fields had > errors', u'code': 105}, u'deprecated': {u'in_version': u'1.5'}} > > > > :1666 è >>>> Error data: {u'fields': {u'path': [u'[P4.connect()] Connect to > server failed; check $P4PORT.\nTCP connect to :1666 failed.\nconnect: :1666: > Connection refused\n']}, u'stat': u'fail', u'err': {u'msg': u'One or more > fields had errors', u'code': 105}, u'deprecated': {u'in_version': u'1.5'}} > > > > > > > > > > > > > > > > From: chip...@gmail.com [mailto:chip...@gmail.com] On > Behalf Of Christian Hammond > Sent: Wednesday, March 30, 2011 4:42 PM > > > > > > > To: Vincent Yee > Cc: reviewboard@googlegroups.com > Subject: Re: post-review w/ p4 error: Got API Error 105 (HTTP code 200): > One or more fields had errors > > > > > > > > > > > > > > The > error message says you're just using :1666. > > Christian > > -- > Christian Hammond - chip...@chipx86.com > Review Board - http://www.reviewboard.org > VMware, Inc. - http://www.vmware.com > > > > On > Wed, Mar 30, 2011 at 4:38 PM, Vincent Yee <v...@sendmail.com> wrote: > > > > > > Ok now > it’s a different error with > > Mirror > path: perforce.example.com:1666 > > > >>>> > HTTP POSTing to > http://vmreviews.lab-example.com/reviews/api/json/reviewrequests/20/draft/set/: > {'summary': 'p4-testing-change'} > >>>> > Uploading diff, size: 361 > > > > > > > -- -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com -- 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