Issue 23813: RSS and Atom feeds of buildbot results are broken (original) (raw)

Issue23813

This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

This issue has been migrated to GitHub: https://github.com/python/cpython/issues/68001

classification

Title: RSS and Atom feeds of buildbot results are broken
Type: behavior Stage:
Components: Versions:

process

Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: martin.panter, pitrou, serhiy.storchaka
Priority: normal Keywords:

Created on 2015-03-30 18:35 by serhiy.storchaka, last changed 2022-04-11 14:58 by admin.

Messages (3)
msg239631 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2015-03-30 18:35
There are links to Atom and RSS feeds on https://www.python.org/dev/buildbot/: http://buildbot.python.org/all/rss http://buildbot.python.org/all/atom Both referred pages are broken. web.Server Traceback (most recent call last): exceptions.UnicodeDecodeError: 'utf8' codec can't decode byte 0xfc in position 39: invalid start byte /usr/lib/python2.7/dist-packages/twisted/web/server.py:189 in process 188 self._encoder = encoder 189 self.render(resrc) 190 except: /usr/lib/python2.7/dist-packages/twisted/web/server.py:238 in render 237 try: 238 body = resrc.render(self) 239 except UnsupportedMethod as e: /data/buildbot/lib/python/buildbot/status/web/feeds.py:55 in render 54 def render(self, request): 55 data = self.content(request) 56 request.setHeader("content-type", self.contentType) /data/buildbot/lib/python/buildbot/status/web/feeds.py:224 in content 223 for line in logdata.split('\n')[-30:]: 224 unilist.append(unicode(line,'utf-8')) 225 log_lines.extend(unilist) exceptions.UnicodeDecodeError: 'utf8' codec can't decode byte 0xfc in position 39: invalid start byte
msg265510 - (view) Author: Martin Panter (martin.panter) * (Python committer) Date: 2016-05-14 08:48
Both links seem to be working for me at the moment. Perhaps we can close this? Maybe the server was crashing due to specific content in the feeds (non-ASCII buildbot log output?), that not there now.
msg265516 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2016-05-14 10:52
Yes, there were commits with non-ASCII messages near that time: changeset: 95165:f6c6304c8193 user: Benjamin Peterson <benjamin@python.org> date: Tue Mar 24 12:12:44 2015 -0400 files: Doc/library/functions.rst description: change Σ to ν for obscure joke reasons https://twitter.com/ncoghlan_dev/status/579173053793353728 changeset: 94994:35a780a9a3b4 branch: 3.4 parent: 94991:5f49f79d5a83 user: Berker Peksag <berker.peksag@gmail.com> date: Sun Mar 15 01:51:56 2015 +0200 files: Lib/unittest/mock.py Lib/unittest/test/testmock/testmagicmethods.py Misc/NEWS description: Issue #23568: Add rdivmod support to MagicMock() objects. Patch by Håkan Lövdahl. I think the bug still exists and can be reproduced if make a commit with non-ASCII message.
History
Date User Action Args
2022-04-11 14:58:14 admin set github: 68001
2016-05-14 10:52:19 serhiy.storchaka set messages: +
2016-05-14 08:48:52 martin.panter set nosy: + martin.pantermessages: +
2015-03-30 18:35:51 serhiy.storchaka create