Dave Brondsema - 15 hours ago
  • Description has changed:

Diff:

--- old
+++ new
@@ -1,7 +1,7 @@
 Got this when we were taking a lots of simultaneous requests.  Weird error showing template code from a repo, where a SHA was expected. 

 ```

-  '/var/local/allura/Allura/allura/controllers/repository.py', line 906 in index
+   File '/var/local/allura/Allura/allura/controllers/repository.py', line 906 in index
      return self.raw()
    File '/var/local/allura/Allura/allura/controllers/repository.py', line 942 in raw
      return iter(self._blob)
@@ -23,4 +23,5 @@
      return self._parse_object_header(cmd.stdout.readline())
    File '/var/local/env-allura/lib/python3.11/site-packages/git/cmd.py', line 1814 in _parse_object_header
      raise ValueError("SHA %s could not be resolved, git returned: %r" % (tokens[0], header_line.strip()))
-   ValueError: SHA b'{%' could not be resolved, git returned: b'{% extends g.theme.master %}'```
+   ValueError: SHA b'{%' could not be resolved, git returned: b'{% extends g.theme.master %}'
+```