1. Sebastian Sebastian
  2. scm-manager

Issues

Issue #65 resolved

Mercurial Repositories returning empty HTTP response

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 http://www.python.org/download/releases/2.7.2/ and Mercurial 1.9.2 (x86) from http://mercurial.selenic.com/wiki/Download.

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\hgweb.py", 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