[Buildbot] #3516: Windows newlines in build logs are interpreted as two consecutive newlines
Buildbot trac
trac at buildbot.net
Sun Apr 17 20:21:37 UTC 2016
#3516: Windows newlines in build logs are interpreted as two consecutive newlines
---------------------+------------------------
Reporter: ngladitz | Owner:
Type: defect | Status: new
Priority: major | Milestone: undecided
Version: 0.9.0b7 | Resolution:
Keywords: |
---------------------+------------------------
Comment (by ngladitz):
Replying to [comment:4 tardyp]:
Thanks. I added "print repr(data)" in the context you mentioned.
I get:
{{{'Line1\r\nLine2\r\nLine3\r\r\nLine4\r\r\nLine5\r\nLine6\r\n'}}}
So apparently something translates "\n" to "\r\n".
Less fortunately it also translates "\r\n" to "\r\r\n" ... which I think
then is translated to "\n\n" by the newline folding you pointed out
earlier.
I am not really familiar with python or the buildbot code base but what
ever calls "outReceived" is I assume external to buildbot(?) so I am not
sure where to go from there.
--
Ticket URL: <http://trac.buildbot.net/ticket/3516#comment:5>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
More information about the bugs
mailing list