Thanks Christian for quick response.

We are using ReviewBoard version : 3.0.15 

Please inform me once this issue will be fixed, i will be waiting for reply.

Regards,
Vinayak

On Wednesday, March 25, 2020 at 5:59:57 AM UTC+5:30, Christian Hammond 
wrote:
>
> This *might* be due to a bug that will be fixed in RBTools (planning for 
> this week). Keep an eye out on this mailing list and I'll post when that's 
> out.
>
> What version of Review Board is being run there?
>
> Christian
>
> On Fri, Mar 20, 2020 at 9:19 PM Vinayak Awasare <vinayak....@gmail.com 
> <javascript:>> wrote:
>
>> diff_contents = '''
>> --- //Bcmtools_S/CDE2020-DEV/Tools/Test/*Kächele*/Resources.fr.resx      
>>  //Bcmtools_S/CDE2020-DEV/Tools/Test/Kächele/Resources.fr.resx#1
>> +++ //Bcmtools_S/CDE2020-DEV/Tools/Test/*Kächele*/Resources.fr.resx      
>>  2020-03-18 12:15:41
>> @@ -3,7 +3,7 @@ <?xml version="1.0" encoding="utf-8"?
>>    <!--
>>  Microsoft ResX Schema
>>
>> -    Version 2.0
>> +    Version 1.0
>>
>>  The primary goals of this format is to allow a simple XML format
>>  that is mostly human readable. The generation and parsing of the
>>
>> '''
>> As you can see there is a umlaut character in diff , which cause above 
>> failure...
>>
>> Please help for same
>>
>> On Friday, March 20, 2020 at 1:33:45 AM UTC+5:30, Vinayak Awasare wrote:
>>>
>>> Thanks for Quick Response 
>>>
>>>
>>> 1. It looks like you’re using some custom tool to post this. Can you 
>>> detail what your workflow looks like?
>>> Ans -> Following is workflow of my rbtools client
>>>
>>> i) Connect with perforce and get changelist info and file list
>>> For example file list : 
>>> ['//Depo_Name/Branch/Tools/Test/Kächele/Resources.fr.resx']
>>>
>>> ii) Compute diff of workspace file to old revision file using diff.exe 
>>> given by reviewboard 
>>> For example :
>>>
>>> Command to compute diff :
>>> D:\\<path>\\bin\\diff.exe -urNp C:\\<path>\\vawasar_g1vqthpt 
>>> D:\\Workspace\\Perforce\\vawasar_IND-AWASARE_2020_dev1\\Tools\\Kächele\\Resources.fr.resx']
>>>
>>> Result of above command:
>>> --- C:\Users\vawasar\AppData\Local\Temp\MSC_RBTools_v3\vawasar_g1vqthpt 
>>> 2020-03-19 16:32:16.112210800 +0530
>>> +++ 
>>> D:\Workspace\Perforce\vawasar_IND-AWASARE_2020_dev1\Tools\Test\Kächele\Resources.fr.resx
>>>   
>>>   2020-03-18 12:15:41.970299800 +0530
>>> @@ -3,7 +3,7 @@ <?xml version="1.0" encoding="utf-8"?
>>>    <!--
>>> Microsoft ResX Schema
>>>
>>> -    Version 2.0
>>> +    Version 1.0
>>>
>>> The primary goals of this format is to allow a simple XML format
>>> that is mostly human readable. The generation and parsing of the
>>>
>>>
>>> iii) Create Review Request :
>>> Making HTTP GET request to http://host-name/mscrb/api/repositories/
>>> Cached response for HTTP GET http://host-name/mscrb/api/repositories/ 
>>> expired and was modified
>>>
>>> Using perforce repository on reviewboard to fetch clist info : pf-sa-1666
>>>
>>> Making HTTP GET request to http://host-name/mscrb/api/review-requests/
>>> Cached response for HTTP GET http://host-name/mscrb/api/review-requests/ 
>>> expired and was modified
>>> Making HTTP POST request to http://host-name/mscrb/api/review-requests/
>>>
>>> Review request '257565' created.
>>>
>>>
>>> iv) Modify diff and upload diff to Reviewboard server
>>>
>>> diff_contents = '''
>>> --- //Bcmtools_S/CDE2020-DEV/Tools/Test/Kächele/Resources.fr.resx      
>>>  //Bcmtools_S/CDE2020-DEV/Tools/Test/Kächele/Resources.fr.resx#1
>>> +++ //Bcmtools_S/CDE2020-DEV/Tools/Test/Kächele/Resources.fr.resx      
>>>  2020-03-18 12:15:41
>>> @@ -3,7 +3,7 @@ <?xml version="1.0" encoding="utf-8"?
>>>    <!--
>>> Microsoft ResX Schema
>>>
>>> -    Version 2.0
>>> +    Version 1.0
>>>
>>> The primary goals of this format is to allow a simple XML format
>>> that is mostly human readable. The generation and parsing of the
>>>
>>> '''
>>> Making HTTP GET request to 
>>> http://host-name/mscrb/api/review-requests/257616/diffs/
>>> Added cache entry for HTTP GET request to 
>>> http://host-name/mscrb/api/review-requests/257616/diffs/
>>> Making HTTP POST request to 
>>> http://host-name/mscrb/api/review-requests/257616/diffs/
>>>
>>> Error while posting review request with message :
>>> Remote end closed connection without response
>>> Traceback (most recent call last):
>>>   File "rb.py", line 443, in _run
>>> rbtools_client.post_review_request(review_request, diff_contents, 
>>> codeline_name, summary, description, myjobs, options_info, 
>>> existing_reviewers_people, existing_reviewers_group, 
>>> description_text_type=description_text_type)
>>>   File 
>>> "D:\Workspace\Perforce\vawasar_IND-AWASARE_2020_dev1\Tools\RBTools\source\rbtools_wrapper.py",
>>>  
>>> line 143, in post_review_request
>>> review_request.get_diffs().upload_diff(diff_contents)
>>>   File "D:\Python36\lib\site-packages\rbtools\api\decorators.py", line 
>>> 27, in request_method
>>> *args, **kwargs)
>>>   File "D:\Python36\lib\site-packages\rbtools\api\transport\sync.py", 
>>> line 77, in execute_request_method
>>> return self._execute_request(request)
>>>   File "D:\Python36\lib\site-packages\rbtools\api\transport\sync.py", 
>>> line 86, in _execute_request
>>> rsp = self.server.make_request(request)
>>>   File "D:\Python36\lib\site-packages\rbtools\api\request.py", line 685, 
>>> in make_request
>>> request.url, body, headers, request.method))
>>>   File "D:\Python36\lib\site-packages\rbtools\api\cache.py", line 209, 
>>> in make_request
>>> return self.urlopen(request)
>>>   File "D:\Python36\lib\urllib\request.py", line 223, in urlopen
>>> return opener.open(url, data, timeout)
>>>   File "D:\Python36\lib\urllib\request.py", line 526, in open
>>> response = self._open(req, data)
>>>   File "D:\Python36\lib\urllib\request.py", line 544, in _open
>>> '_open', req)
>>>   File "D:\Python36\lib\urllib\request.py", line 504, in _call_chain
>>> result = func(*args)
>>>   File "D:\Python36\lib\urllib\request.py", line 1346, in http_open
>>> return self.do_open(http.client.HTTPConnection, req)
>>>   File "D:\Python36\lib\urllib\request.py", line 1321, in do_open
>>> r = h.getresponse()
>>>   File "D:\Python36\lib\http\client.py", line 1331, in getresponse
>>> response.begin()
>>>   File "D:\Python36\lib\http\client.py", line 297, in begin
>>> version, status, reason = self._read_status()
>>>   File "D:\Python36\lib\http\client.py", line 266, in _read_status
>>> raise RemoteDisconnected("Remote end closed connection without"
>>> http.client.RemoteDisconnected: Remote end closed connection without 
>>> response
>>> Making HTTP GET request to 
>>> http://host-name/mscrb/api/review-requests/257616/
>>> Added cache entry for HTTP GET request to 
>>> http://host-name/mscrb/api/review-requests/257616/
>>> Making HTTP DELETE request to 
>>> http://host-name/mscrb/api/review-requests/257616/
>>>
>>>
>>>
>>> 2. Can you get (or ask your server administrator to get) the error from 
>>> the server log?
>>> Ans ->
>>> There is no any error in server log.
>>>
>>>
>>> Please help !
>>>
>>>
>>>
>>>
>>> On Thursday, March 19, 2020 at 11:58:23 AM UTC+5:30, David Trowbridge 
>>> wrote:
>>>>
>>>> Hi,
>>>>
>>>> A couple questions:
>>>>
>>>> 1. It looks like you’re using some custom tool to post this. Can you 
>>>> detail what your workflow looks like?
>>>>
>>>> 2. Can you get (or ask your server administrator to get) the error from 
>>>> the server log?
>>>>
>>>> David
>>>>
>>>> On Thu, Mar 19, 2020 at 12:26 AM Vinayak Awasare <vinayak....@gmail.com> 
>>>> wrote:
>>>>
>>>>> Hi 
>>>>>
>>>>> Following are contents of my diff which contains umlaut characters in 
>>>>> diff file path.
>>>>>
>>>>>
>>>>> --- //Bcmtools_S/CDE2020-DEV/Tools/Test/Kächele/Resources.fr.resx    
>>>>>    //Bcmtools_S/CDE2020-DEV/Tools/Test/Kächele/Resources.fr.resx#1
>>>>> +++ //Bcmtools_S/CDE2020-DEV/Tools/Test/Kächele/Resources.fr.resx    
>>>>>    2020-03-18 12:15:41
>>>>> @@ -3,7 +3,7 @@ <?xml version="1.0" encoding="utf-8"?
>>>>>    <!--
>>>>>      Microsoft ResX Schema
>>>>>
>>>>> -    Version 2.0
>>>>> +    Version 1.0
>>>>>
>>>>>      The primary goals of this format is to allow a simple XML format
>>>>>      that is mostly human readable. The generation and parsing of the
>>>>> --- //Bcmtools_S/CDE2020-DEV/Tools/Test/Resources.fr.resx      
>>>>>  //Bcmtools_S/CDE2020-DEV/Tools/Test/Resources.fr.resx#1
>>>>> +++ //Bcmtools_S/CDE2020-DEV/Tools/Test/Resources.fr.resx      
>>>>>  2020-03-18 12:13:42
>>>>> @@ -3,7 +3,7 @@ <?xml version="1.0" encoding="utf-8"?
>>>>>    <!--
>>>>>      Microsoft ResX Schema
>>>>>
>>>>> -    Version 2.0
>>>>> +    Version 1.0
>>>>>
>>>>>      The primary goals of this format is to allow a simple XML format
>>>>>      that is mostly human readable. The generation and parsing of the
>>>>>
>>>>> Starting new HTTP connection (1): server
>>>>> http://server:80 "POST /mscrb/api/review-requests/257382/diffs/ 
>>>>> HTTP/1.1" 400 126
>>>>> -----------------response----------------
>>>>> <Response [400]>
>>>>>
>>>>> -- 
>>>>> Supercharge your Review Board with Power Pack: 
>>>>> https://www.reviewboard.org/powerpack/
>>>>> Want us to host Review Board for you? Check out RBCommons: 
>>>>> https://rbcommons.com/
>>>>> Happy user? Let us know! https://www.reviewboard.org/users/
>>>>> --- 
>>>>> You received this message because you are subscribed to the Google 
>>>>> Groups "Review Board Community" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>>> an email to revie...@googlegroups.com.
>>>>> To view this discussion on the web visit 
>>>>> https://groups.google.com/d/msgid/reviewboard/c85e15c6-2ac0-4ae9-a794-e7210df6534f%40googlegroups.com
>>>>>  
>>>>> <https://groups.google.com/d/msgid/reviewboard/c85e15c6-2ac0-4ae9-a794-e7210df6534f%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>> .
>>>>>
>>>> -- 
>> Supercharge your Review Board with Power Pack: 
>> https://www.reviewboard.org/powerpack/
>> Want us to host Review Board for you? Check out RBCommons: 
>> https://rbcommons.com/
>> Happy user? Let us know! https://www.reviewboard.org/users/
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "Review Board Community" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to revie...@googlegroups.com <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/reviewboard/4619e3bf-50a4-467b-b857-af98a0e222b3%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/reviewboard/4619e3bf-50a4-467b-b857-af98a0e222b3%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
>
> -- 
> Christian Hammond
> President/CEO of Beanbag <https://www.beanbaginc.com/>
> Makers of Review Board <https://www.reviewboard.org/>
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/5941ac37-10bb-4757-a8ec-39e49b2e789b%40googlegroups.com.

Reply via email to