ReviewBoard version 1.5.3. I notice that for the review requests created by RBTools post-review, if I go to the web UI and try to select the review request, I also get a 500 error in my browser.
OK, so here is the full output in reviewboard.log for a post-review command: ----- 2011-02-11 13:38:38,934 - INFO - Logging to /var/www/reviewboard/logs/ reviewboard.log with a minimum level of DEBUG 2011-02-11 13:38:38,934 - INFO - Log file for Review Board v1.5.3 (PID 10530) 2011-02-11 13:38:39,743 - INFO - Logging to /var/www/reviewboard/logs/ reviewboard.log with a minimum level of DEBUG 2011-02-11 13:38:39,743 - INFO - Log file for Review Board v1.5.3 (PID 10529) 2011-02-11 13:38:41,452 - INFO - Logging to /var/www/reviewboard/logs/ reviewboard.log with a minimum level of DEBUG 2011-02-11 13:38:41,453 - INFO - Log file for Review Board v1.5.3 (PID 10531) 2011-02-11 13:38:42,330 - INFO - Logging to /var/www/reviewboard/logs/ reviewboard.log with a minimum level of DEBUG 2011-02-11 13:38:42,331 - INFO - Log file for Review Board v1.5.3 (PID 10532) 2011-02-11 13:38:42,824 - ERROR - Exception thrown for user jerry.maloney at http://of1dvweb-lnx001/api/review-requests/72/diffs/ no suitable response from remote hg Traceback (most recent call last): File "/usr/local/lib/python2.6/dist-packages/Django-1.2.4-py2.6.egg/ django/core/handlers/base.py", line 100, in get_response response = callback(request, *callback_args, **callback_kwargs) File "/usr/local/lib/python2.6/dist-packages/Django-1.2.4-py2.6.egg/ django/views/decorators/cache.py", line 78, in _wrapped_view_func response = view_func(request, *args, **kwargs) File "/usr/local/lib/python2.6/dist-packages/Django-1.2.4-py2.6.egg/ django/views/decorators/vary.py", line 22, in inner_func response = func(*args, **kwargs) File "/usr/local/lib/python2.6/dist-packages/Djblets-0.6.7-py2.6.egg/ djblets/webapi/resources.py", line 289, in __call__ result = view(request, api_format=api_format, *args, **kwargs) File "/usr/local/lib/python2.6/dist-packages/Djblets-0.6.7-py2.6.egg/ djblets/webapi/resources.py", line 415, in post return self.create(*args, **kwargs) File "/usr/local/lib/python2.6/dist-packages/Djblets-0.6.7-py2.6.egg/ djblets/webapi/decorators.py", line 88, in _checklogin return view_func(*args, **kwargs) File "/usr/local/lib/python2.6/dist-packages/Djblets-0.6.7-py2.6.egg/ djblets/webapi/decorators.py", line 62, in _call return view_func(*args, **kwargs) File "/usr/local/lib/python2.6/dist-packages/Djblets-0.6.7-py2.6.egg/ djblets/webapi/decorators.py", line 224, in _validate return view_func(*args, **new_kwargs) File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.5.3- py2.6.egg/reviewboard/webapi/resources.py", line 1111, in create form = UploadDiffForm(review_request, form_data, request.FILES) File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.5.3- py2.6.egg/reviewboard/reviews/forms.py", line 229, in __init__ data, *args, **kwargs) File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.5.3- py2.6.egg/reviewboard/diffviewer/forms.py", line 44, in __init__ if self.repository.get_scmtool().get_diffs_use_absolute_paths(): File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.5.3- py2.6.egg/reviewboard/scmtools/models.py", line 52, in get_scmtool return cls(self) File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.5.3- py2.6.egg/reviewboard/scmtools/hg.py", line 29, in __init__ self.client = HgClient(repository.path) File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.5.3- py2.6.egg/reviewboard/scmtools/hg.py", line 179, in __init__ self.repo = hg.repository(hg_ui, path=repoPath) File "/usr/local/lib/python2.6/dist-packages/mercurial-1.7.5-py2.6- linux-i686.egg/mercurial/hg.py", line 96, in repository repo = _lookup(path).instance(ui, path, create) File "/usr/local/lib/python2.6/dist-packages/mercurial-1.7.5-py2.6- linux-i686.egg/mercurial/sshrepo.py", line 50, in __init__ self.validate_repo(ui, sshcmd, args, remotecmd) File "/usr/local/lib/python2.6/dist-packages/mercurial-1.7.5-py2.6- linux-i686.egg/mercurial/sshrepo.py", line 81, in validate_repo self._abort(error.RepoError(_("no suitable response from remote hg"))) File "/usr/local/lib/python2.6/dist-packages/mercurial-1.7.5-py2.6- linux-i686.egg/mercurial/sshrepo.py", line 101, in _abort raise exception RepoError: no suitable response from remote hg ----- "no suitable response from remote hg" makes me suspect I have the wrong path for the Repository Path setting, but this path works fine in other settings. I set it up with ssh credentials that I know to be valid. For what it's worth, I have different problems if I use http instead of ssh in the path. Thanks, On Feb 11, 4:18 pm, Christian Hammond <chip...@chipx86.com> wrote: > A 500. Interesting... So it's more than just a matter of not finding the > right path in the repository. > > What version of Review Board is this? > > Can you enable logging on the Review Board end, repeat the process, and then > find the accompanying error for this in the reviewboard.log file? > > Christian > > -- > Christian Hammond - chip...@chipx86.com > Review Board -http://www.reviewboard.org > VMware, Inc. -http://www.vmware.com > > On Fri, Feb 11, 2011 at 1:07 PM, Jerry <gpjerrymalo...@gmail.com> wrote: > > And, the dbug log from RBTools' post-review: > > > ----- > > $ post-review --debug > > >>> RBTools 0.3.2 > > >>> Home = C:\Documents and Settings\jm\Application Data > > >>> hg showconfig > > >>> hg root > > >>> hg svn info > > >>> Using candidate path 'default': > > 'ssh://scm//opt/hg/main/core/AnyModalConsole' > > >>> repository info: Path: ssh://scm//opt/hg/main/core/AnyModalConsole, > > Base path: , Supports changesets: False > > >>> HTTP GETting api/ > > >>> HTTP GETtinghttp://of1dvweb-lnx001/api/info/ > > >>> Using the new web API > > >>> hg branch > > >>> hg -q outgoing --template b:{branches} > > r:{rev} > > > default > > >>> Found outgoing changeset 259 for branch 'default' > > >>> hg diff -r 258 -r 259 > > >>> Attempting to create review request on > > ssh://scm//opt/hg/main/core/AnyModalConsole for None > > >>> HTTP POSTing tohttp://of1dvweb-lnx001/api/review-requests/: > > {'repository': 'ssh://scm//opt/hg/main/core/AnyModalConsole'} > > >>> Review request created > > >>> Uploading diff, size: 454 > > >>> HTTP POSTing tohttp://of1dvweb-lnx001/api/review-requests/67/diffs/: > > {} > > >>> Got HTTP error: 500: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 > > Transitional//EN" > > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> > > > <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> > > <head> > > <title>500 - Internal Server Error | Review Board</title> > > </head> > > <body> > > <h1>Something broke! (Error 500)</h1> > > <p> > > It appears something broke when you tried to go to here. This is > > either > > a bug in Review Board or a server configuration error. Please > > report > > this to your administrator. > > </p> > > </body> > > </title> > > > Error uploading diff > > > Your review request still exists, but the diff is not attached. > > ----- > > > On Feb 11, 3:16 pm, Christian Hammond <chip...@chipx86.com> wrote: > > > Hi Jerry, > > > > Have you tried post-review or hg post-review? Can you try these (with > > debug > > > mode on, which is --debug on post-review at least, dunno about hg > > > post-review) and see if you still hit this problem? If so, the debug log > > > would be helpful in identifying the problem. > > > > Christian > > > > -- > > > Christian Hammond - chip...@chipx86.com > > > Review Board -http://www.reviewboard.org > > > VMware, Inc. -http://www.vmware.com > > > > On Fri, Feb 11, 2011 at 11:51 AM, Jerry <gpjerrymalo...@gmail.com> > > wrote: > > > > I recently set up ReviewBoard connecting to a mercurial repository. > > > > When trying to post a diff through the web UI, I get an error: > > > > > The file "build.xml" (revision ef6b39fd44d9) was not found in the > > > > repository > > > > > I have verified that this file with this revision number is in the > > > > repo. The mercurial repository path is set > > tohttp://ServerName/RepoName > > > > (this lists files at the root of the repo, like .hg). That's where > > > > build.xml is located, and I can see it in a web browser. > > > > > Am I setting up the mercurial path incorrectly? > > > > > Thanks, > > > > > -- > > > > Want to help the Review Board project? Donate today at > > > >http://www.reviewboard.org/donate/ > > > > Happy user? Let us know athttp://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 athttp://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