Posts

Showing posts with the label CVS

Eclipse CVS error

Today while I was trying to synchronize my code with CVS repository and I got the following error: Problems reported while synchronizing CVS Workspace. 0 of 1 resources were synchronized. An error occurred synchronizing /abcd: I/O exception occurred: java.io.IOException: channel is broken I/O exception occurred: java.io.IOException: channel is broken java.io.IOException: channel is broken I was scratching my head for sometime and searched Internet for an answer, but none seemed to be appropriate for my case. Then when I tried to do the check out from command line using plink, I got a message from my CVS server stating that my password had expired and I needed to change my password. So I changed my password and everything started working fine. If you get the error message above, one possible and easy to check root causes is your password expiry.

Issue of CRLF chars

I faced a very weird problem while I was trying to find log, check out or update files from the CVS repository. The following error message was flashed on the screen: [myuserid@localhost java]$ cvs log . myuserid@mycvshost's password: cvs-1.11.17_p2 log: Logging . : No such file or directoryopen directory /cvsroot/my/repository cvs-1.11.17_p2 log: skipping directory myuserid@mycvshost's password: " but pserver says "/cvsroot/my/repository"/my/repository I could sense that this might be related to some CRLF (Carriage Return-Line Feed) issue, as all the error lines seem to be starting with what look like end of string delimiters (":" or "\""). So to further clarify my doubt I redirected the output to a file and this is the exact error message I was getting: cvs-1.11.17_p2 log: Logging . cvs-1.11.17_p2 log: cannot open directory /cvsroot/my/repository^M: No such file or directory cvs-1.11.17_p2 log: skipping directory Protocol error: Root s...