#3975 Commit browser breaks on some commits

unreleased
invalid
nobody
None
SCM
nobody
2015-02-22
2012-03-29
No

Traceback:

URL: https://sourceforge.net/p/infighter2/code/commit_browser_data
Module weberror.errormiddleware:162 in __call__
>>  app_iter = self.application(environ, sr_checker)
Module beaker.middleware:152 in __call__
>>  return self.wrap_app(environ, session_start_response)
Module routes.middleware:131 in __call__
>>  response = self.app(environ, start_response)
Module sfx.middleware:37 in __call__
>>  resp = request.get_response(self.app)
Module webob.request:1086 in get_response
>>  application, catch_exc_info=False)
Module webob.request:1055 in call_application
>>  app_iter = application(self.environ, start_response)
Module pylons.wsgiapp:107 in __call__
>>  response = self.dispatch(controller, environ, start_response)
Module pylons.wsgiapp:312 in dispatch
>>  return controller(environ, start_response)
Module allura.lib.base:27 in __call__
>>  response = super(WsgiDispatchController, self).__call__(environ, start_response)
Module pylons.controllers.core:211 in __call__
>>  response = self._dispatch_call()
Module pylons.controllers.core:162 in _dispatch_call
>>  response = self._inspect_call(func)
Module pylons.controllers.core:105 in _inspect_call
>>  result = self._perform_call(func, args)
Module tg.controllers.dispatcher:254 in _perform_call
>>  r = self._call(func, params, remainder=remainder)
Module tg.controllers.decoratedcontroller:116 in _call
>>  output = controller(*remainder, **dict(params))
Module allura.controllers.repository:2 in commit_browser_data
Module allura.lib.patches:49 in without_trailing_slash
>>  return func(*args, **kwargs)
Module allura.controllers.repository:181 in commit_browser_data
>>  commit_ids = list(M.repo.commitlog(head_ids))
Module allura.model.repo:402 in _gen_ids
>>  for oid in ci_parents[ci]:
KeyError: u'4f63b0c2b9363c3cfa000048:9'

I also saw this while working on [#3634]. If you import this repo (https://texttrix.svn.sourceforge.net/svnroot/texttrix) in a new svn tool you will get a similar error when you go to the commit browser. It would also be nice to show an error message on the commit browser instead of just leaving it blank.

Discussion

    • status: open --> invalid
     
  • Duplicate of [#3759].

     

    Related

    Tickets: #3759


Log in to post a comment.