This site is an archive; learn more about 8 years of OpenHatch.

[Devel] [Kaboom at OH] [celery at linode.openhatch.org] Error: Task mysite.search.tasks.LookAtOneFedoraBug (14ef8a53-88ce-42a5-91e9-3610bd512e6f): get() returned more than one Bug -- it returned 2! Lookup parameters were {'canonical_bug_link': 'https://bugzilla.redhat.com/show_bug.cgi?id=516783'}

mr_website at linode.openhatch.org mr_website at linode.openhatch.org
Wed Feb 17 05:01:44 UTC 2010


Task mysite.search.tasks.LookAtOneFedoraBug with id 14ef8a53-88ce-42a5-91e9-3610bd512e6f raised exception: get() returned more than one Bug -- it returned 2! Lookup parameters were {'canonical_bug_link': 'https://bugzilla.redhat.com/show_bug.cgi?id=516783'}


Task was called with args:[] kwargs:{'bug_id': 516783}.
The contents of the full traceback was:

Traceback (most recent call last):

  File "/home/deploy/milestone-a.buildout/eggs/celery-0.6.0-py2.5.egg/celery/worker/job.py", line 84, in jail
    result = func(*args, **kwargs)

  File "/home/deploy/milestone-a.buildout/eggs/celery-0.6.0-py2.5.egg/celery/task/base.py", line 123, in __call__
    return self.run(*args, **kwargs)

  File "/home/deploy/milestone-a.buildout/mysite/search/tasks/__init__.py", line 129, in run
    canonical_bug_link=bug_url)

  File "/home/deploy/milestone-a.buildout/parts/production/django/db/models/manager.py", line 120, in get
    return self.get_query_set().get(*args, **kwargs)

  File "/home/deploy/milestone-a.buildout/parts/production/django/db/models/query.py", line 307, in get
    % (self.model._meta.object_name, num, kwargs))

MultipleObjectsReturned: get() returned more than one Bug -- it returned 2! Lookup parameters were {'canonical_bug_link': 'https://bugzilla.redhat.com/show_bug.cgi?id=516783'}


-- 
Just thought I'd let you know!
celeryd at linode.openhatch.org.


More information about the Devel mailing list