Re: Getting "The file ...... could not be found in the repository" with mercurial repository confugured with ssh
Thanks David. Sure will upgrade to the latest release and check if it works. On Friday, January 15, 2016 at 9:28:36 PM UTC+5:30, David Trowbridge wrote: > > 2.0.7 is pretty old at this point. Is it possible to see if this still > fails with the latest 2.0.x release? > > -David > > On Fri, Jan 15, 2016 at 8:04 AM Ashutosh Naik> wrote: > >> I am using Review Board 2.0.7 with mercurial repository configured with >> ssh. I created a new review request and uploaded the diff and parent diff >> for a committed changeset. But I get the following error: >> >> There was an error displaying this diff. >> >> The file 'kvstore/src/oracle/kv/util/PingCollector.java' (r5c2b44f746e4) >> could not be found in the repository >> >> This may be a bug in the software, a temporary outage, or an issue with >> the format of your diff. >> >> Please try again, and if you still have trouble,contact support. >> >> Clicking on "Details" gives the following: >> >> Traceback (most recent call last): >> File >> "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.17-py2.6.egg/reviewboard/diffviewer/views.py", >> >> line 265, in get >> response = renderer.render_to_response(request) >> File >> "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.17-py2.6.egg/reviewboard/diffviewer/renderers.py", >> >> line 56, in render_to_response >> return HttpResponse(self.render_to_string(request)) >> File >> "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.17-py2.6.egg/reviewboard/diffviewer/renderers.py", >> >> line 74, in render_to_string >> large_data=True) >> File >> "/usr/lib/python2.6/site-packages/Djblets-0.8.20-py2.6.egg/djblets/cache/backend.py", >> >> line 111, in cache_memoize >> data = lookup_callable() >> File >> "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.17-py2.6.egg/reviewboard/diffviewer/renderers.py", >> >> line 73, in >> lambda: self.render_to_string_uncached(request), >> File >> "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.17-py2.6.egg/reviewboard/diffviewer/renderers.py", >> >> line 87, in render_to_string_uncached >> request=request) >> File >> "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.17-py2.6.egg/reviewboard/diffviewer/diffutils.py", >> >> line 420, in populate_diff_chunks >> chunks = generator.get_chunks() >> File >> "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.17-py2.6.egg/reviewboard/diffviewer/chunk_generator.py", >> >> line 156, in get_chunks >> large_data=True) >> File >> "/usr/lib/python2.6/site-packages/Djblets-0.8.20-py2.6.egg/djblets/cache/backend.py", >> >> line 111, in cache_memoize >> data = lookup_callable() >> File >> "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.17-py2.6.egg/reviewboard/diffviewer/chunk_generator.py", >> >> line 155, in >> lambda: list(self._get_chunks_uncached()), >> File >> "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.17-py2.6.egg/reviewboard/diffviewer/chunk_generator.py", >> >> line 162, in _get_chunks_uncached >> old = get_original_file(self.filediff, self.request, encoding_list) >> File >> "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.17-py2.6.egg/reviewboard/diffviewer/diffutils.py", >> >> line 198, in get_original_file >> request=request) >> File >> "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.17-py2.6.egg/reviewboard/scmtools/models.py", >> >> line 344, in get_file >> large_data=True)[0] >> File >> "/usr/lib/python2.6/site-packages/Djblets-0.8.20-py2.6.egg/djblets/cache/backend.py", >> >> line 111, in cache_memoize >> data = lookup_callable() >> File >> "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.17-py2.6.egg/reviewboard/scmtools/models.py", >> >> line 343, in >> request)], >> File >> "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.17-py2.6.egg/reviewboard/scmtools/models.py", >> >> line 531, in _get_file_uncached >> base_commit_id=base_commit_id) >> File >> "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.17-py2.6.egg/reviewboard/scmtools/hg.py", >> >> line 48, in get_file >> base_commit_id=base_commit_id) >> File >> "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.17-py2.6.egg/reviewboard/scmtools/hg.py", >> >> line 266, in cat_file >> raise FileNotFoundError(path, rev) >> FileNotFoundError: The file >> 'kvstore/src/oracle/kv/util/PingCollector.java' (r5c2b44f746e4) could not >> be found in the repository >> >> >> >> -- >> 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
Re: Getting "The file ...... could not be found in the repository" with mercurial repository confugured with ssh
2.0.7 is pretty old at this point. Is it possible to see if this still fails with the latest 2.0.x release? -David On Fri, Jan 15, 2016 at 8:04 AM Ashutosh Naikwrote: > I am using Review Board 2.0.7 with mercurial repository configured with > ssh. I created a new review request and uploaded the diff and parent diff > for a committed changeset. But I get the following error: > > There was an error displaying this diff. > > The file 'kvstore/src/oracle/kv/util/PingCollector.java' (r5c2b44f746e4) > could not be found in the repository > > This may be a bug in the software, a temporary outage, or an issue with > the format of your diff. > > Please try again, and if you still have trouble,contact support. > > Clicking on "Details" gives the following: > > Traceback (most recent call last): > File > "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.17-py2.6.egg/reviewboard/diffviewer/views.py", > line 265, in get > response = renderer.render_to_response(request) > File > "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.17-py2.6.egg/reviewboard/diffviewer/renderers.py", > line 56, in render_to_response > return HttpResponse(self.render_to_string(request)) > File > "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.17-py2.6.egg/reviewboard/diffviewer/renderers.py", > line 74, in render_to_string > large_data=True) > File > "/usr/lib/python2.6/site-packages/Djblets-0.8.20-py2.6.egg/djblets/cache/backend.py", > line 111, in cache_memoize > data = lookup_callable() > File > "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.17-py2.6.egg/reviewboard/diffviewer/renderers.py", > line 73, in > lambda: self.render_to_string_uncached(request), > File > "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.17-py2.6.egg/reviewboard/diffviewer/renderers.py", > line 87, in render_to_string_uncached > request=request) > File > "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.17-py2.6.egg/reviewboard/diffviewer/diffutils.py", > line 420, in populate_diff_chunks > chunks = generator.get_chunks() > File > "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.17-py2.6.egg/reviewboard/diffviewer/chunk_generator.py", > line 156, in get_chunks > large_data=True) > File > "/usr/lib/python2.6/site-packages/Djblets-0.8.20-py2.6.egg/djblets/cache/backend.py", > line 111, in cache_memoize > data = lookup_callable() > File > "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.17-py2.6.egg/reviewboard/diffviewer/chunk_generator.py", > line 155, in > lambda: list(self._get_chunks_uncached()), > File > "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.17-py2.6.egg/reviewboard/diffviewer/chunk_generator.py", > line 162, in _get_chunks_uncached > old = get_original_file(self.filediff, self.request, encoding_list) > File > "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.17-py2.6.egg/reviewboard/diffviewer/diffutils.py", > line 198, in get_original_file > request=request) > File > "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.17-py2.6.egg/reviewboard/scmtools/models.py", > line 344, in get_file > large_data=True)[0] > File > "/usr/lib/python2.6/site-packages/Djblets-0.8.20-py2.6.egg/djblets/cache/backend.py", > line 111, in cache_memoize > data = lookup_callable() > File > "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.17-py2.6.egg/reviewboard/scmtools/models.py", > line 343, in > request)], > File > "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.17-py2.6.egg/reviewboard/scmtools/models.py", > line 531, in _get_file_uncached > base_commit_id=base_commit_id) > File > "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.17-py2.6.egg/reviewboard/scmtools/hg.py", > line 48, in get_file > base_commit_id=base_commit_id) > File > "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.17-py2.6.egg/reviewboard/scmtools/hg.py", > line 266, in cat_file > raise FileNotFoundError(path, rev) > FileNotFoundError: The file > 'kvstore/src/oracle/kv/util/PingCollector.java' (r5c2b44f746e4) could not > be found in the repository > > > > -- > 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. > -- -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