Skip to content

Instantly share code, notes, and snippets.

@m0sth8
Created November 11, 2013 14:04
Show Gist options
  • Save m0sth8/7413650 to your computer and use it in GitHub Desktop.
Save m0sth8/7413650 to your computer and use it in GitHub Desktop.
Stacktrace
Traceback:
File "/Users/m0sth8/develop/venv/tulula/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
114. response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/Users/m0sth8/develop/venv/tulula/lib/python2.7/site-packages/django/contrib/admin/options.py" in wrapper
430. return self.admin_site.admin_view(view)(*args, **kwargs)
File "/Users/m0sth8/develop/venv/tulula/lib/python2.7/site-packages/django/utils/decorators.py" in _wrapped_view
99. response = view_func(request, *args, **kwargs)
File "/Users/m0sth8/develop/venv/tulula/lib/python2.7/site-packages/django/views/decorators/cache.py" in _wrapped_view_func
52. response = view_func(request, *args, **kwargs)
File "/Users/m0sth8/develop/venv/tulula/lib/python2.7/site-packages/django/contrib/admin/sites.py" in inner
198. return view(request, *args, **kwargs)
File "/Users/m0sth8/develop/venv/tulula/lib/python2.7/site-packages/django/utils/decorators.py" in _wrapper
29. return bound_func(*args, **kwargs)
File "/Users/m0sth8/develop/venv/tulula/lib/python2.7/site-packages/django/utils/decorators.py" in _wrapped_view
99. response = view_func(request, *args, **kwargs)
File "/Users/m0sth8/develop/venv/tulula/lib/python2.7/site-packages/django/utils/decorators.py" in bound_func
25. return func(self, *args2, **kwargs2)
File "/Users/m0sth8/develop/venv/tulula/lib/python2.7/site-packages/django/db/transaction.py" in inner
339. return func(*args, **kwargs)
File "/Users/m0sth8/develop/venv/tulula/lib/python2.7/site-packages/django/contrib/admin/options.py" in change_view
1229. self.save_related(request, form, formsets, True)
File "/Users/m0sth8/develop/venv/tulula/lib/python2.7/site-packages/django/contrib/admin/options.py" in save_related
880. form.save_m2m()
File "/Users/m0sth8/develop/venv/tulula/lib/python2.7/site-packages/django/forms/models.py" in save_m2m
91. f.save_form_data(instance, cleaned_data[f.name])
File "/Users/m0sth8/develop/venv/tulula/lib/python2.7/site-packages/django/db/models/fields/related.py" in save_form_data
1517. setattr(instance, self.attname, data)
File "/Users/m0sth8/develop/venv/tulula/lib/python2.7/site-packages/django/db/models/fields/related.py" in __set__
828. value = tuple(value)
File "/Users/m0sth8/develop/venv/tulula/lib/python2.7/site-packages/django/db/models/query.py" in __iter__
96. self._fetch_all()
File "/Users/m0sth8/develop/venv/tulula/lib/python2.7/site-packages/django/db/models/query.py" in _fetch_all
854. self._result_cache = list(self.iterator())
File "/Users/m0sth8/develop/venv/tulula/lib/python2.7/site-packages/cacheops/query.py" in iterator
353. cache_key = self._cache_key()
File "/Users/m0sth8/develop/venv/tulula/lib/python2.7/site-packages/cacheops/query.py" in _cache_key
261. md5.update(stringify_query(self.query))
File "/Users/m0sth8/develop/venv/tulula/lib/python2.7/site-packages/cacheops/query.py" in stringify_query
219. raise ValueError(*e.args)
Exception Type: ValueError at /admin/movie/movie/1442462/
Exception Value: Can't stringify <django.db.models.sql.where.EmptyWhere object at 0x10b0b1c10>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment