we get this error fairly frequently (mostly from spiders)
File '/var/local/allura/Allura/allura/controllers/repository.py', line 541 in index
context = self._blob.context()
File '/var/local/allura/Allura/allura/model/repo.py', line 708 in context
if prev is not None: prev = prev.get_path(path, create=False)
File '/var/local/allura/Allura/allura/model/repo.py', line 357 in get_path
cur = cur[part]
File '/var/local/allura/Allura/allura/model/repo.py', line 428 in __getitem__
obj = self.by_name[name]
KeyError: u'trunk2'
PATH_INFO: '/p/sakura-editor/code/2537/tree/sakura/trunk2/sakura_core/convert/CConvert_Trim.h'
other examples:
PATH_INFO: '/p/zeoslib/code-0/652/tree/branches/6.6-patches/build/build.cmd'
PATH_INFO: '/p/zeoslib/code-0/2070/tree/trunk/packages/Delphi2010/ZComponent.dpk'
PATH_INFO: '/p/mifos/git-1/ci/75a13b503ae0c9a9f2a91839aae602fc7e41d5a9/tree/reports/standardReports/resources/style/images/mifoslogo.jpg'
allura:cj/5896I couldn't actually reproduce the error, but this change should resolve it anyway.
Looks good but I got a test failure:
Moved to
allura:cj/5855where it was supposed to be and fixed test.