Opened 6 years ago

Closed 6 years ago

#2117 closed defect (fixed)

Error when forcing build through IRC

Reported by: lotodore Owned by:
Priority: major Milestone: 0.8.6
Version: 0.8.4p2 Keywords: irc


After updating to 0.8.5, I got an error when forcing a build through IRC. The error looks like this on IRC:

[22:29:58] <Lotodore> build: force build proj [22:29:58] <build> Something bad happened (see logs): <type 'exceptions.AttributeError?'>

The twistd log file shows an error like this:

A workaround, as explained by djmitche on IRC, is to change the line which causes the error (buildbot/status/, line 524, in command_FORCE) to d = bc.submitBuildRequest(ss, reason) (i.e. deleting the props= from that line).

Change History (2)

comment:1 Changed 6 years ago by dustin

Logfile in the pastebin is

2011-09-25 13:17:49+0200 [IrcStatusBot,client] Unhandled Error
        Traceback (most recent call last):
          File "/home/nohero/tmp/buildbot/sandbox/lib/python2.6/site-packages/twisted/words/protocols/", line 2305, in lineReceived
            self.handleCommand(command, prefix, params)
          File "/home/nohero/tmp/buildbot/sandbox/lib/python2.6/site-packages/twisted/words/protocols/", line 2349, in handleCommand
            method(prefix, params)
          File "/home/nohero/tmp/buildbot/sandbox/lib/python2.6/site-packages/twisted/words/protocols/", line 1833, in irc_PRIVMSG
            self.privmsg(user, channel, message)
          File "/home/nohero/tmp/buildbot/sandbox/lib/python2.6/site-packages/buildbot/status/", line 864, in privmsg
            contact.handleMessage(message, user)
        --- <exception caught here> ---
          File "/home/nohero/tmp/buildbot/sandbox/lib/python2.6/site-packages/buildbot/status/", line 754, in handleMessage
            meth(args.strip(), who)
          File "/home/nohero/tmp/buildbot/sandbox/lib/python2.6/site-packages/buildbot/status/", line 524, in command_FORCE
            d = bc.submitBuildRequest(ss, reason, props=properties.asDict())
        exceptions.AttributeError: 'NoneType' object has no attribute 'asDict'

comment:2 Changed 6 years ago by dustin

  • Keywords irc added
  • Milestone changed from undecided to 0.8.6
  • Resolution set to fixed
  • Status changed from new to closed
commit 1fed964da6b1c15e409dacb6ce0c9585e3669f3c
Author: Dustin J. Mitchell <>
Date:   Sun Sep 25 10:23:59 2011 -0500

    fix error when forcing build from IRC with no properties defined (in tutorial)
Note: See TracTickets for help on using tickets.