Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#2815 closed defect (fixed)

Server error when forcing a build on a non-existing scheduler

Reported by: jpihl Owned by: Dustin J. Mitchell <dustin@…>
Priority: minor Milestone: 0.8.9
Version: master Keywords:
Cc:

Description

I get a server error when forcing a build on a non-existing scheduler.

exceptions.UnboundLocalError: local variable 'msg' referenced before assignment

The error happens here https://github.com/buildbot/buildbot/blob/master/master/buildbot/status/web/builder.py#L78

It seems that this loop (https://github.com/buildbot/buildbot/blob/master/master/buildbot/status/web/builder.py#L68) needs an else.

Change History (2)

comment:1 Changed 6 years ago by Dustin J. Mitchell <dustin@…>

  • Owner set to Dustin J. Mitchell <dustin@…>
  • Resolution set to fixed
  • Status changed from new to closed

In ab8bdd597396b555939bca3e607c43a421832e3f:

Add a message when no force scheduler is found

Fixes #2815.

comment:2 Changed 6 years ago by dustin

  • Milestone changed from undecided to 0.8.9

Fixed in 0.8.9.

Note: See TracTickets for help on using tickets.