2017-10-27 5 views
0

IIS를 통해 Mercurial 리포지토리에 서비스를 제공하기 위해 theseinstructions을 따르고 있습니다.IIS에서 Mercurial을 설정할 때 모듈 오류가 누락되었습니다.

Traceback (most recent call last): File "hgweb.py", line 18, in application = hgweb(config) File "mercurial\hgweb__init__.pyc", line 40, in hgweb

File "hgdemandimport\demandimportpy2.pyc", line 146, in getattr

File "hgdemandimport\demandimportpy2.pyc", line 91, in _load

File "hgdemandimport\demandimportpy2.pyc", line 42, in _hgextimport

File "mercurial\hgweb\hgwebdir_mod.pyc", line 17, in

File "hgdemandimport\demandimportpy2.pyc", line 244, in _demandimport

File "hgdemandimport\demandimportpy2.pyc", line 42, in _hgextimport

File "mercurial\hgweb\common.pyc", line 23, in

File "hgdemandimport\demandimportpy2.pyc", line 146, in getattr

File "hgdemandimport\demandimportpy2.pyc", line 91, in _load

File "hgdemandimport\demandimportpy2.pyc", line 42, in _hgextimport

File "mercurial\util.pyc", line 53, in '0beec7b5ea3f0fdbc95d0dd47f3c5bc275da8a33' File "mercurial\policy.pyc", line 98, in importmod

File "mercurial\policy.pyc", line 68, in _importfrom

File "hgdemandimport\demandimportpy2.pyc", line 160, in doc

File "hgdemandimport\demandimportpy2.pyc", line 91, in _load

File "hgdemandimport\demandimportpy2.pyc", line 42, in _hgextimport

File "mercurial\cext\base85.pyc", line 12, in

File "mercurial\cext\base85.pyc", line 10, in __load

ImportError: DLL load failed: The specified module could not be found.

내가 사용하고 :

  • 파이썬 2.7 (명령 프롬프트에서 다시)에 hgweb.cgi 스크립트를 실행할 때 나는 다음과 같은 오류가 발생합니다.
  • 3 Mercurial 4.3.3.
  • here (x64)의 Mercurial Python 모듈.
  • Windows Server 2012 R2 x64.
  • IIS 8.5.

예제 "It works!" test.cgi는 OK를 표시하므로 파이썬에 매핑되는 IIS 핸들러가 정확하다는 것을 알고 있습니다.

온라인 리소스는 약간 밝고 일관성이 없으며 특히 오류 메시지가 도움이되지 않습니다. 누구든지이 문제를 해결할 수 있습니까? 어떻게 누락 된 모듈을 찾을 수 있습니까?

답변

0

this guide의에 말한대로 하지 응용 프로그램 디렉토리에 의욕 라이브러리를 복사 수행

를 해결했다. 거기에 대한 정보는 구식이지만 여전히 Mercurial wiki와 관련되어 있습니다.