I refer to following link and put the p4 binary into /usr/sbin folder. but got the same error Reference link: http://code.google.com/p/reviewboard/issues/detail?id=1637&can=1&q=%2Fusr%2Fsbin%20instead%20of%20%2Fusr%2Fbin&colspec=ID%20Type%20Status%20Priority%20Component%20Owner%20Summary%20Milestone
2012/4/5 Christian Hammond <chip...@gmail.com> > That may be in your path, but it also has to be in Apache's path. I'd > advise a system binary path. > > Christian > > > > On Apr 4, 2012, at 18:47, Steven Zhu <steven...@gmail.com> wrote: > > Hi, > p4 binary is stored in my specified folder,like > /op/p4v-2011.1.405081/bin. > if i run 'which p4', the system can find the p4 binary. > Does p4 binary should be put into /usr/sbin or /usr/bin folder ? > > > 2012/4/5 Christian Hammond <chip...@chipx86.com> > >> Hey, >> >> Looks like you're missing the p4 binary in your path somewhere on the >> server. >> >> Christian >> >> -- >> Christian Hammond - chip...@chipx86.com >> Review Board - http://www.reviewboard.org >> VMware, Inc. - http://www.vmware.com >> >> >> On Wed, Apr 4, 2012 at 6:30 PM, Steven Zhu <steven...@gmail.com> wrote: >> >>> ** NOTE: Do not post confidential information in this bug report. **** >>> If you need immediate support, please contact **** >>> reviewboard@googlegroups.com ** >>> *What version are you running?* >>> RB 1.6.4.1 >>> RBTOOLS 0.4.1 >>> *What's the URL of the page containing the problem?* >>> N/A >>> *What steps will reproduce the problem?* >>> 1. post-review changenum >>> >>> *What is the expected output? What do you see instead?* >>> >>> RBTools 0.4.1 >>> >>> Home = /home/mstar >>> >>> HTTP GETting api/ >>> >>> HTTP GETting http://msstra066-ubuntu/api/info/ >>> >>> Using the new web API >>> >>> HTTP GETting http://msstra066-ubuntu/api/repositories/ >>> >>> Repositories on Server: [{u'path': u'http://MSSPC1474/svn/rb-test' >>> >>> u'tool': u'Subversion', u'id': 3, u'links': {u'info': {u'href': >>> >>> u'http://msstra066-ubuntu/api/repositories/3/info/' u'method': u'GET'}, >>> >>> u'self': {u'href': u'http://msstra066-ubuntu/api/repositories/3/' >>> >>> u'method': u'GET'}, u'update': {u'href': >>> >>> u'http://msstra066-ubuntu/api/repositories/3/' u'method': u'PUT'}, >>> >>> u'delete': {u'href': u'http://msstra066-ubuntu/api/repositories/3/' >>> >>> u'method': u'DELETE'}}, u'name': u'haha'}, {u'path': >>> >>> u'msstra066-ubuntu:1666', u'tool': u'Perforce', u'id': 6, u'links': >>> >>> {u'info': {u'href': u'http://msstra066-ubuntu/api/repositories/6/info/' >>> >>> u'method': u'GET'}, u'self': {u'href': >>> >>> u'http://msstra066-ubuntu/api/repositories/6/' u'method': u'GET'}, >>> >>> u'update': {u'href': u'http://msstra066-ubuntu/api/repositories/6/' >>> >>> u'method': u'PUT'}, u'delete': {u'href': >>> >>> u'http://msstra066-ubuntu/api/repositories/6/' u'method': u'DELETE'}}, >>> >>> u'name': u'perforce'}] >>> >>> Server Aliases: ['msstra066-ubuntu.mstarsemi.com.tw:1666', >>> >>> 'msstra066-ubuntu:1666', 'mstar:1666'] >>> >>> Attempting to create review request on msstra066-ubuntu:1666 for 5 >>> >>> HTTP POSTing to http://msstra066-ubuntu/api/review-requests/ >>> >>> {'changenum': '5', 'repository': u'msstra066-ubuntu:1666'} >>> >>> Got API Error 204 (HTTP code 409): The change number specified has >>> >>> already been used >>> >>> Error data: {u'stat': u'fail', u'review_request': {u'status': >>> >>> u'pending', u'last_updated': u'2012-04-01T18:29:33', u'description': >>> >>> u'<saved by Perforce>\n', u'links': {u'diffs': {u'href': >>> >>> u'http://msstra066-ubuntu/api/review-requests/19/diffs/' u'method': >>> >>> u'GET'}, u'repository': {u'href': >>> >>> u'http://msstra066-ubuntu/api/repositories/6/' u'method': u'GET', >>> >>> u'title': u'perforce'}, u'changes': {u'href': >>> >>> u'http://msstra066-ubuntu/api/review-requests/19/changes/' u'method': >>> >>> u'GET'}, u'self': {u'href': >>> >>> u'http://msstra066-ubuntu/api/review-requests/19/' u'method': u'GET'}, >>> >>> u'update': {u'href': u'http://msstra066-ubuntu/api/review-requests/19/' >>> >>> u'method': u'PUT'}, u'last_update': {u'href': >>> >>> u'http://msstra066-ubuntu/api/review-requests/19/last-update/' >>> >>> u'method': u'GET'}, u'reviews': {u'href': >>> >>> u'http://msstra066-ubuntu/api/review-requests/19/reviews/' u'method': >>> >>> u'GET'}, u'draft': {u'href': >>> >>> u'http://msstra066-ubuntu/api/review-requests/19/draft/' u'method': >>> >>> u'GET'}, u'file_attachments': {u'href': >>> >>> u'http://msstra066-ubuntu/api/review-requests/19/file-attachments/' >>> >>> u'method': u'GET'}, u'submitter': {u'href': >>> >>> u'http://msstra066-ubuntu/api/users/mstar/' u'method': u'GET', >>> >>> u'title': u'mstar'}, u'screenshots': {u'href': >>> >>> u'http://msstra066-ubuntu/api/review-requests/19/screenshots/' >>> >>> u'method': u'GET'}, u'delete': {u'href': >>> >>> u'http://msstra066-ubuntu/api/review-requests/19/' u'method': >>> >>> u'DELETE'}}, u'target_groups': [], u'bugs_closed': [], u'changenum': 5, >>> >>> u'target_people': [], u'testing_done': u'', u'branch': u'', u'id': 19, >>> >>> u'time_added': u'2012-04-01T18:29:33', u'summary': u'<saved by >>> >>> Perforce>', u'public': False}, u'err': {u'msg': u'The change number >>> >>> specified has already been used', u'code': 204}} >>> >>> Review request already exists. Updating it... >>> >>> HTTP PUTting to http://msstra066-ubuntu/api/review-requests/19/ >>> >>> {'changenum': 5} >>> >>> Uploading diff, size: 179 >>> >>> HTTP POSTing to http://msstra066-ubuntu/api/review-requests/19/diffs/ {} >>> >>> Got API Error 105 (HTTP code 400): One or more fields had errors >>> >>> 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}} >>> Your review request still exists, but the diff is not attached. >>> *What operating system are you using? What browser?* >>> OS: ubuntu >>> browser: firefox >>> *Please provide any additional information below.* >>> >>> >>> >>> -- >>> BR >>> Steven.zhu >>> >>> -- >>> 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 >> >> >> -- >> 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 > > > > > -- > BR > Steven.zhu > > -- > 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 > > -- > 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 > -- BR Steven.zhu -- 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