allura-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Brondsema" <d...@brondsema.net>
Subject [allura:tickets] #7847 KeyError in LastCommit building
Date Tue, 10 Mar 2015 15:46:47 GMT



---

** [tickets:#7847] KeyError in LastCommit building**

**Status:** open
**Milestone:** unreleased
**Created:** Tue Mar 10, 2015 03:46 PM UTC by Dave Brondsema
**Last Updated:** Tue Mar 10, 2015 03:46 PM UTC
**Owner:** nobody

Seeing quite a few 500 errors of this form.  Different repos, but KeyError from a string in
the requested repo path.

~~~~
 PATH_INFO: '/p/tack/tack/ci/release-6-0-pre-3/tree/mach/6500/libend/'


 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/env-allura/lib/python2.7/site-packages/TimerMiddleware-0.4.4-py2.7.egg/timermiddleware/__init__.py',
line 117 in wrapper
   return self.run_and_log(func, inst, *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/allura/Allura/allura/model/repository.py', line 1337 in ls
   last_commit = LastCommit.get(self)
 File '/var/local/env-allura/lib/python2.7/site-packages/TimerMiddleware-0.4.4-py2.7.egg/timermiddleware/__init__.py',
line 117 in wrapper
   return self.run_and_log(func, inst, *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/allura/Allura/allura/model/repository.py', line 1529 in get
   lcd = cls._build(commit.get_path(path))
 File '/var/local/env-allura/lib/python2.7/site-packages/TimerMiddleware-0.4.4-py2.7.egg/timermiddleware/__init__.py',
line 117 in wrapper
   return self.run_and_log(func, inst, *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/allura/Allura/allura/model/repository.py', line 1160 in get_path
   cur = cur[part]
 File '/var/local/env-allura/lib/python2.7/site-packages/TimerMiddleware-0.4.4-py2.7.egg/timermiddleware/__init__.py',
line 117 in wrapper
   return self.run_and_log(func, inst, *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/allura/Allura/allura/model/repository.py', line 1279 in __getitem__
   obj = self.by_name[name]
 KeyError: u'mach'
~~~~


---

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

To unsubscribe from further messages, a project admin can change settings at https://forge-allura.apache.org/p/allura/admin/tickets/options.
 Or, if this is a mailing list, you can unsubscribe from the mailing list.
Mime
  • Unnamed multipart/related (inline, None, 0 bytes)
View raw message