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/05 00:31:08 UTC

[allura:tickets] #6629 "list index out of range" error on git _iter_commits_with_refs



---

** [tickets:#6629] "list index out of range" error on git _iter_commits_with_refs**

**Status:** open
**Labels:** support p2 
**Created:** Wed Sep 04, 2013 10:31 PM UTC by Dave Brondsema
**Last Updated:** Wed Sep 04, 2013 10:31 PM UTC
**Owner:** nobody

This was introduced in [#5775]

~~~~
File '/var/local/allura/Allura/allura/templates/widgets/repo/tree_widget.html', line 21 in top-level template code
  {% set ls = list(tree.ls()) %}
File '/var/local/allura/Allura/allura/model/repo.py', line 532 in ls
  last_commit = LastCommit.get(self, create=False)
File '/var/local/allura/Allura/allura/model/repo.py', line 813 in get
  last_commit_id = cls._last_commit_id(tree.commit, path)
File '/var/local/allura/Allura/allura/model/repo.py', line 787 in _last_commit_id
  rev = commit.repo.log(commit._id, path, id_only=True).next()
File '/var/local/allura/ForgeGit/forgegit/model/git_repo.py', line 307 in log
  for ci, refs, renamed in self._iter_commits_with_refs(*args):
File '/var/local/allura/ForgeGit/forgegit/model/git_repo.py', line 393 in _iter_commits_with_refs
  name_stat_parts = commit_lines[1].split(' ')
IndexError: list index out of range
~~~~


---

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.