[Buildbot] #3643: It seems that HttpStatusPush (silently) switched from application/x-www-form-urlencoded to application/json

Buildbot trac trac at buildbot.net
Thu Nov 3 10:22:02 UTC 2016


#3643: It seems that HttpStatusPush (silently) switched from application/x-www-
form-urlencoded to application/json
----------------------+------------------------
Reporter:  Ben        |       Owner:
    Type:  undecided  |      Status:  new
Priority:  critical   |   Milestone:  undecided
 Version:  0.9.1      |  Resolution:
Keywords:             |
----------------------+------------------------

Comment (by Ben):

 A direct consequence of that is that without `format_fn`, the normal
 HttpStatusPush is not able to send any message:

 {{{
 2016-11-03 11:19:19+0100 [-] while invoking <bound method
 HttpStatusPush.buildFinished of <buildbot.reporters.http.HttpStatusPush
 object at 0x7f28e6093d50>>
         Traceback (most recent call last):
         Failure: exceptions.TypeError: datetime.datetime(2016, 11, 3, 10,
 19, 19, 4647, tzinfo=tzutc()) is not JSON serializable
 }}}

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


More information about the bugs mailing list