Re: Diff is not showing for some of the files

2015-10-13 Thread vijay bhaskar reddy Yalamuri
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.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 
. 
Details  

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: 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 
>> . 
>>
>>
>>
>> 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 
>> 

Re: Diff is not showing for some of the files

2015-07-19 Thread vijay bhaskar reddy Yalamuri
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.


Re: Diff is not showing for some of the files

2015-07-15 Thread vijay bhaskar reddy Yalamuri
Hi Team,

Thanks for your reply.

I have gone through the file which are generated for the diff. But I didn't 
see any errors in those diff files.Everything looks fine.
I have just added a new line with test, so corresponding to that 
automatically version will be changed. Same is shown in the diff as well.

Can you check below data and find out anything is wrong here ?



@pharb:/tmp/reviewboard.f29gLJ# diff tmpYgaW6A tmpYgaW6A-new
5c5
 # 61test_r713 src/43test/lib/ksh93/group/KLIB_group_delete_test.sh 1.7
---
 # 61test_r713 src/43test/lib/ksh93/group/KLIB_group_delete_test.sh 1.7.1.1
16c16
 # @(#)88  1.7  src/43test/lib/ksh93/group/KLIB_group_delete_test.sh, 
group.assist, 61test_r713 5/14/13 14:52:54
---
 # @(#)88  1.7.1.1  
src/43test/lib/ksh93/group/KLIB_group_delete_test.sh, group.assist, 
61test_r713 7/9/15 00:51:36
73c73
 : version=1.7, src/43test/lib/ksh93/group/KLIB_group_delete_test.sh, 
group.assist, 61test_r713
---
 : version=1.7.1.1, 
src/43test/lib/ksh93/group/KLIB_group_delete_test.sh, group.assist, 
61test_r713
185a186
 test


root@pharb:/tmp/reviewboard.f29gLJ# ls
KLIB_group_delete_test.sh.diff  tmpYgaW6A  tmpYgaW6A-new  tmpYgaW6A-new.rej

root@pharb:/tmp/reviewboard.f29gLJ# cat tmpYgaW6A-new.rej
--- .KLIB_group_delete_test.sh  2015-07-09 02:06:26.635043692 -0500
+++ KLIB_group_delete_test.sh   2015-07-09 02:06:27.219043672 -0500
@@ -29,9 +29,9 @@

 =head1 VERSION

- Version Number:  1.7
+ Version Number:  1.7.1.1
  Last Extracted:  7/9/15 02:08:19
- Last Changed:5/14/13 14:52:54
+ Last Changed:7/9/15 00:51:36

  Path, Component, Release(, Level):
  src/43test/lib/ksh93/group/KLIB_group_delete_test.sh, group.assist, 
61test_r713



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.


Diff is not showing for some of the files

2015-07-14 Thread vijay bhaskar reddy Yalamuri
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.


Re: Diff is not showing for some of the files

2015-07-14 Thread Christian Hammond
Hi,

What kind of repository are you using?

What do the temp files referenced in the error message contain? In particular, 
make sure that the diff is what you expect, that the tmp file matches the 
expected original source code, and see what the tmp.rej file looks like.

Christian 

--  
Christian Hammond - christ...@beanbaginc.com  
Review Board - https://www.reviewboard.org  
Beanbag, Inc. - https://www.beanbaginc.com

-Original Message-
From: vijay bhaskar reddy Yalamuri vijay.yalam...@gmail.com
Reply: reviewboard@googlegroups.com reviewboard@googlegroups.com
Date: July 13, 2015 at 11:04:45 PM
To: reviewboard@googlegroups.com reviewboard@googlegroups.com
Subject:  Diff is not showing for some of the files

 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
 .
  
  
  
 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
 .
  
  
 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.
  

-- 
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.