Issue #89 resolved

Server error (500)

Anonymous created an issue

step to reproduce: in existing project repository

  1. hg review --init --remote-path [url-of-remote-public-review-repo] the review data has been initialized run "hg commit .hgreview -m 'initialize code review'" to record it permanently
  2. hg commit .hgreview -m 'initialize code review'
  3. hg review --web

ater visiting http://127.0.0.1:8080/ I see:

Server error (500)

Something went horribly wrong.

If you have a few extra minutes you could file a bug report.

Comments (3)

  1. Michael Kaes

    Hi,

    I see the same issue. Applying the patch for the non-ascii characters does not help in my case. If I enable the debug from flask I get the following stack trace.

    File "/home/mkaes/projects/hg-review/bundled/flask/flask/app.py", line 965, in __call__
        return self.wsgi_app(environ, start_response)
    File "/home/mkaes/projects/hg-review/bundled/flask/flask/app.py", line 955, in wsgi_app
        response = self.make_response(self.handle_exception(e))
    File "/home/mkaes/projects/hg-review/bundled/flask/flask/app.py", line 952, in wsgi_app
        rv = self.dispatch_request()
    "/home/mkaes/projects/hg-review/bundled/flask/flask/app.py", line 754, in dispatch_request
        return self.view_functions[rule.endpoint](**req.view_args)
    File "/home/mkaes/projects/hg-review/review/web.py", line 214, in pull
        message=messages.FETCH, switch_parent=True, user='', date='')
    File "/usr/local/lib/python2.7/dist-packages/mercurial-2.7.1-py2.7-linux-x86_64.egg/hgext/fetch.py", line 48, in fetch
        [Display the sourcecode for this frame]  [Open an interactive python shell in this frame] raise util.Abort(_('working dir not at branch tip '
    
    Abort: working dir not at branch tip (use "hg update" to check out branch tip)
    
  2. Log in to comment