The patch to 'README.txt' didn't apply cleanly. The temporary files
have been left in '/tmp/reviewboard.FtaN0j' for debugging purposes.
`patch` returned: patching file /tmp/reviewboard.FtaN0j/tmpEtmkDI Hunk
#1 FAILED at 1. 1 out of 1 hunk FAILED -- saving rejects to file /tmp/
reviewboard.FtaN0j/tmpEtmkDI-new.rej
Traceback (most recent call last):
File "/Library/Python/2.7/site-packages/ReviewBoard-1.6.3-py2.7.egg/
reviewboard/diffviewer/views.py", line 151, in view_diff
interdiffset, highlighting, True)
File "/Library/Python/2.7/site-packages/ReviewBoard-1.6.3-py2.7.egg/
reviewboard/diffviewer/diffutils.py", line 1071, in get_diff_files
large_data=True)
File "/Library/Python/2.7/site-packages/Djblets-0.6.14-py2.7.egg/
djblets/util/misc.py", line 156, in cache_memoize
data = lookup_callable()
File "/Library/Python/2.7/site-packages/ReviewBoard-1.6.3-py2.7.egg/
reviewboard/diffviewer/diffutils.py", line 1070, in <lambda>
enable_syntax_highlighting)),
File "/Library/Python/2.7/site-packages/ReviewBoard-1.6.3-py2.7.egg/
reviewboard/diffviewer/diffutils.py", line 552, in get_chunks
new = get_patched_file(old, filediff)
File "/Library/Python/2.7/site-packages/ReviewBoard-1.6.3-py2.7.egg/
reviewboard/diffviewer/diffutils.py", line 374, in get_patched_file
return patch(filediff.diff, buffer, filediff.dest_file)
File "/Library/Python/2.7/site-packages/ReviewBoard-1.6.3-py2.7.egg/
reviewboard/diffviewer/diffutils.py", line 242, in patch
(filename, tempdir, patch_output))
Exception: The patch to 'README.txt' didn't apply cleanly. The
temporary files have been left in '/tmp/reviewboard.FtaN0j' for
debugging purposes.
`patch` returned: patching file /tmp/reviewboard.FtaN0j/tmpEtmkDI
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file /tmp/
reviewboard.FtaN0j/tmpEtmkDI-new.rej
When I open the file which was saved at /tmp/reviewboard.FtaN0j/
tmpEtmkDI-new I can see the HTML code from BitBucket.org which
presents Log in forms, so no wonder the patching fails.
I found a similar problem description here as well:
https://groups.google.com/forum/#!msg/reviewboard/myKbvnIPqfw/Tk3n24tj-j8J
Any help would be greatly appreciated.
--
Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~----------~----~----~----~------~----~------~--~---
To unsubscribe from this group, send email to reviewboard...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en
$ cat conf/settings_local.py# Site-specific configuration settings for Review Board# Definitions of these settings can be found at# Database configurationDATABASES = {'default': {'ENGINE': 'django.db.backends.sqlite3','NAME': '/Users/xxx/data/reviewboard.db',},}# Unique secret key. Don't share this with anybody.SECRET_KEY = 'XXX'# Cache backend settings.CACHE_BACKEND = 'file:///tmp/reviewboard_cache'# Extra site information.SITE_ID = 1SITE_ROOT = '/review/'FORCE_SCRIPT_NAME = ''DEBUG = TrueLOGGING_ENABLED = True
2011-12-09 20:20:00,157 - DEBUG - Logging to /tmp/rb/reviewboard.log with a minimum level of DEBUG2011-12-09 20:20:00,157 - DEBUG - Log file for Review Board v1.6.3 (PID 10247)2011-12-09 20:20:15,090 - DEBUG - Initialized HgWebClient with url=u'http://bitbucket.org/nzhuk/testrep1/', username=u'nzhuk'2011-12-09 20:20:15,090 - DEBUG - Initialized HgWebClient with url=u'http://bitbucket.org/nzhuk/testrep1/', username=u'nzhuk'2011-12-09 20:20:16,962 - DEBUG - Initialized HgWebClient with url=u'http://bitbucket.org/nzhuk/testrep1/', username=u'nzhuk'2011-12-09 20:20:16,963 - DEBUG - Initialized HgWebClient with url=u'http://bitbucket.org/nzhuk/testrep1/', username=u'nzhuk'2011-12-09 20:20:16,965 - DEBUG - Generating diff viewer page for filediff id 132011-12-09 20:20:16,966 - DEBUG - Begin: Generating diff file info for diffset id 132011-12-09 20:20:16,967 - DEBUG - Initialized HgWebClient with url=u'http://bitbucket.org/nzhuk/testrep1/', username=u'nzhuk'2011-12-09 20:20:16,968 - DEBUG - End: Generating diff file info for diffset id 132011-12-09 20:20:16,968 - DEBUG - Generating diff file info for diffset id 13 took 0.1665 seconds2011-12-09 20:20:16,968 - DEBUG - Begin: Generating diff file info for diffset id 13, filediff 132011-12-09 20:20:16,968 - DEBUG - Initialized HgWebClient with url=u'http://bitbucket.org/nzhuk/testrep1/', username=u'nzhuk'2011-12-09 20:20:16,969 - INFO - Cache miss for key myhost.local:diff-sidebyside-hl-13.2011-12-09 20:20:16,969 - DEBUG - Initialized HgWebClient with url=u'http://bitbucket.org/nzhuk/testrep1/', username=u'nzhuk'2011-12-09 20:20:16,969 - INFO - Cache miss for key myhost.local:http%3A//bitbucket.org/nzhuk/testrep1/:README.txt:2df4ddabbe02.2011-12-09 20:20:16,970 - DEBUG - Begin: Fetching file 'README.txt' r2df4ddabbe02 from TestRep12011-12-09 20:20:19,525 - DEBUG - End: Fetching file 'README.txt' r2df4ddabbe02 from TestRep12011-12-09 20:20:19,525 - DEBUG - Fetching file 'README.txt' r2df4ddabbe02 from TestRep1 took 2.555507 seconds2011-12-09 20:20:19,527 - DEBUG - Begin: Patching file README.txt2011-12-09 20:20:19,536 - DEBUG - End: Patching file README.txt2011-12-09 20:20:19,536 - DEBUG - Patching file README.txt took 0.8341 seconds