info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cvs checkout exits with code 1


From: Todd Denniston
Subject: Re: cvs checkout exits with code 1
Date: Fri, 10 Aug 2007 12:35:59 -0500
User-agent: Thunderbird 2.0.0.5 (X11/20070716)

Danish Siddiqui wrote, On 08/10/2007 10:00 AM:

Todd Denniston wrote:
Danish Siddiqui wrote, On 08/10/2007 05:39 AM:
Hi,
Im using the WinCVS 1.2 client. When I try to checkout a certain module
from a repository, I get the ***cvs exited normally with code 1***.
The cvs server is running on CentOS 4.5
Are there any log files created for a checkout. Please help, Iv been
banging my head over this for some time

IIRC under WinCVS you are running CVSNT
http://march-hare.com/cvsnt
http://www.wincvs.org/
this question may ultimately need to be asked on one of their mailing lists.

If WinCVS or CVSNT spits out more than "***cvs exited normally with code 1***" between starting the command and ending it, that information might have helped us.

In the meantime, it should be possible to run CVSNT from the command line and IIRC it takes at least all of the same options as CVS, so on the machine where you have ran WinCVS run:
`cvs -t checkout certain_module`

And as you probably only set your CVSROOT inside of WinCVS, you will need to copy that to the command line:
`cvs -d yourCVSROOT -t checkout certain_module`

This should give you a "trace of program execution" which may yield more clues.

Thanks
Danish


<SNIP lame disclame>


Thanks a lot. Finally some log messages so that I can move a wee bit forward.
Im pasting the log messages i received when i ran
`cvs -t checkout certain_module`
under WinCVS

U accounts/finance/Salary/Keihi/Pramod/<8c>o<94>ï_PramodK.xls
-> rename(.new.<8c>o<94>ï_PramodK.xls,<8c>o<94>ï_PramodK.xls)
-> chmod(<8c>o<94>ï_PramodK.xls,100666)
-> chmod(<8c>o<94>ï_PramodK.xls,100444)
-> Register(<8c>o<94>ï_PramodK.xls, 1.1.1.1, Wed Jun 12 13:23:44 2002, -kb, )
S-> Lock_Cleanup()
S-> unlink_file(CVS/Tag)
-> unlink(CVS/Tag)
S-> rename(CVS/Entries.Backup,CVS/Entries)
S-> unlink_file(CVS/Entries.Log)
S-> rename(CVS/Entries.Backup,CVS/Entries)
S-> unlink_file(CVS/Entries.Log)
S-> rename(CVS/Entries.Backup,CVS/Entries)
S-> unlink_file(CVS/Entries.Log)
S-> rename(CVS/Entries.Backup,CVS/Entries)
S-> unlink_file(CVS/Entries.Log)
S-> rename(CVS/Entries.Backup,CVS/Entries)
S-> unlink_file(CVS/Entries.Log)
-> rename(CVS/Entries.Backup,CVS/Entries)
-> unlink(CVS/Entries.Log)

*****CVS exited normally with code 1*****


Danish


Uuuhg!

the only thing that looks even the least bit strange to me is the file name, which I suspect is some form of Unicode.

And having just read a email on the buglist about a Unicode filename problem[1], that email might be useful to you.

Having said that though, AFAICR, CVSNT (your client) handles Unicode stuff a little better at least inside of the files, also you might want to check cvs status on that file and see if it was checked in as a binary file (it should have been assuming .xls means it is an excel file). I suspect that because you have your server on a Unix machine, that the server's file system is not configured to allow Unicode file names. If this is not the problem, it is at least confusing the issue.

you might want to:
A) make a backup of the repository now.
B) MOVE the accounts/finance/Salary/Keihi/Pramod/<8c>o<94>ï_PramodK.xls,v file out of the repository.
C) do  a fresh checkout and see if it works correctly.
D) decide if the file goes back [with that same name].


You might want to check and see if the server is running standard CVS or if someone installed CVSNT on the server as well (it can be done).
run `cvs -v` on both the client machine and the server machine.

I recommend sending the info and questions you now have over to the CVSNT mailing list now.

[1] http://lists.gnu.org/archive/html/bug-cvs/2007-08/msg00005.html


--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter




reply via email to

[Prev in Thread] Current Thread [Next in Thread]