hgweb Odd-string length error
Matt Mackall
mpm at selenic.com
Wed Jul 9 18:32:49 UTC 2014
On Mon, 2014-07-07 at 11:53 -0400, Jérôme Godbout wrote:
> Hi,
> I'm trying to setup a hgweb server with Apache 2.2 (32 bits) under Windows
> 7 (64bits). I got it to serve and can browse the file at
> my http://build_server/hg/MainRepos properly. I can see the file, the
> branch, the graph, the images are loading, etc. But I cannot
> pull from the same address, I always end up with the following error:
> "Odd-string length" into wireproto.py
>
> Here's an example of error message with TortoiseHg (it's most verbatim then
> the command line):
> #########################################
> #!python
> ** Mercurial version (3.0.1). TortoiseHg version (3.0.1)
> ** Command: --nofork workbench
> ** CWD: F:\MainRepos
> ** Encoding: cp1252
> ** Extensions loaded:
> ** Python version: 2.7.6 (default, Nov 10 2013, 19:24:24) [MSC v.1500
> 64 bit (AMD64)]
> ** Windows version: sys.getwindowsversion(major=6, minor=1, build=7601,
> platform=2, service_pack='Service Pack 1')
> ** Processor architecture: x64
> ** Qt-4.8.5 PyQt-4.10.3 QScintilla-2.7.2
> Traceback (most recent call last):
> File "tortoisehg\hgqt\thread.pyo", line 304, in run
> File "tortoisehg\util\hglib.pyo", line 710, in dispatch
> File "mercurial\dispatch.pyo", line 819, in _dispatch
> File "mercurial\dispatch.pyo", line 599, in runcommand
> File "mercurial\dispatch.pyo", line 910, in _runcommand
> File "mercurial\dispatch.pyo", line 881, in checkargs
> File "mercurial\dispatch.pyo", line 816, in <lambda>
> File "mercurial\util.pyo", line 518, in check
> File "mercurial\commands.pyo", line 4607, in pull
> File "mercurial\localrepo.pyo", line 1708, in pull
> File "mercurial\exchange.pyo", line 539, in pull
> File "mercurial\exchange.pyo", line 564, in _pulldiscovery
> File "mercurial\discovery.pyo", line 46, in findcommonincoming
> File "mercurial\setdiscovery.pyo", line 140, in findcommonheads
> File "mercurial\wireproto.pyo", line 123, in submit
> File "mercurial\wireproto.pyo", line 129, in _submitreq
> File "mercurial\wireproto.pyo", line 226, in heads
> File "mercurial\wireproto.pyo", line 171, in decodelist
> TypeError: Odd-length string
> ########################################
Almost certainly a server error. Check your server's _error_ logs (as
you're on Windows, they'll be in a hard-to-find place that's not your
access logs).
--
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial
mailing list