Mercurial Repositories returning empty HTTP response

Issue #65 resolved
Daniel Jilg
created an issue

(This is on Windows Server 2008.)

I just enabled the Mercurial plugin and could not get it to work. I installed Python 2.7.2 from and Mercurial 1.9.2 (x86) from

Symptoms: When I open a Mercurial repo in the browser, I get an empty response. The log file shows this error:

{{{ 11:31:18.609 [Thread-24] WARN sonia.scm.web.cgi.DefaultCGIExecutor - Traceback (most recent call last): File "C:\Users\d.jilg.scm\cgi-bin\", line 44, in <module> from mercurial import demandimport; demandimport.enable() ImportError: Bad magic number in C:\Users\d.jilg.scm\lib\hg\mercurial__init__. pyc }}}

Some problems with the .pyc files perhaps?

Comments (2)

  1. Daniel Jilg reporter

    Awesome, that did the trick. Thank you very much. Maybe change the UI so the "do everything automatically" option becomes more prominent, and the "configure by hand" option is less obvious?

  2. Log in to comment