[Buildbot] #2815: Server error when forcing a build on a non-existing scheduler

Buildbot trac trac at buildbot.net
Fri May 30 09:24:04 UTC 2014


#2815: Server error when forcing a build on a non-existing scheduler
-------------------+-----------------------
Reporter:  jpihl   |      Owner:
    Type:  defect  |     Status:  new
Priority:  minor   |  Milestone:  undecided
 Version:  master  |   Keywords:
-------------------+-----------------------
 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.

--
Ticket URL: <http://trac.buildbot.net/ticket/2815>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the bugs mailing list