Opened 3 years ago

#3615 new undecided

Unicode error in writeSequence in 0.8.14

Reported by: pmatos Owned by:
Priority: major Milestone: undecided
Version: 0.8.12 Keywords:
Cc:

Description

writeSequence in abstract.py is complaining about unicode but the error message is cryptic.

2016-09-27 12:42:40+0200 [-] Unhandled Error

Traceback (most recent call last):

File "/var/lib/gccbot/bbenv/local/lib/python2.7/site-packages/twisted/internet/defer.py", line 1241, in gotResult

_inlineCallbacks(r, g, deferred)

File "/var/lib/gccbot/bbenv/local/lib/python2.7/site-packages/twisted/internet/defer.py", line 1228, in _inlineCallbacks

deferred.callback(e.value)

File "/var/lib/gccbot/bbenv/local/lib/python2.7/site-packages/twisted/internet/defer.py", line 393, in callback

self._startRunCallbacks(result)

File "/var/lib/gccbot/bbenv/local/lib/python2.7/site-packages/twisted/internet/defer.py", line 501, in _startRunCallbacks

self._runCallbacks()

--- <exception caught here> ---

File "/var/lib/gccbot/bbenv/local/lib/python2.7/site-packages/twisted/internet/defer.py", line 587, in _runCallbacks

current.result = callback(current.result, *args, kw)

File "/var/lib/gccbot/bbenv/local/lib/python2.7/site-packages/buildbot/status/web/base.py", line 306, in redirect

request.write("see <a href='%s'>%s</a>" % (url, url))

File "/var/lib/gccbot/bbenv/local/lib/python2.7/site-packages/twisted/web/server.py", line 220, in write

http.Request.write(self, data)

File "/var/lib/gccbot/bbenv/local/lib/python2.7/site-packages/twisted/web/http.py", line 955, in write

self.channel.writeSequence(toChunk(data))

File "/var/lib/gccbot/bbenv/local/lib/python2.7/site-packages/twisted/web/http.py", line 2016, in writeSequence

self.transport.writeSequence(iovec)

File "/var/lib/gccbot/bbenv/local/lib/python2.7/site-packages/twisted/internet/abstract.py", line 376, in writeSequence

raise TypeError?("Data must not be unicode")

exceptions.TypeError?: Data must not be unicode

I am not sure what's wrong but I can easily trigger it when I use my ForceScheduler? with specific values in the forms.

Change History (0)

Note: See TracTickets for help on using tickets.