Skip to content

Instantly share code, notes, and snippets.

@bgirardot
Created February 18, 2015 23:12
Show Gist options
  • Save bgirardot/1709547493dcf946fbf3 to your computer and use it in GitHub Desktop.
Save bgirardot/1709547493dcf946fbf3 to your computer and use it in GitHub Desktop.
gitcachbuster stack trace
pyramid_mako.MakoRenderingException
MakoRenderingException:
Traceback (most recent call last):
File "/home/blake/osm-tasking-manager2/env/local/lib/python2.7/site-packages/pyramid_mako/__init__.py", line 148, in __call__
result = template.render_unicode(**system)
File "/home/blake/osm-tasking-manager2/env/local/lib/python2.7/site-packages/mako/template.py", line 452, in render_unicode
as_unicode=True)
File "/home/blake/osm-tasking-manager2/env/local/lib/python2.7/site-packages/mako/runtime.py", line 803, in _render
**_kwargs_for_callable(callable_, data))
File "/home/blake/osm-tasking-manager2/env/local/lib/python2.7/site-packages/mako/runtime.py", line 835, in _render_context
_exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
File "/home/blake/osm-tasking-manager2/env/local/lib/python2.7/site-packages/mako/runtime.py", line 860, in _exec_template
callable_(context, *args, **kwargs)
File "/home/blake/osm-tasking-manager2/osmtm/templates/base.mako", line 8, in render_body
<link rel="shortcut icon" href="${request.static_url('osmtm:static/img/favicon.ico')}">
File "/home/blake/osm-tasking-manager2/env/src/pyramid/pyramid/url.py", line 717, in static_url
return info.generate(path, self, **kw)
File "/home/blake/osm-tasking-manager2/env/src/pyramid/pyramid/config/views.py", line 1935, in generate
subpath, kw = cachebust(subpath, kw)
File "/home/blake/osm-tasking-manager2/env/src/pyramid/pyramid/config/views.py", line 1985, in cachebust
spec + subpath, subpath_tuple, kw)
File "/home/blake/osm-tasking-manager2/env/src/pyramid/pyramid/static.py", line 206, in pregenerate
token = self.tokenize(pathspec)
File "/home/blake/osm-tasking-manager2/env/src/pyramid/pyramid/static.py", line 190, in tokenize
token = self.token_cache.get(pathspec)
AttributeError: 'GitCacheBuster' object has no attribute 'token_cache'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment