You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@allura.apache.org by Dave Brondsema <br...@users.sf.net> on 2013/09/03 17:45:58 UTC

[allura:tickets] #4690 commit view on a fork gives NotImplementedError: compute_tree

- **status**: open --> closed
- **Milestone**: forge-backlog --> forge-sep-06



---

** [tickets:#4690] commit view on a fork gives NotImplementedError: compute_tree**

**Status:** closed
**Created:** Thu Aug 09, 2012 07:50 PM UTC by Dave Brondsema
**Last Updated:** Thu Aug 09, 2012 07:50 PM UTC
**Owner:** nobody

500 error on https://sourceforge.net/u/peterhartmann/allura/ci/2011008d44bf2406929aaa26d06b3eb31c1841b8/ which is a new commit in a fork of Allura

~~~~
Module allura.controllers.repository:389 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:163 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
~~~~


---

Sent from sourceforge.net because allura-dev@incubator.apache.org is subscribed to https://sourceforge.net/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/allura/admin/tickets/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.