Closed Bug 820005 Opened 12 years ago Closed 12 years ago

[traceback] AttributeError: type object 'object' has no attribute 'objects'

Categories

(support.mozilla.org :: Search, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 820010

People

(Reporter: willkg, Unassigned)

Details

The error emails are pretty bereft of information, but this doesn't look good. It's also entirely possible this isn't an issue with the elasticutils master branch. Traceback (most recent call last): File "/data/www/support.mozilla.org/kitsune/vendor/src/raven-python/raven/utils/serializer/manager.py", line 68, in transform return self.transform(repr(value), **kwargs) File "/data/www/support.mozilla.org/kitsune/vendor/src/elasticutils/elasticutils/__init__.py", line 242, in __repr__ data = list(self)[:REPR_OUTPUT_SIZE + 1] File "/data/www/support.mozilla.org/kitsune/vendor/src/elasticutils/elasticutils/__init__.py", line 663, in __iter__ return iter(self._do_search()) File "/data/www/support.mozilla.org/kitsune/vendor/src/elasticutils/elasticutils/__init__.py", line 621, in _do_search self._results_cache = ResultClass(self.type, hits, self.fields) File "/data/www/support.mozilla.org/kitsune/vendor/src/elasticutils/elasticutils/__init__.py", line 806, in __init__ self.set_objects(results['hits']['hits']) File "/data/www/support.mozilla.org/kitsune/vendor/src/elasticutils/elasticutils/__init__.py", line 854, in set_objects self.objects = self.type.objects.filter(id__in=self.ids) AttributeError: type object 'object' has no attribute 'objects' Request repr() unavailable
This is also a dupe of bug #820010 and will get solved with that.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.