[Buildbot-commits] [Buildbot] #2608: Fail to run on OS X due to locale
Buildbot trac
trac at buildbot.net
Fri Dec 20 14:35:27 UTC 2013
#2608: Fail to run on OS X due to locale
-----------------------+--------------------
Reporter: hanxue_dev | Owner:
Type: defect | Status: new
Priority: major | Milestone: 0.8.9
Version: 0.8.8 | Resolution:
Keywords: encoding |
-----------------------+--------------------
Changes (by dustin):
* keywords: => encoding
* milestone: undecided => 0.8.9
Comment:
Raw text of the error:
{{{
2013-12-19 15:04:32+0800 [-] Log opened.
2013-12-19 15:04:32+0800 [-] twistd 13.2.0
(/private/tmp/buildbot/sandbox/bin/python 2.6.8) starting up.
2013-12-19 15:04:32+0800 [-] reactor class:
twisted.internet.selectreactor.SelectReactor.
2013-12-19 15:04:32+0800 [-] Starting BuildMaster -- buildbot.version:
0.8.8
2013-12-19 15:04:32+0800 [-] Loading configuration from
'/private/tmp/buildbot/master/master.cfg'
2013-12-19 15:04:32+0800 [-] Setting up database with URL
'sqlite:///state.sqlite'
2013-12-19 15:04:32+0800 [-] setting database journal mode to 'wal'
2013-12-19 15:04:32+0800 [-] adding 1 new changesources, removing 0
2013-12-19 15:04:32+0800 [-] gitpoller: using workdir
'/private/tmp/buildbot/master/gitpoller-workdir'
2013-12-19 15:04:32+0800 [-] adding 1 new slaves, removing 0
2013-12-19 15:04:32+0800 [-] adding 1 new builders, removing 0
2013-12-19 15:04:32+0800 [-] trying to load status pickle from
/private/tmp/buildbot/master/runtests/builder
2013-12-19 15:04:32+0800 [-] no saved status pickle, creating a new one
2013-12-19 15:04:32+0800 [-] added builder runtests in category
2013-12-19 15:04:32+0800 [-] PBServerFactory starting on 9989
2013-12-19 15:04:32+0800 [-] Starting factory
<twisted.spread.pb.PBServerFactory instance at 0x10d12b7e8>
2013-12-19 15:04:32+0800 [-] adding scheduler 'all'
2013-12-19 15:04:32+0800 [-] adding scheduler 'force'
2013-12-19 15:04:32+0800 [-] WebStatus using
(/private/tmp/buildbot/master/public_html)
2013-12-19 15:04:32+0800 [-] RotateLogSite starting on 8010
2013-12-19 15:04:32+0800 [-] Starting factory
<buildbot.status.web.baseweb.RotateLogSite instance at 0x10d13abd8>
2013-12-19 15:04:32+0800 [-] Setting up http.log rotating 10 files of
10000000 bytes each
2013-12-19 15:04:32+0800 [-] BuildMaster is running
2013-12-19 15:04:56+0800 [HTTPChannel,0,127.0.0.1] Unhandled Error
Traceback (most recent call last):
File "/private/tmp/buildbot/sandbox/lib/python2.6/site-
packages/Twisted-13.2.0-py2.6-macosx-10.9-intel.egg/twisted/protocols/basic.py",
line 571, in dataReceived
why = self.lineReceived(line)
File "/private/tmp/buildbot/sandbox/lib/python2.6/site-
packages/Twisted-13.2.0-py2.6-macosx-10.9-intel.egg/twisted/web/http.py",
line 1655, in lineReceived
self.allContentReceived()
File "/private/tmp/buildbot/sandbox/lib/python2.6/site-
packages/Twisted-13.2.0-py2.6-macosx-10.9-intel.egg/twisted/web/http.py",
line 1730, in allContentReceived
req.requestReceived(command, path, version)
File "/private/tmp/buildbot/sandbox/lib/python2.6/site-
packages/Twisted-13.2.0-py2.6-macosx-10.9-intel.egg/twisted/web/http.py",
line 826, in requestReceived
self.process()
--- <exception caught here> ---
File "/private/tmp/buildbot/sandbox/lib/python2.6/site-
packages/Twisted-13.2.0-py2.6-macosx-10.9-intel.egg/twisted/web/server.py",
line 189, in process
self.render(resrc)
File "/private/tmp/buildbot/sandbox/lib/python2.6/site-
packages/Twisted-13.2.0-py2.6-macosx-10.9-intel.egg/twisted/web/server.py",
line 238, in render
body = resrc.render(self)
File "/private/tmp/buildbot/sandbox/lib/python2.6/site-
packages/buildbot-0.8.8-py2.6.egg/buildbot/status/web/base.py", line 324,
in render
ctx = self.getContext(request)
File "/private/tmp/buildbot/sandbox/lib/python2.6/site-
packages/buildbot-0.8.8-py2.6.egg/buildbot/status/web/base.py", line 198,
in getContext
locale_enc = locale.getdefaultlocale()[1]
File "/private/tmp/buildbot/sandbox/lib/python2.6/locale.py",
line 478, in getdefaultlocale
return _parse_localename(localename)
File "/private/tmp/buildbot/sandbox/lib/python2.6/locale.py",
line 410, in _parse_localename
raise ValueError, 'unknown locale: %s' % localename
exceptions.ValueError: unknown locale: UTF-8
2013-12-19 15:14:34+0800 [-] gitpoller: processing 0 changes: [] from
"git://github.com/buildbot/pyflakes.git"
2013-12-19 15:14:37+0800 [HTTPChannel,2,127.0.0.1] Unhandled Error
Traceback (most recent call last):
File "/private/tmp/buildbot/sandbox/lib/python2.6/site-
packages/Twisted-13.2.0-py2.6-macosx-10.9-intel.egg/twisted/protocols/basic.py",
line 571, in dataReceived
why = self.lineReceived(line)
File "/private/tmp/buildbot/sandbox/lib/python2.6/site-
packages/Twisted-13.2.0-py2.6-macosx-10.9-intel.egg/twisted/web/http.py",
line 1655, in lineReceived
self.allContentReceived()
File "/private/tmp/buildbot/sandbox/lib/python2.6/site-
packages/Twisted-13.2.0-py2.6-macosx-10.9-intel.egg/twisted/web/http.py",
line 1730, in allContentReceived
req.requestReceived(command, path, version)
File "/private/tmp/buildbot/sandbox/lib/python2.6/site-
packages/Twisted-13.2.0-py2.6-macosx-10.9-intel.egg/twisted/web/http.py",
line 826, in requestReceived
self.process()
--- <exception caught here> ---
File "/private/tmp/buildbot/sandbox/lib/python2.6/site-
packages/Twisted-13.2.0-py2.6-macosx-10.9-intel.egg/twisted/web/server.py",
line 189, in process
self.render(resrc)
File "/private/tmp/buildbot/sandbox/lib/python2.6/site-
packages/Twisted-13.2.0-py2.6-macosx-10.9-intel.egg/twisted/web/server.py",
line 238, in render
body = resrc.render(self)
File "/private/tmp/buildbot/sandbox/lib/python2.6/site-
packages/buildbot-0.8.8-py2.6.egg/buildbot/status/web/base.py", line 324,
in render
ctx = self.getContext(request)
File "/private/tmp/buildbot/sandbox/lib/python2.6/site-
packages/buildbot-0.8.8-py2.6.egg/buildbot/status/web/base.py", line 198,
in getContext
locale_enc = locale.getdefaultlocale()[1]
File "/private/tmp/buildbot/sandbox/lib/python2.6/locale.py",
line 478, in getdefaultlocale
return _parse_localename(localename)
File "/private/tmp/buildbot/sandbox/lib/python2.6/locale.py",
line 410, in _parse_localename
raise ValueError, 'unknown locale: %s' % localename
exceptions.ValueError: unknown locale: UTF-8
2013-12-19 15:19:33+0800 [-] gitpoller: processing 0 changes: [] from
"git://github.com/buildbot/pyflakes.git"
2013-12-19 15:24:33+0800 [-] gitpoller: processing 0 changes: [] from
"git://github.com/buildbot/pyflakes.git"
2013-12-19 15:29:33+0800 [-] gitpoller: processing 0 changes: [] from
"git://github.com/buildbot/pyflakes.git"
2013-12-19 15:34:33+0800 [-] gitpoller: processing 0 changes: [] from
"git://github.com/buildbot/pyflakes.git"
2013-12-19 15:39:34+0800 [-] gitpoller: processing 0 changes: [] from
"git://github.com/buildbot/pyflakes.git"
2013-12-19 15:44:33+0800 [-] gitpoller: processing 0 changes: [] from
"git://github.com/buildbot/pyflakes.git"
2013-12-19 15:49:33+0800 [-] gitpoller: processing 0 changes: [] from
"git://github.com/buildbot/pyflakes.git"
2013-12-19 15:54:33+0800 [-] gitpoller: processing 0 changes: [] from
"git://github.com/buildbot/pyflakes.git"
2013-12-19 15:59:33+0800 [-] gitpoller: processing 0 changes: [] from
"git://github.com/buildbot/pyflakes.git"
2013-12-19 16:04:33+0800 [-] gitpoller: processing 0 changes: [] from
"git://github.com/buildbot/pyflakes.git"
2013-12-19 16:09:33+0800 [-] gitpoller: processing 0 changes: [] from
"git://github.com/buildbot/pyflakes.git"
2013-12-19 16:14:34+0800 [-] gitpoller: processing 0 changes: [] from
"git://github.com/buildbot/pyflakes.git"
2013-12-19 16:16:58+0800 [HTTPChannel,3,127.0.0.1] Unhandled Error
Traceback (most recent call last):
File "/private/tmp/buildbot/sandbox/lib/python2.6/site-
packages/Twisted-13.2.0-py2.6-macosx-10.9-intel.egg/twisted/protocols/basic.py",
line 571, in dataReceived
why = self.lineReceived(line)
File "/private/tmp/buildbot/sandbox/lib/python2.6/site-
packages/Twisted-13.2.0-py2.6-macosx-10.9-intel.egg/twisted/web/http.py",
line 1655, in lineReceived
self.allContentReceived()
File "/private/tmp/buildbot/sandbox/lib/python2.6/site-
packages/Twisted-13.2.0-py2.6-macosx-10.9-intel.egg/twisted/web/http.py",
line 1730, in allContentReceived
req.requestReceived(command, path, version)
File "/private/tmp/buildbot/sandbox/lib/python2.6/site-
packages/Twisted-13.2.0-py2.6-macosx-10.9-intel.egg/twisted/web/http.py",
line 826, in requestReceived
self.process()
--- <exception caught here> ---
File "/private/tmp/buildbot/sandbox/lib/python2.6/site-
packages/Twisted-13.2.0-py2.6-macosx-10.9-intel.egg/twisted/web/server.py",
line 189, in process
self.render(resrc)
File "/private/tmp/buildbot/sandbox/lib/python2.6/site-
packages/Twisted-13.2.0-py2.6-macosx-10.9-intel.egg/twisted/web/server.py",
line 238, in render
body = resrc.render(self)
File "/private/tmp/buildbot/sandbox/lib/python2.6/site-
packages/buildbot-0.8.8-py2.6.egg/buildbot/status/web/base.py", line 324,
in render
ctx = self.getContext(request)
File "/private/tmp/buildbot/sandbox/lib/python2.6/site-
packages/buildbot-0.8.8-py2.6.egg/buildbot/status/web/base.py", line 198,
in getContext
locale_enc = locale.getdefaultlocale()[1]
File "/private/tmp/buildbot/sandbox/lib/python2.6/locale.py",
line 478, in getdefaultlocale
return _parse_localename(localename)
File "/private/tmp/buildbot/sandbox/lib/python2.6/locale.py",
line 410, in _parse_localename
raise ValueError, 'unknown locale: %s' % localename
exceptions.ValueError: unknown locale: UTF-8
2013-12-19 16:17:01+0800 [HTTPChannel,3,127.0.0.1] Unhandled Error
Traceback (most recent call last):
File "/private/tmp/buildbot/sandbox/lib/python2.6/site-
packages/Twisted-13.2.0-py2.6-macosx-10.9-intel.egg/twisted/protocols/basic.py",
line 571, in dataReceived
why = self.lineReceived(line)
File "/private/tmp/buildbot/sandbox/lib/python2.6/site-
packages/Twisted-13.2.0-py2.6-macosx-10.9-intel.egg/twisted/web/http.py",
line 1655, in lineReceived
self.allContentReceived()
File "/private/tmp/buildbot/sandbox/lib/python2.6/site-
packages/Twisted-13.2.0-py2.6-macosx-10.9-intel.egg/twisted/web/http.py",
line 1730, in allContentReceived
req.requestReceived(command, path, version)
File "/private/tmp/buildbot/sandbox/lib/python2.6/site-
packages/Twisted-13.2.0-py2.6-macosx-10.9-intel.egg/twisted/web/http.py",
line 826, in requestReceived
self.process()
--- <exception caught here> ---
File "/private/tmp/buildbot/sandbox/lib/python2.6/site-
packages/Twisted-13.2.0-py2.6-macosx-10.9-intel.egg/twisted/web/server.py",
line 189, in process
self.render(resrc)
File "/private/tmp/buildbot/sandbox/lib/python2.6/site-
packages/Twisted-13.2.0-py2.6-macosx-10.9-intel.egg/twisted/web/server.py",
line 238, in render
body = resrc.render(self)
File "/private/tmp/buildbot/sandbox/lib/python2.6/site-
packages/buildbot-0.8.8-py2.6.egg/buildbot/status/web/base.py", line 324,
in render
ctx = self.getContext(request)
File "/private/tmp/buildbot/sandbox/lib/python2.6/site-
packages/buildbot-0.8.8-py2.6.egg/buildbot/status/web/base.py", line 198,
in getContext
locale_enc = locale.getdefaultlocale()[1]
File "/private/tmp/buildbot/sandbox/lib/python2.6/locale.py",
line 478, in getdefaultlocale
return _parse_localename(localename)
File "/private/tmp/buildbot/sandbox/lib/python2.6/locale.py",
line 410, in _parse_localename
raise ValueError, 'unknown locale: %s' % localename
exceptions.ValueError: unknown locale: UTF-8
2013-12-19 16:19:33+0800 [-] gitpoller: processing 0 changes: [] from
"git://github.com/buildbot/pyflakes.git"
2013-12-19 16:24:35+0800 [-] gitpoller: processing 0 changes: [] from
"git://github.com/buildbot/pyflakes.git"
}}}
--
Ticket URL: <http://trac.buildbot.net/ticket/2608#comment:1>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
More information about the Commits
mailing list