Closed Bug 1227551 Opened 6 years ago Closed 6 years ago

500 error when autoland reports results back to MozReview

Categories

(MozReview Graveyard :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: dminor, Assigned: mdoglio)

Details

Attachments

(1 file)

Traceback (most recent call last):
    File "/usr/lib64/python2.6/site-packages/newrelic-2.44.0.36/newrelic/hooks/framework_django.py", line 497, in wrapper return wrapped(*args, **kwargs)
    File "/data/www/reviewboard.mozilla.org/venv/lib/python2.6/site-packages/django/views/decorators/cache.py", line 52, in _wrapped_view_func response = view_func(request, *args, **kwargs)
    File "/data/www/reviewboard.mozilla.org/venv/lib/python2.6/site-packages/django/views/decorators/vary.py", line 19, in inner_func response = func(*args, **kwargs)
    File "/data/www/reviewboard.mozilla.org/venv/lib/python2.6/site-packages/djblets/webapi/resources.py", line 497, in __call__ request, method, view, api_format=api_format, *args, **kwargs)
    File "/data/www/reviewboard.mozilla.org/venv/lib/python2.6/site-packages/djblets/webapi/resources.py", line 568, in call_method_view return view(request, *args, **kwargs)
    File "/data/www/reviewboard.mozilla.org/venv/lib/python2.6/site-packages/djblets/webapi/resources.py", line 750, in post return self.create(*args, **kwargs)
    File "/data/www/reviewboard.mozilla.org/venv/lib/python2.6/site-packages/djblets/webapi/decorators.py", line 117, in _call return view_func(*args, **kwargs)
    File "/data/www/reviewboard.mozilla.org/venv/lib/python2.6/site-packages/djblets/webapi/decorators.py", line 117, in _call return view_func(*args, **kwargs)
    File "/data/www/reviewboard.mozilla.org/venv/lib/python2.6/site-packages/djblets/webapi/decorators.py", line 138, in _checklogin return view_func(*args, **kwargs)
    File "/data/www/reviewboard.mozilla.org/venv/lib/python2.6/site-packages/django/db/transaction.py", line 371, in inner return func(*args, **kwargs)
    File "/data/www/reviewboard.mozilla.org/venv/lib/python2.6/site-packages/mozreview-0.1.2a0-py2.6.egg/mozreview/autoland/resources.py", line 493, in create lock_id = get_autoland_lock_id(rr.id,
    UnboundLocalError: local variable 'rr' referenced before assignment
mozreview: fix error errors on autoland failure notifications (bug 1227551); r?dminor
Attachment #8691449 - Flags: review?(dminor)
Attachment #8691449 - Flags: review?(dminor) → review+
Comment on attachment 8691449 [details]
MozReview Request: mozreview: fix error errors on autoland failure notifications (bug 1227551); r=dminor

https://reviewboard.mozilla.org/r/26123/#review23513
Comment on attachment 8691449 [details]
MozReview Request: mozreview: fix error errors on autoland failure notifications (bug 1227551); r=dminor

Review request updated; see interdiff: https://reviewboard.mozilla.org/r/26123/diff/1-2/
Attachment #8691449 - Attachment description: MozReview Request: mozreview: fix error errors on autoland failure notifications (bug 1227551); r?dminor → MozReview Request: mozreview: fix error errors on autoland failure notifications (bug 1227551); r=dminor
Assignee: nobody → mdoglio
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Product: Developer Services → MozReview
You need to log in before you can comment on or make changes to this bug.