在Windows Server 2008上设置Mercurial时出错
发布时间:2020-12-13 20:32:13 所属栏目:Windows 来源:网络整理
导读:我想建立一个Mercurial SC服务器并按照此处的说明进行操作:http // stackoverflow.com / questions / 818571 / how-to-setup-mercurial-and-hgwebdir-on-iis 我已经多次检查了所有设置,并且在完成配置后似乎无法通过此错误.任何意见将是有益的.谢谢. Server
我想建立一个Mercurial SC服务器并按照此处的说明进行操作:http // stackoverflow.com / questions / 818571 / how-to-setup-mercurial-and-hgwebdir-on-iis
我已经多次检查了所有设置,并且在完成配置后似乎无法通过此错误.任何意见将是有益的.谢谢. 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:inetpubhgcgihgwebdir.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 Code 0x00000001** Requested URL http://localhost:80/hg/hgwebdir.cgi Physical Path C:inetpubhgcgihgwebdir.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编辑.
# adjust python path if not a system-wide install: import sys sys.path.insert(0,"c:/dev/Mercurial/lib") 当然,在哪里调整插入的路径元素以引用您的mercurial库文件所在的位置. (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- windows – 批处理 – 无法打印字符串开头的空格
- Windows Azure开发存储blob服务不启动
- 查询动态库文件(Windows *.dll, Linux *.so)所依赖的文件
- 是否有可能从Windows Server 2016 Nano上的powershell命令获
- 如何将EC2 Windows机器的instance-id转换为批处理变量
- 什么是Windows 7上的Internet Explorer 11? ES2016在企业中
- 用于行为不当的ColdFusion应用程序的Windows CPU通知
- Windows磁盘碎片整理程序是否足够好?
- This application failed to start because it could not f
- Windows – IIS 7 – 允许http部分网站,https休息?
推荐文章
站长推荐
- windows-server-2008 – 是否可以拥有两台DHCP服
- 为什么MSBuild在本地复制所有DLL,但在我们的构建
- 击败Windows上的CIFS文件缓存/强制“刷新”
- 将repo复制到Windows时,如何阻止git添加回车?
- Windows Phone 7 – WP7上的Phonegap不加载图像
- 17 win7 sp1 x64/VS2015下配置creo4.0二次开发环
- windows – Emacs非常缓慢地创建缓冲区
- xaml – 在Windows 8应用程序中将Rectangle的高度
- .net – MVC Controller应该在单独的DLL中吗?
- .net – 将interop dll放入GAC?
热点阅读