wordpress   发布时间:2022-04-02  发布网站:大佬教程  code.js-code.com
大佬教程收集整理的这篇文章主要介绍了在Windows Server 2008上设置Mercurial时出错大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。

概述

我想建立一个Mercurial SC服务器并按照此处的说明进行操作:http // stackoverflow.com / questions / 818571 / how-to-setup-mercurial-and-hgwebdir-on-iis 我已经多次检查了所有设置,并且在完成配置后似乎无法通过此错误.任何意见将是有益的.谢谢. Server Error in Application "
我想建立@L_889_0@mercurial SC服务器并按照此处的说明进行操作:http // stackoverflow.com / questions / 818571 / how-to-setup-mercurial-and-hgwebdir-on-iis

我已经多次检查了所有设置,并且在完成配置后似乎无法通过此错误.任何意见将是有益的.谢谢.

@H_616_17@Server Error in Application "DEFAULT WEB SITE/HG"Internet Information services 7.5 Error SumMary http Error 502.2 - Bad Gateway The specified CGI application misbehaved by not returning a complete set of http headers. The headers it did return are "TraceBACk (most recent call last): File "C:\inetpub\hgcgi\hgwebdir.cgi",line 12,in <module> from mercurial import demandimport; demandimport.enable() ImportError: No module named mercurial ". Detailed Error InformationModule CgiModule Notification ExecuterequestHandler Handler Python 2.5 **Error @R_803_6756@x00000001** requested URL http://localhost:80/hg/hgwebdir.cgi Physical Path C:\inetpub\hgcgi\hgwebdir.cgi logon Method Anonymous logon User Anonymous Most likely causes: The CGI process was shut down or terminated unexpectedly before it finished processing the request. The CGI process has a flaw and does not return a complete set of http headers. Things you can try: check the event logs on the system to see whether the CGI process is shutTing down unexpectedly. Troubleshoot the CGI application to determine why it is not sending a complete set of http headers.
很长的一行中的追溯表示在PYTHON_PATH中找不到mercurial.尝试从 HgWebDirStopByStep页面的步骤5.1中看到hgwebdir.cgi编辑. @H_616_17@# adjust python path if not a system-wide install: import sys sys.path.insert(0,"c:/dev/Mercurial/lib")

当然,在哪里调整插入的路径元素以引用您的mercurial库文件所在的位置.

大佬总结

以上是大佬教程为你收集整理的在Windows Server 2008上设置Mercurial时出错全部内容,希望文章能够帮你解决在Windows Server 2008上设置Mercurial时出错所遇到的程序开发问题。

如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。