#4796 Error 500 in Git code browser [ss352]

v1.0.0
closed
nobody
SCM
nobody
2015-08-20
2012-08-27
Chris Tsai
No

[forge:site-support:#352]

The Git web view for project Open Orienteering returns Error 500, "We're sorry but we weren't able to process this request.":

https://sourceforge.net/p/oorienteering/code/

I did a "Refresh Repository" from the admin page, but without success.

However, the error only occurs for the latest commits in the master branch, such as:

https://sourceforge.net/p/oorienteering/code/ci/982513985e2902a62f9382a0088fcf2f5e154737/tree/

Other branches and even earlier commits on master work as they should:

https://sourceforge.net/p/oorienteering/code/ci/v0.3.1/tree/

https://sourceforge.net/p/oorienteering/code/ci/8123f5fc89ca6f203c360de38c004cbbabefae5c/log/

Discussion

  • Chris Tsai - 2012-08-27
    • summary: Error 500 in Git code browser [ss354] --> Error 500 in Git code browser [ss352]
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,4 +1,4 @@
    -[forge:site-support:#354]
    +[forge:site-support:#352]
    
     >The Git web view for project Open Orienteering returns Error 500, "We're sorry but we weren't able to process this request.":
    
     
  • Dave Brondsema

    Dave Brondsema - 2012-08-27
    • milestone: limbo --> forge-backlog
     
  • Dave Brondsema

    Dave Brondsema - 2012-08-27

    Error is:

    Module allura.controllers.repository:358 in _lookup
    <<      @expose()
               def _lookup(self, ci, *remainder):
                   return CommitBrowser(ci), remainder
    
           class BranchBrowser(BaseController):
    >>  return CommitBrowser(ci), remainder
    Module allura.controllers.repository:392 in __init__
    <<          if self._commit is None:
                       raise exc.HTTPNotFound
                   self.tree = self.TreeBrowserClass(self._commit, tree=self._commit.tree)
    
               @expose('jinja:allura:templates/repo/commit.html')
    >>  self.tree = self.TreeBrowserClass(self._commit, tree=self._commit.tree)
    Module ming.utils:18 in __get__
    <<      def __get__(self, obj, klass=None):
                   if obj is None: return None
                   result = obj.__dict__[self.__name__] = self._func(obj)
                   return result
    >>  result = obj.__dict__[self.__name__] = self._func(obj)
    Module allura.model.repo:165 in tree
    <<          t = Tree.query.get(_id=self.tree_id)
                   if t is None:
                       self.tree_id = self.repo.compute_tree_new(self)
                       t = Tree.query.get(_id=self.tree_id)
                   if t is not None: t.set_context(self)
    >>  self.tree_id = self.repo.compute_tree_new(self)
    Module allura.model.repository:210 in compute_tree_new
    <<          return self._impl.url_for_commit(commit)
               def compute_tree_new(self, commit, path='/'):
                   return self._impl.compute_tree_new(commit, path)
    
               def _log(self, rev, skip, max_count):
    >>  return self._impl.compute_tree_new(commit, path)
    Module allura.model.repository:93 in compute_tree_new
    <<      def compute_tree_new(self, commit, path='/'): # pragma no cover
                   '''Used in hg and svn to compute a git-like-tree lazily with the new models'''
                   raise NotImplementedError, 'compute_tree'
    
               def open_blob(self, blob): # pragma no cover
    >>  raise NotImplementedError, 'compute_tree'
    NotImplementedError: compute_tree
    
     
  • Dave Brondsema

    Dave Brondsema - 2012-09-07
    • status: open --> closed
    • size: --> 0.5
    • milestone: forge-backlog --> forge-sep-07
     
  • Dave Brondsema

    Dave Brondsema - 2012-09-07

    clean repo refresh fixed it

     

Log in to post a comment.