Hi Everyone

It looks the difference file is created under /tmp directory, But diff is 
not showing Review Board UI.

I tried it manually using below command. still same problem.

$ cat test.diff | rbt post --diff-filename=- --bugs-closed=966513
Review request #275 posted.

*http://pharb.com/r/275/ <http://pharb.aus.stglabs.ibm.com/r/275/>* 
*http://pharb.cm/r/275/diff/* 

   

I am not seeing any difference, I was getting same error 


Below is the error details from Review board   Please help me to resolve 
this ??? 


Revision delta test.sh 1.9 71haes_r721 New Change There was an error 
displaying this diff. 

The patch to 'test.sh' didn't apply cleanly. The temporary files have been 
left in '/tmp/reviewboard.Myriaw' for debugging purposes. `patch` returned: 

This may be a bug in the software, a temporary outage, or an issue with the 
format of your diff. 

Please try again, and if you still have trouble, contact support 
<http://pharb.aus.stglabs.ibm.com/support/>. 
Details <http://pharb.aus.stglabs.ibm.com/r/275/diff/#> 

Traceback (most recent call last):
  File 
"/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.6-py2.7.egg/reviewboard/diffviewer/views.py",
 line 236, in get
    renderer = self.create_renderer(context, *args, **kwargs)
  File 
"/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.6-py2.7.egg/reviewboard/reviews/views.py",
 line 1088, in create_renderer
    *args, **kwargs)
  File 
"/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.6-py2.7.egg/reviewboard/diffviewer/views.py",
 line 328, in create_renderer
    self.diff_file = self._get_requested_diff_file()
  File 
"/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.6-py2.7.egg/reviewboard/diffviewer/views.py",
 line 369, in _get_requested_diff_file
    request=self.request)
  File 
"/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.6-py2.7.egg/reviewboard/diffviewer/diffutils.py",
 line 373, in populate_diff_chunks
    chunks = generator.get_chunks()
  File 
"/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.6-py2.7.egg/reviewboard/diffviewer/chunk_generator.py",
 line 153, in get_chunks
    large_data=True)
  File 
"/usr/local/lib/python2.7/dist-packages/Djblets-0.8.9-py2.7.egg/djblets/cache/backend.py",
 line 109, in cache_memoize
    data = lookup_callable()
  File 
"/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.6-py2.7.egg/reviewboard/diffviewer/chunk_generator.py",
 line 152, in <lambda>
    lambda: list(self._get_chunks_uncached()),
  File 
"/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.6-py2.7.egg/reviewboard/diffviewer/chunk_generator.py",
 line 160, in _get_chunks_uncached
    new = get_patched_file(old, self.filediff, self.request)
  File 
"/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.6-py2.7.egg/reviewboard/diffviewer/diffutils.py",
 line 201, in get_patched_file
    return patch(diff, buffer, filediff.dest_file, request)
  File 
"/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.6-py2.7.egg/reviewboard/diffviewer/diffutils.py",
 line 139, in patch
    'output': stderr,
Exception: The patch to 'test.sh' didn't apply cleanly. The temporary files 
have been left in '/tmp/reviewboard.Myriaw' for debugging purposes.
`patch` returned: 




On Monday, July 20, 2015 at 10:48:24 AM UTC+5:30, vijay bhaskar reddy 
Yalamuri wrote:
>
> Hi Team, 
>
> Can any one help me resolve the below problem ?
>
> Regards
> Vijay
>
> On Tuesday, July 14, 2015 at 11:34:42 AM UTC+5:30, vijay bhaskar reddy 
> Yalamuri wrote:
>>
>> Hi Review board team,
>>
>> I have been using review board quite long time and I am facing some 
>> strange issue while viewing the diff for some files.
>>
>> I have some files with the names like " 
>> src/43test/lib/ksh93/testgroup/KLIB_group_modify_log.sh" and 
>> "src/43test/lib/ksh93/testgroupKLIB_group_add_log.sh"
>>
>> When I try to view the difference from review board, I am getting below 
>> errors. Other files which are not in this path, it is showing properly. 
>> only problem with the above files, I have some other files which are in the 
>> same directory and with similar names, Same error with these files. Please 
>> help me on this.
>>
>> There was an error displaying this diff. 
>>
>> The patch to 'src/43test/lib/ksh93/testgroup/KLIB_group_modify_log.sh' 
>> didn't apply cleanly. The temporary files have been left in 
>> '/tmp/reviewboard.f29gLJ' for debugging purposes. `patch` returned: 
>>
>> This may be a bug in the software, a temporary outage, or an issue with 
>> the format of your diff. 
>>
>> Please try again, and if you still have trouble, contact support 
>> <http://pharb.aus.stglabs.ibm.com/support/>. 
>>
>>
>>
>> There was an error displaying this diff. 
>>
>> The patch to src/43test/lib/ksh93/testgroupKLIB_group_add_log.sh' didn't 
>> apply cleanly. The temporary files have been left in 
>> '/tmp/reviewboard.f29gLJ' for debugging purposes. `patch` returned: 
>>
>> This may be a bug in the software, a temporary outage, or an issue with 
>> the format of your diff. 
>>
>> Please try again, and if you still have trouble, contact support 
>> <http://pharb.aus.stglabs.ibm.com/support/>. 
>>
>>
>> Regards
>>
>> Vijay
>>
>>

-- 
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 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to