2010-08-12 5 views
2

Windows에서 hg serve 명령을 사용할 때 서버가 올바르게 시작되지만 누군가 복제를 시도하면이 오류가 나타납니다.Mercurial hg serve 명령의 문제점

 

$ hg serve 
listening at http://machineX:8000/ (bound to *:8000) 
---------------------------------------- 
Exception happened during processing of request from ('127.0.0.1', 4456) 
Traceback (most recent call last): 
    File "SocketServer.pyc", line 558, in process_request_thread 
    File "SocketServer.pyc", line 320, in finish_request 
    File "mercurial\hgweb\server.pyc", line 42, in __init__ 
    File "SocketServer.pyc", line 615, in __init__ 
    File "BaseHTTPServer.pyc", line 329, in handle 
    File "BaseHTTPServer.pyc", line 323, in handle_one_request 
    File "mercurial\hgweb\server.pyc", line 74, in do_GET 
    File "mercurial\hgweb\server.pyc", line 65, in do_POST 
    File "mercurial\hgweb\server.pyc", line 58, in do_write 
    File "mercurial\hgweb\server.pyc", line 122, in do_hgweb 
    File "mercurial\hgweb\hgweb_mod.pyc", line 85, in __call__ 
    File "mercurial\hgweb\hgweb_mod.pyc", line 117, in run_wsgi 
ErrorResponse 
---------------------------------------- 

이미 수은의 최신 버전으로 다시 설치 시도했습니다 ... 이것은 파이썬 오류의 일종이다 보이지만, 여전히 같은 문제가 발생합니다.

다른 사람이 전에 본적이 있습니까?

감사합니다.

+0

어떤 버전의 수은을 사용하십니까? 빈 (방금 생성 된) 저장소에서 서비스 할 때도이 오류가 발생합니까? – Rudi

답변

5

그것은 바보 같은 문제 ...

내가 "안녕하세요"저장소에 hg serve을하고 있었는데, 나는 당신이 REPO를 사용해서는 안

hg clone http://machine:8000/hello

로 액세스를 시도했다

주소의 이름 ...

그 중 하나입니다.

+1

이것을 쓰는 주셔서 감사합니다 ... 나는 같은 오류를 가지고 있으며, 아마 같은 이유로 말입니다. 끔찍하게 un-diagnostic 오류 메시지입니다. 누군가는 python 프로그래머에게 "path not found"를 쓰는 방법을 가르쳐야합니다. 이 문제는 새로운 Hg 사용자에게 발생하기 쉽고 Hg를 사용하지 못하게하기 때문에 더욱 심각합니다. – LarsH

관련 문제