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

[Devel] Fwd: [Kaboom at OH] [celery at linode.openhatch.org] Error: Task profile.FetchPersonDataFromOhloh (5c2bb90b-2c3e-478b-ba32-3f53a332d351): {'url': 'UNKNOWN', 'code': 'UNKNOWN'}

Raphael Krut-Landau raphael at openhatch.org
Tue Nov 10 16:43:48 UTC 2009


These server errors are the result of a rather silly error we made
when trying to fix the last regression here. We knew that
profile/tasks/__init__.py was calling
customs.ohloh.get_contribution_info_by_username incorrectly, but we
changed the *wrong function* --
customs.ohloh.get_contribution_info_by_ohloh_username -- so we added
an error rather than fixing one.

This could have been caught with customs tests, but we *didn't run them*!

--Raffi.

---------- Forwarded message ----------
From:  <mr_website at linode.openhatch.org>
Date: Tue, Nov 10, 2009 at 1:55 AM
Subject: [Devel] [Kaboom at OH] [celery at linode.openhatch.org] Error: Task
profile.FetchPersonDataFromOhloh
(5c2bb90b-2c3e-478b-ba32-3f53a332d351): {'url': 'UNKNOWN', 'code':
'UNKNOWN'}
To: devel at lists.openhatch.org


Task profile.FetchPersonDataFromOhloh with id
5c2bb90b-2c3e-478b-ba32-3f53a332d351 raised exception: {'url':
'UNKNOWN', 'code': 'UNKNOWN'}


Task was called with args:(566L,) 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/profile/tasks/__init__.py",
line 151, in run
   raise ValueError, {'code': code, 'url': url}

ValueError: {'url': 'UNKNOWN', 'code': 'UNKNOWN'}


--
Just thought I'd let you know!
celeryd at linode.openhatch.org.
_______________________________________________
Devel mailing list
Devel at lists.openhatch.org
http://lists.openhatch.org/mailman/listinfo/devel


More information about the Devel mailing list