Skip to content

Instantly share code, notes, and snippets.

View groovecoder's full-sized avatar

luke crouch groovecoder

View GitHub Profile
[2013-02-25 11:38:17,283: ERROR/MainProcess] Received unregistered task of type 'elasticutils.contrib.django.tasks.index_objects'.
The message has been ignored and discarded.
Did you remember to import the module containing this task?
Or maybe you are using relative imports?
Please see http://bit.ly/gLye1c for more information.
The full contents of the message body was:
{'retries': 0, 'task': 'elasticutils.contrib.django.tasks.index_objects', 'utc': False, 'args': (<class 'wiki.models.Document'>, [1L]), 'expires': None, 'eta': None, 'kwargs': {}, 'id': 'e4b08307-e2b4-4113-81ea-1478727a5158'}
[2013-02-25 14:18:47,436: ERROR/MainProcess] Task elasticutils.contrib.django.tasks.index_objects[22e284a2-6ca0-4ec2-8c9e-56906f0c057f] raised exception: AttributeError("'Document' object has no attribute 'fields'",)
Traceback (most recent call last):
File "/vagrant/vendor/packages/celery/celery/execute/trace.py", line 181, in trace_task
R = retval = fun(*args, **kwargs)
File "/vagrant/vendor/src/elasticutils/elasticutils/contrib/django/tasks.py", line 30, in index_objects
model.index(item.fields(), bulk=True, id=item.id)
AttributeError: 'Document' object has no attribute 'fields'
======================================================================
ERROR: test_live_indexing_docs (search.tests.test_tasks.TestLiveIndexing)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/vagrant/apps/search/tests/test_tasks.py", line 16, in test_live_indexing_docs
self.refresh()
File "/vagrant/vendor/src/elasticutils/elasticutils/tests/__init__.py", line 111, in refresh
cls.get_es().refresh(cls.index_name, timesleep=timesleep)
File "/vagrant/vendor/packages/pyes/pyes/es.py", line 462, in refresh
result = self._send_request('POST', path)
========== 100+ ==========
ubernostrum
pcraciunoiu
gauthierm
rhelmer
wraithan
ossreleasefeed
mythmon
ozten
tallowen
Traceback (most recent call last):
File "/data/www/developer.mozilla.org/kuma/vendor/src/django/django/core/handlers/base.py", line 100, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/data/www/developer.mozilla.org/kuma/vendor/src/django/django/views/decorators/http.py", line 37, in inner
return func(request, *args, **kwargs)
File "/data/www/developer.mozilla.org/kuma/apps/access/decorators.py", line 46, in _wrapped_view
return view_fn(request, *args, **kwargs)
<p></p><div class="overheadIndicator draft draftHeader">
<strong>DRAFT</strong>
<div>This page is not complete.</div>
</div><p></p>
<p></p><div class="note"><strong>Note:</strong> Please do not translate this page until it is done; it will be much easier at that point. The French translation is a test to be sure that it works well.</div><p></p>
TypeError: object.__new__(NotImplementedType) is not safe, use NotImplementedType.__new__()
======================================================================
ERROR: test_task_queue (vagrant.apps.wiki.tests.test_tasks.RebuildTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/vagrant/apps/wiki/tests/test_tasks.py", line 45, in setUp
self.old_settings = deepcopy(settings._wrapped.__dict__)
File "/usr/lib/python2.7/copy.py", line 163, in deepcopy
y = copier(x, memo)
File "/usr/lib/python2.7/copy.py", line 257, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
test_action_count_per_unique (vagrant.apps.actioncounters.tests.ActionCountersTest)
Exercise action counts per unique and ensure overall total works ... 2013-02-28 14:07:03,071 DEBUG (0.001) INSERT INTO `auth_user` (`username`, `first_name`, `last_name`, `email`, `password`, `is_staff`, `is_active`, `is_superuser`, `last_login`, `date_joined`) VALUES ('tester1', '', '', 'tester2@tester.com', 'sha256$Cdddd5PwpS6l$a9f08ced112c13090871d9a5f5b33dd8288661b4bb345f7b94e17b9b05f55031', 0, 1, 0, '2013-02-28 14:07:03', '2013-02-28 14:07:03'); args=['tester1', '', '', 'tester2@tester.com', 'sha256$Cdddd5PwpS6l$a9f08ced112c13090871d9a5f5b33dd8288661b4bb345f7b94e17b9b05f55031', False, True, False, u'2013-02-28 14:07:03', u'2013-02-28 14:07:03']
2013-02-28 14:07:03,073 DEBUG (0.000) SELECT (1) AS `a` FROM `auth_user` WHERE `auth_user`.`id` = 1 LIMIT 1; args=(1,)
2013-02-28 14:07:03,075 DEBUG (0.000) UPDATE `auth_user` SET `username` = 'tester1', `first_name` = '', `last_name` = '', `email` = 'tester2@tester.com', `passwor
Traceback (most recent call last):
File "/vagrant/vendor/src/django/django/core/servers/basehttp.py", line 280, in run
self.result = application(self.environ, self.start_response)
File "/vagrant/vendor/src/django/django/core/servers/basehttp.py", line 674, in __call__
return self.application(environ, start_response)
File "/vagrant/vendor/src/django/django/core/handlers/wsgi.py", line 248, in __call__
response = self.get_response(request)