Ticket #1842 (closed defect: fixed)
logfiles apparently not allowed to be a plain string
| Reported by: | dabrahams | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 0.8.4 |
| Version: | 0.8.3p1 | Keywords: | |
| Cc: |
Description
==> twistd.log <==
File "/usr/lib/python2.6/site-packages/buildbot/steps/shell.py", line 389, in __init__
ShellCommand.__init__(self, workdir=workdir, **kwargs)
File "/usr/lib/python2.6/site-packages/buildbot/steps/shell.py", line 106, in __init__
LoggingBuildStep.__init__(self, **buildstep_kwargs)
File "/usr/lib/python2.6/site-packages/buildbot/process/buildstep.py", line 1056, in __init__
self.logfiles.update(logfiles)
exceptions.ValueError: dictionary update sequence element #0 has length 1; 2 is required
Attachments
Change History
comment:3 Changed 2 years ago by dabrahams
See attached, which works. Changing
logfiles = dict(testlog=dict(filename='test.log'))
to
logfiles = 'test.log'
makes it break
Note: See
TracTickets for help on using
tickets.
![[Buildbot Logo]](/chrome/site/header-text-transparent.png)

What was your config?