CnPack Forum


 
Subject: 新手问题,望大家帮帮忙!
pandge
新警察
Rank: 1



UID 571
Digest Posts 0
Credits 5
Posts 5
点点分 5
Reading Access 10
Registered 2004-11-19
Status Offline
Post at 2004-11-19 00:08  Profile | Blog | P.M. 
新手问题,望大家帮帮忙!

大家好,我是一个新手,刚开始学习使用cvs,我的wincvs登陆cvsnt时总是不行,结果老是
Python is not available !
CVSROOT: cvsuser@192.168.0.2:e:/cvsroot (password authentication)
Python is not available !
Python is not available !
cvs -d :pserver:cvsuser@192.168.0.2:e:/cvsroot login
Logging in to :pserver:cvsuser@192.168.0.2:2401:e:/cvsroot
cvs [login aborted]: Error reading from server 192.168.0.2: -1: No such file or directory

***** CVS exited normally with code 1 *****
这是什么问题?希望大家能帮忙解决。
Top
zjy
管理员
Rank: 9Rank: 9Rank: 9



UID 2
Digest Posts 6
Credits 2385
Posts 1543
点点分 2385
Reading Access 102
Registered 2002-12-16
Location China
Status Offline
Post at 2004-11-19 08:05  Profile | Site | Blog | P.M. 
这个错误信息:
cvs [login aborted]: Error reading from server 192.168.0.2: -1: No such file or directory
的意思是,在服务器上没有 e:/cvsroot 这个 CVS 仓库,请检查你在 cvsnt 中是否设置了该目录为有效的 Repository 目录。一般建议使用 cvsnt 的 Repository Prefix 的功能,使用相对路径来取代带盘符的绝对路径。

另外,你没有安装 Python,WinCVS 的一些高级功能将不能使用。




Zhou JingYu
CnPack Administrator
http://www.cnpack.org/
Top
pandge
新警察
Rank: 1



UID 571
Digest Posts 0
Credits 5
Posts 5
点点分 5
Reading Access 10
Registered 2004-11-19
Status Offline
Post at 2004-11-20 01:34  Profile | Blog | P.M. 
zjy

yygw

谢谢你的帮助,今天我在一台机器上实验成功了,但是回到家里,我怎么做都不成功,我的cvs仓库也建了,就是不行,在命令行报错cvs[login aborted]:Error reafding from server192.168.0.2:-1:unknown errror但是在wincvs下面报错是cvs [login aborted]: recv() from server 192.168.0.2: Connection reset by peer
我就搞不懂问题出在那里。
Top
zjy
管理员
Rank: 9Rank: 9Rank: 9



UID 2
Digest Posts 6
Credits 2385
Posts 1543
点点分 2385
Reading Access 102
Registered 2002-12-16
Location China
Status Offline
Post at 2004-11-20 12:56  Profile | Site | Blog | P.M. 
从错误信息看,可能是网络问题,可以检查下是否有防火墙等。




Zhou JingYu
CnPack Administrator
http://www.cnpack.org/
Top
pandge
新警察
Rank: 1



UID 571
Digest Posts 0
Credits 5
Posts 5
点点分 5
Reading Access 10
Registered 2004-11-19
Status Offline
Post at 2004-11-20 15:25  Profile | Blog | P.M. 
zjy

yygw
论坛管理员
非常的谢谢你的帮助!今天我把机器一打开就可以了,。
Top
zjy
管理员
Rank: 9Rank: 9Rank: 9



UID 2
Digest Posts 6
Credits 2385
Posts 1543
点点分 2385
Reading Access 102
Registered 2002-12-16
Location China
Status Offline
Post at 2004-11-20 17:43  Profile | Site | Blog | P.M. 
呵呵,对了,有时候安装 cvsnt 后要重启一次才能支持 passwd 文件:)




Zhou JingYu
CnPack Administrator
http://www.cnpack.org/
Top
pandge
新警察
Rank: 1



UID 571
Digest Posts 0
Credits 5
Posts 5
点点分 5
Reading Access 10
Registered 2004-11-19
Status Offline
Post at 2004-11-21 02:18  Profile | Blog | P.M. 
新的问题

今天我在Eclipse中配置cvs访问cvsnt的时候总是报错,cvsnt repository :pserver:cvsuser@192.168.0.2:/cvsroot is configures to use a repository prefix.However ,cvsnt
dose not always properly communivate resource paths in this mode resulting in the failure of some specialized Eclipse cvs operation.....
我的配置和在wincvs中是一样的,怎么就是不行!
头痛死我了
Top
zjy
管理员
Rank: 9Rank: 9Rank: 9



UID 2
Digest Posts 6
Credits 2385
Posts 1543
点点分 2385
Reading Access 102
Registered 2002-12-16
Location China
Status Offline
Post at 2004-11-21 10:33  Profile | Site | Blog | P.M. 
参见这个Blog:
[url]http://leosky.mblogger.cn/posts/9852.aspx[/url]

eclise与cvsnt的连接问题
在windows下用cvsnt作为cvs服务器

如果在他的service control中设置Repositories设置name为/cvs  root为c:cvsRepository

那么像wincvs这样的客户端在连接时以name作为连接

cvs -d :pserver:administrator@localhost:/CVS login  可以成功登陆

但是在eclipse下以/cvs为repository path时,会出现以下错误

Error validating location: "CVSNT repository :pserver:foo@localhost:/CVS is
configured to use a repository prefix. However, CVSNT does not always properly
communicate resource paths in this mode resulting in the failure of some
specialized Eclipse CVS operations. The use of a repository prefix should be
disabled if the full functionality of the Eclipse CVS client is desired.

原因是

Eclipse makes use of the path information in text messages recieved from the
server. The messages contain the full path of the resource (e.g D:cvs
oot).
If a reposiory prefix(就是那个/) is used, it is impossible to know for sure how to map
the full name to the shortened prefix. The workaround is to configure CVSNT to
use full repository paths (i.e. disable the use of a prefix).


另一个解决方法是在cvsnt的service control中在advanced将pretend to be

a unix cvs version的勾选上,就可以了




Zhou JingYu
CnPack Administrator
http://www.cnpack.org/
Top
pandge
新警察
Rank: 1



UID 571
Digest Posts 0
Credits 5
Posts 5
点点分 5
Reading Access 10
Registered 2004-11-19
Status Offline
Post at 2004-11-22 22:21  Profile | Blog | P.M. 
谢谢了!

yygw
论坛管理员,你就是我的救命恩人呀!哈!!,问题解决了,我重新下了一个cvsnt,因为最近的cvsnt-2.0.58d中的service control就没有那个选项,把pretend to be

a unix cvs version的勾选上就可以了。
Top
zjy
管理员
Rank: 9Rank: 9Rank: 9



UID 2
Digest Posts 6
Credits 2385
Posts 1543
点点分 2385
Reading Access 102
Registered 2002-12-16
Location China
Status Offline
Post at 2004-11-22 22:33  Profile | Site | Blog | P.M. 
呵呵,不客气!





Zhou JingYu
CnPack Administrator
http://www.cnpack.org/
Top
 




All times are GMT++8, the time now is 2024-11-22 05:13

    本论坛支付平台由支付宝提供
携手打造安全诚信的交易社区 Powered by Discuz! 5.0.0  © 2001-2006 Comsenz Inc.
Processed in 0.007941 second(s), 9 queries , Gzip enabled

Clear Cookies - Contact Us - CnPack Website - Archiver - WAP