homu icon indicating copy to clipboard operation
homu copied to clipboard

UnboundLocalError

Open larsbergstrom opened this issue 9 years ago • 4 comments

We're getting the following error on some WebRender PRs:

Traceback (most recent call last):
  File "/home/servo/homu/_venv/bin/bottle.py", line 862, in _handle
    return route.call(**args)
  File "/home/servo/homu/_venv/bin/bottle.py", line 1732, in wrapper
    rv = callback(*a, **ka)
  File "/home/servo/homu/_venv/lib/python3.4/site-packages/homu/server.py", line 392, in github
    realtime=True,
  File "/home/servo/homu/_venv/lib/python3.4/site-packages/homu/main.py", line 392, in parse_commands
    if 'authzfail' in res.text:
UnboundLocalError: local variable 'res' referenced before assignment
^C

cc @Manishearth @edunham

larsbergstrom avatar Nov 18 '16 01:11 larsbergstrom

This is an example of one of the triggering PRs: https://github.com/servo/webrender/pull/571

larsbergstrom avatar Nov 18 '16 01:11 larsbergstrom

That's a response to @bors-servo force on a non-buildbot PR.

Manishearth avatar Nov 18 '16 01:11 Manishearth

Aha :-) Hrm, then I wonder why the tests / merging isn't happening for WR?

larsbergstrom avatar Nov 18 '16 01:11 larsbergstrom

No idea :(

Manishearth avatar Nov 18 '16 01:11 Manishearth