[Bug 3807] New: TypeError: 'NoneType' object is not callable WSGI clone

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Mon Feb 4 22:41:48 CST 2013


          Priority: urgent
            Bug ID: 3807
          Keywords: regression
                CC: mads at kiilerich.com, mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: TypeError: 'NoneType' object is not callable WSGI
          Severity: bug
    Classification: Unclassified
                OS: Linux
          Reporter: benoit at aeteurope.nl
          Hardware: Other
            Status: UNCONFIRMED
           Version: 2.5
         Component: hgweb
           Product: Mercurial

Upgrading my server to 2.5 I got the following stacktrace:

URL: https://hg/hg//repo?cmd=capabilities
File 'paste/exceptions/errormiddleware.py', line 144 in __call__
File 'usr/local/lib/python2.5/site-packages/mercurial/hgweb/hgwebdir_mod.py',
line 147 in __call__
  return self.run_wsgi(req)
File 'usr/local/lib/python2.5/site-packages/mercurial/hgweb/hgwebdir_mod.py',
line 211 in run_wsgi
  return hgweb(repo).run_wsgi(req)
File 'usr/local/lib/python2.5/site-packages/mercurial/hgweb/hgweb_mod.py', line
152 in run_wsgi
  return protocol.call(self.repo, req, cmd)
File 'usr/local/lib/python2.5/site-packages/mercurial/hgweb/protocol.py', line
78 in call
  req.respond(HTTP_OK, HGTYPE, body=rsp)
File 'usr/local/lib/python2.5/site-packages/mercurial/hgweb/request.py', line
107 in respond
File 'usr/local/lib/python2.5/site-packages/mercurial/hgweb/request.py', line
113 in write
TypeError: 'NoneType' object is not callable

I bisected it to the following changeset:


The reported error is the same as for #3676. Although this time no largefile is

You are receiving this mail because:
You are on the CC list for the bug.

More information about the Mercurial-devel mailing list