[Buildbot-commits] [Buildbot] #1746: "<type 'exceptions.TypeError'>: sequence item 0: expected string, list found" errors

Buildbot nobody at buildbot.net
Wed Jan 5 12:55:32 UTC 2011


#1746: "<type 'exceptions.TypeError'>: sequence item 0: expected string, list
found" errors
----------------------------+--------------------
Reporter:  fatman2          |       Owner:
    Type:  support-request  |      Status:  new
Priority:  major            |   Milestone:  0.8.4
 Version:  0.7.12           |  Resolution:
Keywords:                   |
----------------------------+--------------------

Comment (by fatman2):

 And there it is in line 7... I do indeed have a list of lists instead of a
 list of strings.

 I know what this is... it's user error! Here's a snippet from my custom
 extensions.py:

 {{{
 # run test suite
 class TestStep(ShellCommand):
    name = "testing complete"
    description = ["running tests"]
    descriptionDone = [description]
 }}}

 That last line should be:

 {{{
    descriptionDone = [name]
 }}}

 because name is a string, and description is a list.

 Good job on the troubleshooting Dustin, you got it in one. Thanks.

-- 
Ticket URL: <http://trac.buildbot.net/ticket/1746#comment:8>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the Commits mailing list