Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in calculate_updates task #613

Open
mejymejy opened this issue Oct 10, 2013 · 0 comments
Open

Error in calculate_updates task #613

mejymejy opened this issue Oct 10, 2013 · 0 comments
Labels
Milestone

Comments

@mejymejy
Copy link

Found this in the celery log on the server:

[2013-10-10 17:02:46,957: ERROR/MainProcess] Task bamboo.core.calculator.calculate_updates[ba0045a9-ef65-40a2-a2e0-e80264c443e0] raised exception: TypeError("'NoneType' object has no attribute '__getitem__'",)
Traceback (most recent call last):
  File "/home/bamboo/.virtualenvs/bamboo/local/lib/python2.7/site-packages/celery/task/trace.py", line 228, in trace_task
    R = retval = fun(*args, **kwargs)
  File "/home/bamboo/.virtualenvs/bamboo/local/lib/python2.7/site-packages/celery/task/trace.py", line 415, in __protected_call__
    return self.run(*args, **kwargs)
  File "/var/www/bamboo/current/bamboo/core/calculator.py", line 77, in calculate_updates
    __ensure_ready(dataset, update_id)
  File "/var/www/bamboo/current/bamboo/core/calculator.py", line 240, in __ensure_ready
    update_id and dataset.has_pending_updates(update_id)):
  File "/var/www/bamboo/current/bamboo/models/dataset.py", line 429, in has_pending_updates
    pending_updates = self.pending_updates
  File "/var/www/bamboo/current/bamboo/models/dataset.py", line 165, in pending_updates
    return self.record[self.PENDING_UPDATES]
TypeError: 'NoneType' object has no attribute '__getitem__'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant