Hi Nikita,

Can you show me what the configuration looks like, roughly? (Censor out
sensitive parts, but the structure is important).

It sounds like it's just some configuration error. It's not using a valid
URL for fetching the raw files.

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com


On Fri, Dec 9, 2011 at 12:03 AM, Nikita Zhuk <nikita.z...@gmail.com> wrote:

> I'm using ReviewBoard 1.6.3 and my repositories are hosted at
> BitBucket as private repositories. I have configured my repository in
> the admin section of the RB by using HTTP URL and by entering my
> BitBucket user name and password. I can submit review requests, upload
> diffs and view raw diffs ("Download Diff") successfully, but when I
> click "View Diff" button on the review page, I get the following stack
> trace:
>
> 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+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/reviewboard?hl=en

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Reply via email to