[issue2060] AttributeError in protocol.py
benallard
bugs at mercurial.selenic.com
Wed Feb 24 11:17:36 UTC 2010
New submission from benallard <benoit at aeteurope.nl>:
This is resulting in a Error 500, and it occurred several times over the
last week. Each time, I had to restart the server.
I am running an almost-up-to-date stable changeset.
[Wed Feb 24 11:30:32 2010] [error] [client 10.0.8.53] mod_wsgi (pid=20511):
Exception occurred processing WSGI script '/var/hg/hgwebdir.wsgi'.
[Wed Feb 24 11:30:32 2010] [error] [client 10.0.8.53] Traceback (most recent
call last):
[Wed Feb 24 11:30:32 2010] [error] [client 10.0.8.53] File
"/usr/local/lib/python2.4/site-packages/mercurial/hgweb/hgwebdir_mod.py",
line 103, in __call__
[Wed Feb 24 11:30:32 2010] [error] [client 10.0.8.53] return
self.run_wsgi(req)
[Wed Feb 24 11:30:32 2010] [error] [client 10.0.8.53] File
"/usr/local/lib/python2.4/site-packages/mercurial/hgweb/hgwebdir_mod.py",
line 160, in run_wsgi
[Wed Feb 24 11:30:32 2010] [error] [client 10.0.8.53] return
hgweb(repo).run_wsgi(req)
[Wed Feb 24 11:30:32 2010] [error] [client 10.0.8.53] File
"/usr/local/lib/python2.4/site-packages/mercurial/hgweb/hgweb_mod.py", line
123, in run_wsgi
[Wed Feb 24 11:30:32 2010] [error] [client 10.0.8.53] return
method(self.repo, req)
[Wed Feb 24 11:30:32 2010] [error] [client 10.0.8.53] File
"/usr/local/lib/python2.4/site-packages/mercurial/hgweb/protocol.py", line
196, in unbundle
[Wed Feb 24 11:30:32 2010] [error] [client 10.0.8.53] text =
error.replace(repo.root + os.path.sep, '')
[Wed Feb 24 11:30:32 2010] [error] [client 10.0.8.53] AttributeError:
'NoneType' object has no attribute 'replace'
I have a buildbot hook sending lot of twisted warnings about Signals in the
logs also, might be related. I don't think so though.
----------
messages: 11872
nosy: benallard, cyanite, djc
priority: urgent
status: unread
title: AttributeError in protocol.py
topic: 1.4, hgweb, regression
____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue2060>
____________________________________________________
More information about the Mercurial-devel
mailing list