[Devel] [Kaboom at OH] [celery at linode.openhatch.org] Error: Task mysite.search.tasks.GrabMiroBugs (91f4617f-6512-4e3b-b21a-ce70292ac941): global name 'bug_elt' is not defined
Asheesh Laroia
asheesh at openhatch.org
Wed Nov 18 05:06:14 UTC 2009
Excerpts from mr_website's message of Wed Nov 18 02:44:06 UTC 2009:
> Task mysite.search.tasks.GrabMiroBugs with id
> 91f4617f-6512-4e3b-b21a-ce70292ac941 raised exception: global name 'bug_elt' is
> not defined
>
>
> Task was called with args:[] kwargs:{}.
> 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 26, in run
> mysite.customs.miro.grab_miro_bugs()
>
> File "/home/deploy/milestone-a.buildout/mysite/customs/miro.py", line 128, in
> grab_miro_bugs
> bug = xml2bug_object(xml_fd)
>
> File "/home/deploy/milestone-a.buildout/mysite/customs/miro.py", line 53, in
> xml2bug_object
> return bug_elt2bug_object(bug_elt, canonical_bug_link_format_string,
> gen_miro_project)
>
> NameError: global name 'bug_elt' is not defined
>
The tests also report this as broken. I will fix it in the morning.
More information about the Devel
mailing list