Created
May 3, 2012 19:02
-
-
Save divadrei/2588267 to your computer and use it in GitHub Desktop.
cacheops
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ "checksum" : "-", | |
"culprit" : "cacheops.query._clone", | |
"id" : "-", | |
"level" : "error", | |
"logger" : "root", | |
"modules" : { "cacheops" : "0.9.2", | |
"dajax" : "0.8.4.beta", | |
"dajaxice" : "0.2.0.0.beta", | |
"django" : "1.4", | |
"djcelery" : "2.4.2", | |
"grappelli" : "2.4.0a1", | |
"haystack" : "2.0.0.beta", | |
"historylink" : "0.0.1", | |
"mptt" : "0.5.2", | |
"notification" : "0.2a1.dev4", | |
"raven" : "1.4.4", | |
"sorl" : "11.9.1", | |
"sorl.thumbnail" : "11.9.1", | |
"south" : "0.7.3", | |
"taggit" : "0.9.3", | |
"tree" : "0.0.1", | |
"tweet_fetcher" : "0.0.1" | |
}, | |
"project" : 3, | |
"sentry.interfaces.Exception" : { "module" : "exceptions", | |
"type" : "AttributeError", | |
"value" : "'EditorialQuerySet' object has no attribute '_cloning'" | |
}, | |
"sentry.interfaces.Http" : {, | |
"data" : { }, | |
"env" : { "REMOTE_ADDR" : "0.0.0.0", | |
"SERVER_NAME" : "server", | |
"SERVER_PORT" : "80" | |
}, | |
"headers" : { "Accept" : "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8", | |
"Accept-Charset" : "ISO-8859-1,utf-8;q=0.7,*;q=0.3", | |
"Accept-Encoding" : "gzip,deflate,sdch", | |
"Accept-Language" : "fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4", | |
"Cache-Control" : "max-age=0", | |
"Connection" : "keep-alive", | |
"Content-Length" : "", | |
"Content-Type" : "", | |
"Host" : "server", | |
"Referer" : "http://server/actualites/?page=3", | |
"User-Agent" : "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.168 Safari/535.19" | |
}, | |
"method" : "GET", | |
"query_string" : "", | |
"url" : "http://server/article/14508/article.html" | |
}, | |
"sentry.interfaces.Stacktrace" : { "frames" : [ { "abs_path" : "/home/virtualenv/.virtualenvs/server/lib/python2.6/site-packages/django/core/handlers/base.py", | |
"context_line" : " signals.got_request_exception.send(sender=self.__class__, request=request)", | |
"filename" : "django/core/handlers/base.py", | |
"function" : "get_response", | |
"lineno" : 178, | |
"module" : "django.core.handlers.base", | |
"post_context" : [ " response = self.handle_uncaught_exception(request, resolver, sys.exc_info())", | |
" finally:" | |
], | |
"pre_context" : [ " raise", | |
" except: # Handle everything else, including SuspiciousOperation, etc.", | |
" # Get the exception info now, in case another exception is thrown later." | |
], | |
"vars" : { "callback" : "<function ArticleView at 0xad7a48c>", | |
"callback_args" : [ ], | |
"callback_kwargs" : { "pk" : "14508", | |
"slug" : "article" | |
}, | |
"e" : "AttributeError(\"'EditorialQuerySet' object has no attribute '_cloning'\",)", | |
"exceptions" : "<module 'django.core.exceptions' from '/home/virtualenv/.virtualenvs/server/lib/python2.6/site-packages/django/core/exceptions.pyc'>", | |
"middleware_method" : "<bound method HistoryLink.process_exception of <historylink.middleware.HistoryLink object at 0xa35de0c>>", | |
"request" : "<WSGIRequest\npath:/article/14508/article.html,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{'__gads': 'ID=2a6d7bfcfda5...", | |
"resolver" : "<RegexURLResolver urls (None:None) ^/>", | |
"response" : null, | |
"self" : "<django.core.handlers.wsgi.WSGIHandler object at 0x9fe85ec>", | |
"settings" : "<django.conf.LazySettings object at 0xb76c8f2c>", | |
"urlconf" : "urls", | |
"urlresolvers" : "<module 'django.core.urlresolvers' from '/home/virtualenv/.virtualenvs/server/lib/python2.6/site-packages/django/core/urlresolvers.pyc'>" | |
} | |
}, | |
{ "abs_path" : "/home/virtualenv/.virtualenvs/server/lib/python2.6/site-packages/django/views/generic/base.py", | |
"context_line" : " return self.dispatch(request, *args, **kwargs)", | |
"filename" : "django/views/generic/base.py", | |
"function" : "view", | |
"lineno" : 48, | |
"module" : "django.views.generic.base", | |
"post_context" : [ "", | |
" # take name and docstring from class" | |
], | |
"pre_context" : [ " self = cls(**initkwargs)", | |
" if hasattr(self, 'get') and not hasattr(self, 'head'):", | |
" self.head = self.get" | |
], | |
"vars" : { "args" : [ ], | |
"cls" : "<class 'editorials.views.ArticleView'>", | |
"initkwargs" : { }, | |
"kwargs" : { "pk" : "14508", | |
"slug" : "article" | |
}, | |
"request" : "<WSGIRequest\npath:/article/14508/article.html,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{'__gads': 'ID=2a6d7bfcfda5...", | |
"self" : "<editorials.views.ArticleView object at 0xae06a2c>" | |
} | |
}, | |
{ "abs_path" : "/home/virtualenv/.virtualenvs/server/lib/python2.6/site-packages/django/views/generic/base.py", | |
"context_line" : " return handler(request, *args, **kwargs)", | |
"filename" : "django/views/generic/base.py", | |
"function" : "dispatch", | |
"lineno" : 69, | |
"module" : "django.views.generic.base", | |
"post_context" : [ "", | |
" def http_method_not_allowed(self, request, *args, **kwargs):" | |
], | |
"pre_context" : [ " self.request = request", | |
" self.args = args", | |
" self.kwargs = kwargs" | |
], | |
"vars" : { "args" : [ ], | |
"handler" : "<bound method ArticleView.get of <editorials.views.ArticleView object at 0xae06a2c>>", | |
"kwargs" : { "pk" : "14508", | |
"slug" : "article" | |
}, | |
"request" : "<WSGIRequest\npath:/article/14508/article.html,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{'__gads': 'ID=2a6d7bfcfda5...", | |
"self" : "<editorials.views.ArticleView object at 0xae06a2c>" | |
} | |
}, | |
{ "abs_path" : "/home/virtualenv/.virtualenvs/server/lib/python2.6/site-packages/django/views/generic/detail.py", | |
"context_line" : " self.object = self.get_object()", | |
"filename" : "django/views/generic/detail.py", | |
"function" : "get", | |
"lineno" : 98, | |
"module" : "django.views.generic.detail", | |
"post_context" : [ " context = self.get_context_data(object=self.object)", | |
" return self.render_to_response(context)" | |
], | |
"pre_context" : [ "", | |
"class BaseDetailView(SingleObjectMixin, View):", | |
" def get(self, request, *args, **kwargs):" | |
], | |
"vars" : { "args" : [ ], | |
"kwargs" : { "pk" : "14508", | |
"slug" : "article" | |
}, | |
"request" : "<WSGIRequest\npath:/article/14508/article.html,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{'__gads': 'ID=2a6d7bfcfda5...", | |
"self" : "<editorials.views.ArticleView object at 0xae06a2c>" | |
} | |
}, | |
{ "abs_path" : "/home/virtualenv/.virtualenvs/server/lib/python2.6/site-packages/django/views/generic/detail.py", | |
"context_line" : " queryset = self.get_queryset()", | |
"filename" : "django/views/generic/detail.py", | |
"function" : "get_object", | |
"lineno" : 29, | |
"module" : "django.views.generic.detail", | |
"post_context" : [ "", | |
" # Next, try looking up by primary key." | |
], | |
"pre_context" : [ " # Use a custom queryset if provided; this is required for subclasses", | |
" # like DateDetailView", | |
" if queryset is None:" | |
], | |
"vars" : { "queryset" : null, | |
"self" : "<editorials.views.ArticleView object at 0xae06a2c>" | |
} | |
}, | |
{ "abs_path" : "/home/virtualenv/.virtualenvs/server/lib/python2.6/site-packages/django/views/generic/detail.py", | |
"context_line" : " return self.queryset._clone()", | |
"filename" : "django/views/generic/detail.py", | |
"function" : "get_queryset", | |
"lineno" : 69, | |
"module" : "django.views.generic.detail", | |
"post_context" : [ "", | |
" def get_slug_field(self):" | |
], | |
"pre_context" : [ " u\"%(cls)s.get_object().\" % {", | |
" 'cls': self.__class__.__name__", | |
" })" | |
], | |
"vars" : { "self" : "<editorials.views.ArticleView object at 0xae06a2c>" } | |
}, | |
{ "abs_path" : "/home/virtualenv/.virtualenvs/server/src/django-model-utils/model_utils/managers.py", | |
"context_line" : " return super(InheritanceQuerySet, self)._clone(klass, setup, **kwargs)", | |
"filename" : "model_utils/managers.py", | |
"function" : "_clone", | |
"lineno" : 25, | |
"module" : "model_utils.managers", | |
"post_context" : [ "", | |
" def annotate(self, *args, **kwargs):" | |
], | |
"pre_context" : [ " for name in ['subclasses', '_annotated']:", | |
" if hasattr(self, name):", | |
" kwargs[name] = getattr(self, name)" | |
], | |
"vars" : { "klass" : null, | |
"kwargs" : { }, | |
"name" : "_annotated", | |
"self" : "<BadRepr: <class 'editorials.models.EditorialQuerySet'>>", | |
"setup" : false | |
} | |
}, | |
{ "abs_path" : "/home/virtualenv/.virtualenvs/server/lib/python2.6/site-packages/cacheops/query.py", | |
"context_line" : " if self._cloning:", | |
"filename" : "cacheops/query.py", | |
"function" : "_clone", | |
"lineno" : 278, | |
"module" : "cacheops.query", | |
"post_context" : [ " return self.clone(klass, setup, **kwargs)", | |
" elif klass is not None:" | |
], | |
"pre_context" : [ " return self.cloning(0)", | |
"", | |
" def _clone(self, klass=None, setup=False, **kwargs):" | |
], | |
"vars" : { "klass" : null, | |
"kwargs" : { }, | |
"self" : "<BadRepr: <class 'editorials.models.EditorialQuerySet'>>", | |
"setup" : false | |
} | |
} | |
] }, | |
"sentry.interfaces.User" : { "is_authenticated" : false } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment