1408: seemingly clean diff with special characters reports error
- UserError
- Review Board
vitor.******@gmai***** (Google Code) (Is this you? Claim this profile.) | |
Nov. 28, 2009 |
What version are you running? 1.0 What's the URL of the page containing the problem? http://bu-review/r/1536/diff/#index_header What steps will reproduce the problem? 1. create a review based off of attached diff 2. 3. What is the expected output? What do you see instead? I see this error: The patch to 'save/clntinfo.c' didn't apply cleanly. The temporary files have been left in '/tmp/reviewboard.2fFiR6' for debugging purposes. `patch` returned: patching file /tmp/reviewboard.2fFiR6/tmpsmvkYQ patch: **** malformed patch at line 13: ????????????*\n\ Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0-py2.4.egg/reviewboard/diffviewer/views.py", line 152, in view_diff interdiffset, highlighting, True) File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0-py2.4.egg/reviewboard/diffviewer/diffutils.py", line 623, in get_diff_files large_data=True) File "/usr/lib/python2.4/site-packages/Djblets-0.5-py2.4.egg/djblets/util/misc.py", line 143, in cache_memoize data = lookup_callable() File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0-py2.4.egg/reviewboard/diffviewer/diffutils.py", line 622, in <lambda> enable_syntax_highlighting), File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0-py2.4.egg/reviewboard/diffviewer/diffutils.py", line 345, in get_chunks new = get_patched_file(old, filediff) File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0-py2.4.egg/reviewboard/diffviewer/diffutils.py", line 261, in get_patched_file return patch(filediff.diff, buffer, filediff.dest_file) File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0-py2.4.egg/reviewboard/diffviewer/diffutils.py", line 126, in patch raise Exception(_("The patch to '%s' didn't apply cleanly. The temporary " + Exception: The patch to 'save/clntinfo.c' didn't apply cleanly. The temporary files have been left in '/tmp/reviewboard.2fFiR6' for debugging purposes. `patch` returned: patching file /tmp/reviewboard.2fFiR6/tmpsmvkYQ patch: **** malformed patch at line 13: ????????????*\n\ What operating system are you using? What browser? Puppy Linux running SeaMonkey 1.0.6 Please provide any additional information below.