#7848 viewing merge request results in 500 eror on https://sourceforge.net/p/grap

v1.3.0
closed
nobody
General
nobody
2015-08-20
2015-03-10
No

[forge:site-support:#9904]

https://sourceforge.net/p/forge/site-support/9904/


goto https://sourceforge.net/p/graphicsmagick/code/merge-requests/ and click on one of the requests. Throws a 500 error every time.


Reached out to Dave Br about this and was asked to escalate this to engineering

Discussion

  • Dave Brondsema

    Dave Brondsema - 2015-03-10

    Error is:

    File '/var/local/allura/Allura/allura/templates/repo/merge_request.html', line 39 in block "content"
      asked you to merge {{h.text.plural(req.commits|count, 'commit', 'commits')}}
    File '/var/local/env-allura/lib/python2.7/site-packages/Jinja2-2.6-py2.7.egg/jinja2/environment.py', line 372 in getattr
      return getattr(obj, attribute)
    File '/var/local/env-allura/lib/python2.7/site-packages/Ming-0.4.7-py2.7.egg/ming/utils.py', line 18 in __get__
      result = obj.__dict__[self.__name__] = self._func(obj)
    File '/var/local/allura/Allura/allura/model/repository.py', line 769 in commits
      return self._commits()
    File '/var/local/allura/Allura/allura/model/repository.py', line 781 in _commits
      id_only=False))
    File '/var/local/env-allura/lib/python2.7/site-packages/ForgeHg-0.2.1-py2.7.egg/forgehg/model/hg.py', line 251 in log
      change_revs = cmdutil.walkchangerevs(self._hg, match, {'rev': revs, 'prune': exclude}, noop)
    File '/var/local/env-allura/lib/python2.7/site-packages/TimerMiddleware-0.4.4-py2.7.egg/timermiddleware/__init__.py', line 121 in __call__
      return self.run_and_log(self._inner, None, *args, **kwargs)
    File '/var/local/env-allura/lib/python2.7/site-packages/TimerMiddleware-0.4.4-py2.7.egg/timermiddleware/__init__.py', line 126 in run_and_log
      return func(*args, **kwargs)
    File '/var/local/env-allura/lib/python2.7/site-packages/mercurial-3.0-py2.7-linux-x86_64.egg/mercurial/cmdutil.py', line 1412 in walkchangerevs
      rev = repo[rev].rev()
    File '/var/local/env-allura/lib/python2.7/site-packages/mercurial-3.0-py2.7-linux-x86_64.egg/mercurial/localrepo.py', line 444 in __getitem__
      return context.changectx(self, changeid)
    File '/var/local/env-allura/lib/python2.7/site-packages/mercurial-3.0-py2.7-linux-x86_64.egg/mercurial/context.py', line 319 in __init__
      _("unknown revision '%s'") % changeid)
    RepoLookupError: unknown revision '3060d10e408a8e8acf3b9c24cf5b226ea7f92f0b'
    
     
  • Igor Bondarenko - 2015-03-11

    I saw errors like that. It can happen in mercurial repo due to [#7836]. There is temporary fix in [#7830], AFAIR.

     

    Related

    Tickets: #7830
    Tickets: #7836

  • John Barrett - 2015-03-23

    It appears that another project admin has run into a similar issue:

    https://sourceforge.net/p/forge/site-support/9989/

     
  • Dave Brondsema

    Dave Brondsema - 2015-04-16
    • status: open --> closed
     
  • Dave Brondsema

    Dave Brondsema - 2015-04-16

    Yep this error is fixed now that [#7830] is closed.

     

    Related

    Tickets: #7830

  • Dave Brondsema

    Dave Brondsema - 2015-08-10
    • Milestone: unreleased --> asf_release_1.3.0
     

Log in to post a comment.