[Buildbot-commits] [Buildbot] #2546: Error message about buildbot/revlinks.py : exceptions.TypeError: expected string or buffer in twistd.log
Buildbot trac
trac at buildbot.net
Fri Aug 9 07:22:59 UTC 2013
#2546: Error message about buildbot/revlinks.py : exceptions.TypeError: expected
string or buffer in twistd.log
--------------------+-----------------------
Reporter: chaica | Owner:
Type: defect | Status: new
Priority: major | Milestone: undecided
Version: 0.8.6p1 | Keywords: hg
--------------------+-----------------------
hi guys, I do have a weird bug with buildbot 0.8.6p1 from Debian Wheezy, I
can start bot buildbot master and buildbot slave but in my log when the
mercurial hook is launched I do have the following error in the twistd.log
of the buildbot master.
{{{
2013-08-09 01:27:57+0200 [HTTPChannel,3,82.67.197.68] Unhandled Error
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/twisted/web/http.py",
line 773, in requestReceived
self.process()
File "/usr/lib/python2.7/dist-packages/twisted/web/server.py",
line 132, in process
self.render(resrc)
File "/usr/lib/python2.7/dist-packages/twisted/web/server.py",
line 167, in render
body = resrc.render(self)
File "/usr/lib/python2.7/dist-
packages/buildbot/status/web/base.py", line 326, in render
d = defer.maybeDeferred(lambda : self.content(request, ctx))
--- <exception caught here> ---
File "/usr/lib/python2.7/dist-
packages/twisted/internet/defer.py", line 134, in maybeDeferred
result = f(*args, **kw)
File "/usr/lib/python2.7/dist-
packages/buildbot/status/web/base.py", line 326, in <lambda>
d = defer.maybeDeferred(lambda : self.content(request, ctx))
File "/usr/lib/python2.7/dist-
packages/buildbot/status/web/build.py", line 266, in content
return template.render(**cxt)
File "/usr/lib/python2.7/dist-packages/jinja2/environment.py",
line 894, in render
return self.environment.handle_exception(exc_info, True)
File "/usr/lib/python2.7/dist-
packages/buildbot/status/web/templates/build.html", line 3, in top-level
template code
{% from "change_macros.html" import change with context %}
File "/usr/lib/python2.7/dist-
packages/buildbot/status/web/templates/layout.html", line 52, in top-level
template code
{%- block barecontent -%}
File "/usr/lib/python2.7/dist-
packages/buildbot/status/web/templates/layout.html", line 62, in block
"barecontent"
{%- block content -%}
File "/usr/lib/python2.7/dist-
packages/buildbot/status/web/templates/build.html", line 213, in block
"content"
{{ change(c.asDict()) }}
File "/usr/lib/python2.7/dist-
packages/buildbot/status/web/templates/change_macros.html", line 37, in
template
{%- else -%}{{ c.rev|revlink(c.repository) }} {%- endif
-%}</td>
File "/usr/lib/python2.7/dist-
packages/buildbot/status/web/base.py", line 659, in filter
url = url_f(rev, repo)
File "/usr/lib/python2.7/dist-
packages/buildbot/status/web/base.py", line 567, in <lambda>
return lambda rev, repo: replace(rev, repo)
File "/usr/lib/python2.7/dist-packages/buildbot/revlinks.py",
line 54, in __call__
url = revlink(rev, repo)
File "/usr/lib/python2.7/dist-packages/buildbot/revlinks.py",
line 26, in __call__
m = url.match(repo)
exceptions.TypeError: expected string or buffer
}}}
--
Ticket URL: <http://trac.buildbot.net/ticket/2546>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
More information about the Commits
mailing list