Hello,

I am using ReviewBoard 2.0.11 on Centos 7 from the EPEL. I have a CVS 
repository mounted with NFS and setup in RB as a local CVS repository. I 
use the command "cvs -Nu > rb.diff" to generate a diff file and upload it 
to the RB site. Everything seems OK, but when I view the diff there are 2 
problems that I notice: 

1) RB thinks there was a large section of the file newly added, but it was 
not. It also repeats a section of the file. The portion surrounding this 
diff in the file looks fine and the diff looks normal as well.

2) New files added with "cvs add" are not displayed and this message is 
reported:
Traceback (most recent call last):
   File "/usr/lib/python2.7/site-packages/reviewboard/diffviewer/views.py", 
line 236, in get
     renderer = self.create_renderer(context, *args, **kwargs)
   File "/usr/lib/python2.7/site-packages/reviewboard/reviews/views.py", 
line 1088, in create_renderer
     *args, **kwargs)
   File "/usr/lib/python2.7/site-packages/reviewboard/diffviewer/views.py", 
line 328, in create_renderer
     self.diff_file = self._get_requested_diff_file()
   File "/usr/lib/python2.7/site-packages/reviewboard/diffviewer/views.py", 
line 369, in _get_requested_diff_file
     request=self.request)
   File 
"/usr/lib/python2.7/site-packages/reviewboard/diffviewer/diffutils.py", 
line 388, in populate_diff_chunks
     chunks = generator.get_chunks()
   File 
"/usr/lib/python2.7/site-packages/reviewboard/diffviewer/chunk_generator.py", 
line 154, in get_chunks
     large_data=True)
   File "/usr/lib/python2.7/site-packages/djblets/cache/backend.py", line 
111, in cache_memoize
     data = lookup_callable()
   File 
"/usr/lib/python2.7/site-packages/reviewboard/diffviewer/chunk_generator.py", 
line 153, in <lambda>
     lambda: list(self._get_chunks_uncached()),
   File 
"/usr/lib/python2.7/site-packages/reviewboard/diffviewer/chunk_generator.py", 
line 161, in _get_chunks_uncached
     new = get_patched_file(old, self.filediff, self.request)
   File 
"/usr/lib/python2.7/site-packages/reviewboard/diffviewer/diffutils.py", 
line 201, in get_patched_file
     return patch(diff, buffer, filediff.dest_file, request)
   File 
"/usr/lib/python2.7/site-packages/reviewboard/diffviewer/diffutils.py", 
line 139, in patch
     'output': stderr,
Exception: The patch to 'casa/toollibs/casawidgets/searchresultwidget.h' 
didn't apply cleanly. The temporary files have been left in 
'/tmp/reviewboard.HOtKRU' for debugging purposes.
`patch` returned: patch: **** malformed patch at line 33:

The temporary file the message references does not exist.

I installed rbtools to post the review and the same problems manifested. I 
increased the amount of memory on the virtual machine from 2GB to 4GB, no 
help except the site performs better since it no longer swaps memory. We 
manage a project under Subversion and we have not experienced problems when 
uploading svn diff files using a Subversion repository on the same site.

Can anyone suggest some things to try? 

Thanks.

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://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