#2368: Error describing step
---------------------+-----------------------
Reporter:  pepsiman  |      Owner:
    Type:  defect    |     Status:  new
Priority:  major     |  Milestone:  undecided
 Version:  master    |   Keywords:
---------------------+-----------------------
 Using WithProperties in the command of a ShellCommand:
 {{{
 ShellCommand(command=[WithProperties("/usr/local/%(I2E)s/bin/i2e_server_stop"),
 "-force"])
 }}}
 results in an exception:
 {{{
 2012-09-12 12:44:57+0100 [-] Error describing step
         Traceback (most recent call last):
           File "buildbot/master/buildbot/process/build.py", line 393, in
 startNextStep
             d = defer.maybeDeferred(s.startStep, self.remote)
           File "lib/python2.7/site-packages/twisted/internet/defer.py",
 line 134, in maybeDeferred
             result = f(*args, **kw)
           File "buildbot/master/buildbot/process/buildstep.py", line 532,
 in startStep
             self.step_status.setText(self.describe(False))
           File "buildbot/master/buildbot/steps/shell.py", line 156, in
 describe
             desc = self._describe(done)
         --- <exception caught here> ---
           File "buildbot/master/buildbot/steps/shell.py", line 205, in
 _describe
             self._flattenList(tmp, x)
           File "buildbot/master/buildbot/steps/shell.py", line 149, in
 _flattenList
             for x in commands:
         exceptions.TypeError: iteration over non-sequence

 2012-09-12 12:44:57+0100 [-]
 ShellCommand.startCommand(cmd=<RemoteShellCommand
 '['/usr/local/i2e.64.HEAD/bin/i2e_server_stop', '-force']'>)
 }}}

-- 
Ticket URL: <http://trac.buildbot.net/ticket/2368>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Buildbot-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/buildbot-commits

Reply via email to