Closed
Bug 771706
Opened 12 years ago
Closed 12 years ago
[traceback] task: reviews.models.add - spam.add: AttributeError: 'NoneType' object has no attribute 'add'
Categories
(addons.mozilla.org Graveyard :: Public Pages, defect, P1)
Tracking
(Not tracked)
VERIFIED
FIXED
2012-07-19
People
(Reporter: andy+bugzilla, Assigned: cvan)
References
Details
Jul 6 15:46:41 celery2.dev.addons.phx1.mozilla.com: [][] z.celery:ERROR Celery TASK exception: AttributeError: 'NoneType' object has no attribute 'add' :/data/www/addons-dev.allizom.org/zamboni/vendor/src/nuggets/celeryutils.py:46#012Traceback (most recent call last):#012 File "/data/www/addons-dev.allizom.org/zamboni/vendor/src/nuggets/celeryutils.py", line 35, in wrapped#012 return fun(*args, **kw)#012 File "/data/www/addons-dev.allizom.org/zamboni/apps/reviews/models.py", line 209, in check_spam#012 spam.add(review, 'numbers')#012 File "/data/www/addons-dev.allizom.org/zamboni/apps/reviews/models.py", line 185, in add#012 reasonset.add(reason)#012AttributeError: 'NoneType' object has no attribute 'add' Jul 6 15:46:42 celery2.dev.addons.phx1.mozilla.com: [][] celery:ERROR Task reviews.models.check_spam[ed79679d-2c3c-45b7-85b4-0bcb13f38a96] raised exception: AttributeError("'NoneType' object has no attribute 'add'",) :/data/www/addons-dev.allizom.org/zamboni/vendor/lib/python/celery/worker/job.py:393#012Traceback (most recent call last):#012 File "/data/www/addons-dev.allizom.org/zamboni/vendor/lib/python/celery/execute/trace.py", line 153, in trace_task#012 R = retval = task(*args, **kwargs)#012 File "/data/www/addons-dev.allizom.org/zamboni/vendor/src/nuggets/celeryutils.py", line 35, in wrapped#012 return fun(*args, **kw)#012 File "/data/www/addons-dev.allizom.org/zamboni/apps/reviews/models.py", line 209, in check_spam#012 spam.add(review, 'numbers')#012 File "/data/www/addons-dev.allizom.org/zamboni/apps/reviews/models.py", line 185, in add#012 reasonset.add(reason)#012AttributeError: 'NoneType' object has no attribute 'add'
Assignee | ||
Comment 1•12 years ago
|
||
My money's on https://github.com/mozilla/zamboni/commit/2d47491b
Assignee | ||
Comment 2•12 years ago
|
||
http://sentry.dmz.phx1.mozilla.com/addons-dev/group/1365/
Assignee | ||
Comment 4•12 years ago
|
||
Stacktrace (most recent call last): File "django/core/handlers/base.py", line 111, in get_response response = callback(request, *callback_args, **callback_kwargs) File "compat/views.py", line 61, in index usage_addons, usage_total = usage_stats(request, compat, app, binary) File "compat/views.py", line 108, in usage_stats return addons, CompatTotals.objects.get(app=app).total NameError: global name 'CompatTotals' is not defined
Summary: [traceback] on check_spam → [traceback] NameError: global name 'CompatTotals' is not defined on check_spam
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → xwraithanx
Component: Code Quality → Public Pages
Product: Marketplace → addons.mozilla.org
Target Milestone: --- → 2012-07-12
Updated•12 years ago
|
Priority: -- → P1
Comment 5•12 years ago
|
||
changed name to reflect andym's comment
Summary: [traceback] NameError: global name 'CompatTotals' is not defined on check_spam → task: reviews.models.add - spam.add: AttributeError: 'NoneType' object has no attribute 'add'
Assignee | ||
Updated•12 years ago
|
Summary: task: reviews.models.add - spam.add: AttributeError: 'NoneType' object has no attribute 'add' → [traceback] task: reviews.models.add - spam.add: AttributeError: 'NoneType' object has no attribute 'add'
Assignee | ||
Updated•12 years ago
|
Target Milestone: 2012-07-12 → 2012-07-19
Assignee | ||
Comment 6•12 years ago
|
||
https://github.com/mozilla/zamboni/commit/6cec953
Assignee: xwraithanx → cvan
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•8 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•