windows下配置cvsnt+active python+viewcvs+apache出错
我是按照下边的步骤安装和配置的:
先决条件:
CVSNT 2.5.03
Python 2.4.2
1、安装viewcvs-1.0-dev-r6
2、配置
修改viewcvs.conf
cvs_roots = test: E:/CVSROOT/Test
default_root = test
cvsnt_exe_path = C:/Program Files/cvsnt/cvs.exe
3.用apache运行
安装Mod_python
修改httpd.conf
添加
LoadModule python_module modules/mod_python.so
Alias /viewcvs/ "C:/viewcvs/www/mod_python/"
<Directory "C:/viewcvs/www/mod_python">
Options Indexes MultiViews
AllowOverride Options FileInfo
Order allow,deny
Allow from all
</Directory>
重启apache,
访问http://localhost/viewcvs/viewcvs.py,但是出现如下异常
An Exception Has Occurred
Python Traceback
Traceback (most recent call last):
File "c:viewcvslibviewcvs.py", line 3194, in main
request.run_viewcvs()
File "c:viewcvslibviewcvs.py", line 350, in run_viewcvs
self.view_func(self)
File "c:viewcvslibviewcvs.py", line 1342, in view_directory
request.repos.dirlogs(request.path_parts, file_data, options)
File "c:viewcvslibvclibbincvs__init__.py", line 176, in dirlogs
alltags = _get_logs(self, dirpath, entries, tag, subdirs)
File "c:viewcvslibvclibbincvs__init__.py", line 797, in _get_logs
rlog = repos.rcs_popen('rlog', args, 'rt')
File "c:viewcvslibvclibbincvs__init__.py", line 222, in rcs_popen
return popen.popen(cmd, args, mode, capture_err)
File "c:viewcvslibpopen.py", line 76, in popen
phandle, pid, thandle, tid = win32popen.CreateProcess(command, hStdIn, hStdOut, hStdErr)
File "c:viewcvslibwin32popen.py", line 61, in CreateProcess
si # startupinfo
error: (2, 'CreateProcess', 'The system cannot find the file specified.')
哪位xdjm知道怎么办?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
修改viewcvs.conf文件,让CVSNT来代替RCS解析你的CVS仓库:
cvsnt_exe_path = C:Program Filescvsntcvs.exe