Can you find anything in reviewboard.log that starts with "Error uploading
new diff" ? That's the most likely trigger for this error.

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com


On Mon, Aug 6, 2012 at 12:33 AM, Nilesh Jaiswal <nileshj...@gmail.com>wrote:

> Thank for prompt reply. Your reply motivated me. I think you will provide
> me solution after looking into the requested diff.
>
>
> Here is the requested output. The line marked with red have been added to
> file.
>
> posting review request...
> >>> RBTools 0.3.4
> >>> Home = /home/nileshj
> >>> svn info
> >>> p4 info
> >>> repository info: Path: pf-ch.nds.com:1666, Base path: None, Supports
> changesets: True
> >>> HTTP GETting api/
> >>> HTTP GETting http://rbc.nds.com:8000/rbsvr/api/info/
> >>> Using the new web API
> >>> Generating diff for changenum 1568
> >>> p4 describe -s 1568
> >>> CREATING WHERE FILE FROM /tmp/tmpMhEcPa
> >>> p4 -ztag -x /tmp/tmpMhEcPa where
> >>> Processing edit of //dator/Dev/DEV_BR/Plugins/PostPlugin/SConscript
> >>> WRITING //dator/Dev/DEV_BR/Plugins/PostPlugin/SConscript#1
>  to /tmp/tmp_yDlEz
> >>> CREATING OLD PRINT BATCH /tmp/tmp26cwU1
> >>> p4 -s -p pf-ch.nds.com:1666 -x /tmp/tmp_yDlEz print
> >>> CREATING NEW PRINT BATCH /tmp/tmp5APfF-
> >>> p4 -s -p pf-ch.nds.com:1666 -x /tmp/tmpxe11Ch print
> >>> Processing edit of //dator/Dev/DEV_BR/Plugins/PostPlugin/SConscript
> >>> Writing "//dator/Dev/DEV_BR/Plugins/PostPlugin/SConscript#1" to
> "/tmp/tmpnNHcoH"
> >>> diff -urNp /tmp/tmpnNHcoH
> /home/nileshj/fwei///dator/Dev/DEV_BR/Plugins/PostPlugin/SConscript
> --- //dator/Dev/DEV_BR/Plugins/PostPlugin/SConscript
> //dator/Dev/DEV_BR/Plugins/PostPlugin/SConscript#1
> +++ //dator/Dev/DEV_BR/Plugins/PostPlugin/SConscript      2012-08-06
> 14:50:29
> @@ -18,6 +18,6 @@ env.InstallTree( "DeclarativeFiles", "..
>
>
>  #======================================================================
> -*
> +#=====*
>  retval = env.ProcessDir(env_base)
>  Return('retval')
>
> Thank you again.
>
> Regards,
> Nilesh
>
> On Mon, Aug 6, 2012 at 12:52 PM, Christian Hammond <chip...@chipx86.com>wrote:
>
>> On Sun, Aug 5, 2012 at 11:21 PM, Nilesh Jaiswal <nileshj...@gmail.com>wrote:
>>
>>> Dear All,
>>>
>>> I am trying to post the review request as below argument.
>>>
>>> My perforce id:njaiswal
>>>
>>> *I am using --submit-as option.*
>>>
>>> *post-review  --bugs-closed="TEST" --file-list=/tmp/tmp9Dj3Dt
>>> --branch="DEV_BR" --server=http://rbc.nds.com:8000/rbsvr--submit-as=nileshj 
>>> --description-file="/tmp/tmp79D4Hj" 1567 --p4-port="
>>> pf-ch.nds.com:1666"*
>>>
>>> My while posting i am getting below error message.
>>>
>>> FOR RB USE DO NOT EDIT
>>>
>>
>> It looks like you're using a custom post-review script. We can't fully
>> support that, but I'll try to answer your questions.
>>
>>
>>
>>> ----------------------
>>> p4web link: http://pf-ch.nds.com:5500/1567?ac=10
>>> baseline: 1564
>>> ' for review request '3'
>>> >>> HTTP PUTting to
>>> http://rbc.nds.com:8000/rbsvr/api/review-requests/3/draft/:
>>> {'description': 'RB testing for china \n\n\nFOR RB USE DO NOT
>>> EDIT\n----------------------\np4web link:
>>> http://pf-ch.nds.com:5500/1567?ac=10\nbaseline: 1564\n'}
>>> >>> Uploading diff, size: 159
>>> >>> HTTP POSTing to
>>> http://rbc.nds.com:8000/rbsvr/api/review-requests/3/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.
>>>
>>> *My question is, *
>>>
>>> 1. Does my RB server user id requires account in perforce?
>>>
>>
>> No.
>>
>>
>>>
>>> 2. What should i do make posting of review request if am having one
>>> perforce id with multiple RB server user id.
>>>
>>
>> All you need is one Perforce ID that's configured in the repository
>> settings. The Review Board users have nothing to do with Perforce users.
>>
>>
>>>
>>> 3. Is it mandatory that perforce id to be in the user list of
>>> reviewboard server
>>>
>>
>> No. It wouldn't matter in any way.
>>
>> It sounds like there's just something wrong with your diff. Run that
>> command with --output-diff and inspect the output. Also, check your
>> reviewboard.log for errors that correspond to the time you made that
>> request.
>>
>> Christian
>>
>> --
>> 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
>>
>
>  --
> 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

Reply via email to