Try clearing memcached. There may be some stale state there. Christian
-- Christian Hammond - christ...@beanbaginc.com Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com On Tue, Dec 1, 2015 at 1:41 AM, Jerzy Lasyk <jerzyla...@gmail.com> wrote: > Thank you for response. > Unfortunately still doesn't work. Error is the same. > I have put in Raw File URL mask: http://plmaaa02. > *********************:8080/gitweb?p=SW_TestTool.git;a=blob;f=<filename>;h=<revision> > When I put instead of filename and revision, data from diff file and open > url, correct file from gitweb is visible. > I have no idea what is still wrong. > > -Jerzy > > W dniu poniedziałek, 30 listopada 2015 23:55:41 UTC+1 użytkownik David > Trowbridge napisał: >> >> The Raw File URL mask needs to be a template URL, not just the path to >> the gitweb server. >> >> See >> https://www.reviewboard.org/docs/manual/2.5/admin/configuration/repositories/#gitweb >> for >> examples. >> >> -David >> >> On Sun, Nov 29, 2015 at 11:16 PM Jerzy Lasyk <jerzy...@gmail.com> wrote: >> >>> The RAW file URL mask : http://plmaaa02 >>> ********************:8080/p/SW_TestTool.git >>> Path field is same: http://plmaaa02 >>> ***********************:8080/p/SW_TestTool.git >>> >>> >>> W dniu niedziela, 29 listopada 2015 07:16:13 UTC+1 użytkownik David >>> Trowbridge napisał: >>> >>>> What is the raw file URL set to? >>>> >>>> -David >>>> >>>> On Fri, Nov 27, 2015 at 8:03 AM Jerzy Lasyk <jerzy...@gmail.com> wrote: >>>> >>> I have a problem with error: "There was an error displaying this diff." >>>>> I was searching for solution in this group, but didn't find helpful >>>>> answer. >>>>> This error occurs for all generated diffs, created using command : >>>>> "rbt post" >>>>> I am using git repository. In reviewboard configuration I have put >>>>> gitweb address in Path and Raw URL field. Whole error log is. >>>>> >>>>> Traceback (most recent call last): >>>>> File >>>>> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.5.1.1-py2.7.egg/reviewboard/diffviewer/views.py", >>>>> line 275, in get >>>>> response = renderer.render_to_response(request) >>>>> File >>>>> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.5.1.1-py2.7.egg/reviewboard/diffviewer/renderers.py", >>>>> line 56, in render_to_response >>>>> return HttpResponse(self.render_to_string(request)) >>>>> File >>>>> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.5.1.1-py2.7.egg/reviewboard/diffviewer/renderers.py", >>>>> line 74, in render_to_string >>>>> large_data=True) >>>>> File >>>>> "/usr/local/lib/python2.7/dist-packages/Djblets-0.9-py2.7.egg/djblets/cache/backend.py", >>>>> line 295, in cache_memoize >>>>> compress_large_data)) >>>>> File >>>>> "/usr/local/lib/python2.7/dist-packages/Djblets-0.9-py2.7.egg/djblets/cache/backend.py", >>>>> line 249, in cache_memoize_iter >>>>> items = items_or_callable() >>>>> File >>>>> "/usr/local/lib/python2.7/dist-packages/Djblets-0.9-py2.7.egg/djblets/cache/backend.py", >>>>> line 292, in <lambda> >>>>> lambda: [lookup_callable()], >>>>> File >>>>> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.5.1.1-py2.7.egg/reviewboard/diffviewer/renderers.py", >>>>> line 73, in <lambda> >>>>> lambda: self.render_to_string_uncached(request), >>>>> File >>>>> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.5.1.1-py2.7.egg/reviewboard/diffviewer/renderers.py", >>>>> line 87, in render_to_string_uncached >>>>> request=request) >>>>> File >>>>> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.5.1.1-py2.7.egg/reviewboard/diffviewer/diffutils.py", >>>>> line 422, in populate_diff_chunks >>>>> chunks = list(generator.get_chunks()) >>>>> File >>>>> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.5.1.1-py2.7.egg/reviewboard/diffviewer/chunk_generator.py", >>>>> line 756, in get_chunks >>>>> for chunk in super(DiffChunkGenerator, self).get_chunks(cache_key): >>>>> File >>>>> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.5.1.1-py2.7.egg/reviewboard/diffviewer/chunk_generator.py", >>>>> line 107, in get_chunks >>>>> large_data=True) >>>>> File >>>>> "/usr/local/lib/python2.7/dist-packages/Djblets-0.9-py2.7.egg/djblets/cache/backend.py", >>>>> line 295, in cache_memoize >>>>> compress_large_data)) >>>>> File >>>>> "/usr/local/lib/python2.7/dist-packages/Djblets-0.9-py2.7.egg/djblets/cache/backend.py", >>>>> line 249, in cache_memoize_iter >>>>> items = items_or_callable() >>>>> File >>>>> "/usr/local/lib/python2.7/dist-packages/Djblets-0.9-py2.7.egg/djblets/cache/backend.py", >>>>> line 292, in <lambda> >>>>> lambda: [lookup_callable()], >>>>> File >>>>> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.5.1.1-py2.7.egg/reviewboard/diffviewer/chunk_generator.py", >>>>> line 106, in <lambda> >>>>> lambda: list(self.get_chunks_uncached()), >>>>> File >>>>> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.5.1.1-py2.7.egg/reviewboard/diffviewer/chunk_generator.py", >>>>> line 763, in get_chunks_uncached >>>>> new = get_patched_file(old, self.filediff, self.request) >>>>> File >>>>> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.5.1.1-py2.7.egg/reviewboard/diffviewer/diffutils.py", >>>>> line 232, in get_patched_file >>>>> return patch(diff, buffer, filediff.dest_file, request) >>>>> File >>>>> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.5.1.1-py2.7.egg/reviewboard/diffviewer/diffutils.py", >>>>> line 168, in patch >>>>> 'output': stderr, >>>>> Exception: The patch to >>>>> 'AP_NavServerTest/AppBase/source/TestServerMain.cpp' didn't apply cleanly. >>>>> The temporary files have been left in '/tmp/reviewboard.dQtcK8' for >>>>> debugging purposes. >>>>> `patch` returned: >>>>> >>>>> >>>>> Erro occures for all .cpp, .gitignore, .h files. >>>>> Please Help. >>>>> >>>>> Jerzy >>>>> >>>>> -- >>>>> 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...@googlegroups.com. >>>> >>>> >>>>> For more options, visit https://groups.google.com/d/optout. >>>>> >>>> -- >>>> -David >>> >>> -- >>> 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...@googlegroups.com. >>> For more options, visit https://groups.google.com/d/optout. >>> >> -- >> -David >> > -- > 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.