hg serve broken in crew

Giorgos Keramidas keramida at ceid.upatras.gr
Mon Jun 30 20:46:21 CDT 2008


A recent crew snapshot built from:

changeset:   6777:88a1bcc5c6a7
tag:         tip
user:        Dirkjan Ochtman <dirkjan at ochtman.nl>
date:        Mon Jun 30 10:36:45 2008 +0200
summary:     hgweb: use a single-element tuple to return from protocol.unbundle()

throws an exception in `hg serve' here:

keramida at kobe:/home/keramida/hg/mercurial/crew$ hg serve --style default -p 9000
127.0.0.1 - - [01/Jul/2008 04:43:40] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [01/Jul/2008 04:43:41] "GET /static/style.css HTTP/1.1" 200 -
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 56789)
Traceback (most recent call last):
  File "/usr/local/lib/python2.5/SocketServer.py", line 464, in process_request_thread
    self.finish_request(request, client_address)
  File "/usr/local/lib/python2.5/SocketServer.py", line 254, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/local/lib/python2.5/site-packages/mercurial/hgweb/server.py", line 45, in __init__
    BaseHTTPServer.BaseHTTPRequestHandler.__init__(self, *args, **kargs)
  File "/usr/local/lib/python2.5/SocketServer.py", line 522, in __init__
    self.handle()
  File "/usr/local/lib/python2.5/BaseHTTPServer.py", line 316, in handle
    self.handle_one_request()
  File "/usr/local/lib/python2.5/BaseHTTPServer.py", line 310, in handle_one_request
    method()
  File "/usr/local/lib/python2.5/site-packages/mercurial/hgweb/server.py", line 77, in do_GET
    self.do_POST()
  File "/usr/local/lib/python2.5/site-packages/mercurial/hgweb/server.py", line 71, in do_POST
    self._write("Internal Server Error")
  File "/usr/local/lib/python2.5/site-packages/mercurial/hgweb/server.py", line 167, in _write
    raise AssertionError("Content-length header sent, but more bytes than specified are being written.")
AssertionError: Content-length header sent, but more bytes than specified are being written.
----------------------------------------

A crew build from changeset 3e532b97d1e1 works fine.



More information about the Mercurial-devel mailing list