我跟随theseinstructions在IIS上为Mercurial存储库提供服务。运行hgweb.cgi
脚本(在命令提示符下重新创建)时出现以下错误:
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.
我正在使用:
例如“它起作用了!”测试.cgi显示OK,这样我就知道映射到Python的IIS处理程序是正确的。在
在线资源有点少而且不一致,我觉得错误消息没有什么特别的帮助。有人能帮我解决这个问题吗?如何找出丢失的模块,以及从何处获取?在
已解决
执行不将Mercurial库复制到应用程序目录中,正如在this guide中所说的那样。关于这个网站的信息已经过时,但仍然与Mercurial wiki链接。
相关问题 更多 >
编程相关推荐