Skip to content

Instantly share code, notes, and snippets.

@ksamuel
Created June 12, 2011 09:58
Show Gist options
  • Save ksamuel/1021393 to your computer and use it in GitHub Desktop.
Save ksamuel/1021393 to your computer and use it in GitHub Desktop.
Environment:
Request Method: GET
Request URL: http://gunicorn_passthrough/video/47701/go-for-it?chunk=1&page=6
Traceback:
File "/home/project/.virtualenvs/project/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
178. response = middleware_method(request, response)
File "/home/project/.virtualenvs/project/lib/python2.7/site-packages/django/middleware/cache.py" in process_response
112. lambda r: self.cache.set(cache_key, r, timeout)
File "/home/project/.virtualenvs/project/lib/python2.7/site-packages/django/template/response.py" in add_post_render_callback
84. callback(self)
File "/home/project/.virtualenvs/project/lib/python2.7/site-packages/django/middleware/cache.py" in <lambda>
112. lambda r: self.cache.set(cache_key, r, timeout)
File "/home/project/.virtualenvs/project/lib/python2.7/site-packages/redis_cache/cache.py" in set
98. self.expire(key, timeout, version=version)
File "/home/project/.virtualenvs/project/lib/python2.7/site-packages/redis_cache/cache.py" in expire
118. self.set(key, value, timeout, version=version)
File "/home/project/.virtualenvs/project/lib/python2.7/site-packages/redis_cache/cache.py" in set
96. result = self._cache.set(key, pickle.dumps(value))
File "/home/project/.virtualenvs/project/lib64/python2.7/copy_reg.py" in _reduce_ex
84. dict = getstate()
File "/home/project/.virtualenvs/project/lib/python2.7/site-packages/django/template/response.py" in __getstate__
141. obj_dict = super(TemplateResponse, self).__getstate__()
File "/home/project/.virtualenvs/project/lib/python2.7/site-packages/django/template/response.py" in __getstate__
40. del obj_dict['template_name']
Exception Type: KeyError at /video/47701/go-for-it?chunk=1&page=6
Exception Value: template_name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment