[Buildbot-devel] still can't reliably attach patches, get UnicodeDecodeError

Dan Kegel dank at kegel.com
Sun Sep 18 19:03:50 UTC 2011


I'm running buildbot from git, up to date as of yesterday,
and I'm still suffering crashes when patches are attached
to status emails.  Guess I'll have to turn that feature off
for now.  Here's the backtrace:

        Traceback (most recent call last):
          File "/home/bob/winemaster.dir/sandbox/buildbot-git/master/buildbot/status/build.py",
line 290, in buildFinished
            w.callback(self)
          File "/home/bob/winemaster.dir/sandbox/lib/python2.7/site-packages/twisted/internet/defer.py",
line 361, in callback
            self._startRunCallbacks(result)
          File "/home/bob/winemaster.dir/sandbox/lib/python2.7/site-packages/twisted/internet/defer.py",
line 455, in _startRunCallbacks
            self._runCallbacks()
          File "/home/bob/winemaster.dir/sandbox/lib/python2.7/site-packages/twisted/internet/defer.py",
line 542, in _runCallbacks
            current.result = callback(current.result, *args, **kw)
        --- <exception caught here> ---
          File "/home/bob/winemaster.dir/sandbox/buildbot-git/master/buildbot/status/builder.py",
line 535, in _buildFinished
            w.buildFinished(name, s, results)
          File "/home/bob/winemaster.dir/sandbox/buildbot-git/master/buildbot/status/mail.py",
line 412, in buildFinished
            return self.buildMessage(name, [build], results)
          File "/home/bob/winemaster.dir/sandbox/buildbot-git/master/buildbot/status/mail.py",
line 618, in buildMessage
            results, builds, patches, logs)
          File "/home/bob/winemaster.dir/sandbox/buildbot-git/master/buildbot/status/mail.py",
line 520, in createEmail
            text = msgdict['body'].encode(ENCODING)
        exceptions.UnicodeDecodeError: 'ascii' codec can't decode byte
0xe2 in position 582: ordinal not in range(128)

Not sure what it was unhappy about, the patch it was trying to attach is
http://buildbot.kegel.com:8010/builders/runtests-default/builds/29/steps/git/logs/patch/text
aka
http://source.winehq.org/patches/data/79014
- Dan




More information about the devel mailing list