Community
Participate
Working Groups
CVSROOT :ext:ljb@cvs1.prv.ie.itouchnet.net:/export/repository when attempting to browse an 'ext' repository from within Eclipse 2.0, an error dialog with the message "Unknown response received from cvs server: ok" is displayed. no output is in the CVS console view. it works from outside of eclipse, with CVSROOT set to the above value, and CVS_RSH set to 'ssh', which is in the PATH. C:\>ssh -V OpenSSH_3.4p1, SSH protocols 1.5/2.0, OpenSSL 0x0090604f C:\>cvs --version Concurrent Versions System (CVS) 1.11 (client/server) access from the command line works with both SSH protocol versions: C:\> ssh -1 -l ljb cvs1.prv.ie.itouchnet.net [ljb@intranet1] $ C:\> ssh -2 -l ljb cvs1.prv.ie.itouchnet.net [ljb@intranet1] $ versions on CVS server: [ljb@intranet1] $ ssh -V OpenSSH_3.4p1, SSH protocols 1.5/2.0, OpenSSL 0x0090602f [ljb@intranet1] $ cvs --version Concurrent Versions System (CVS) 1.10.7 (client/server)
The Eclipse CVS client only supports CVS server versions 1.11.1p1 and above.
CVS server has been upgraded: [ljb@intranet1 ljb]$ cvs --version Concurrent Versions System (CVS) 1.11.1p1 (client/server) i still get the same error.
Could you please go to the CVS log and include the text from there? That will help us understand what we are getting from the server. Also, verifying that there is nothing in the .metadata/.log would be good - sometimes errors which can't be surfaced to the UI show up there.
By CVS log, I am referring to the contents of the CVS Console view in Eclipse.
i have cleared .log, restarted Eclipse, and nothing is placed in .log after the error occurs. there is also no output in the CVS console, is there a preference i have to enable? Preferences -> Team -> CVS -> Quietness level is currently set to 'Verbose'.
The steps you've outlined should've been sufficient.
i've imported the org.eclipse.team.cvs.core plugin, and changed the DEBUG_CVS_PROTOCOL flag to true. i get the following output in the CVS console when i run the modified plugin: creating the repository: Valid-responses ok error M E Module-expansion Updated Set-static-directory Mod-t ime Valid-requests Copy-file Set-sticky Update-existing Clear-static-directory M erged Checked-in Remove-entry Clear-sticky Created MT New-entry Removed valid-requests Valid-requests Root Valid-responses valid-requests Repository Directory Max-dotd ot Static-directory Sticky Checkin-prog Update-prog Entry Kopt Checkin-time Modi fied Is-modified UseUnchanged Unchanged Notify Questionable Case Argument Argume ntx Global_option Gzip-stream wrapper-sendme-rcsOptions Set Kerberos-encrypt Gss api-encrypt Gssapi-authenticate expand-modules ci co update diff log rlog add re move update-patches gzip-file-contents status rdiff tag rtag import admin export history release watch-on watch-off watch-add watch-remove watchers editors init annotate rannotate noop version ok attempting to list the contents of HEAD: Valid-responses ok error M E Module-expansion Updated Set-static-directory Mod-t ime Valid-requests Copy-file Set-sticky Update-existing Clear-static-directory M erged Checked-in Remove-entry Clear-sticky Created MT New-entry Removed valid-requests Valid-requests Root Valid-responses valid-requests Repository Directory Max-dotd ot Static-directory Sticky Checkin-prog Update-prog Entry Kopt Checkin-time Modi fied Is-modified UseUnchanged Unchanged Notify Questionable Case Argument Argume ntx Global_option Gzip-stream wrapper-sendme-rcsOptions Set Kerberos-encrypt Gss api-encrypt Gssapi-authenticate expand-modules ci co update diff log rlog add re move update-patches gzip-file-contents status rdiff tag rtag import admin export history release watch-on watch-off watch-add watch-remove watchers editors init annotate rannotate noop version ok hope this helps. if there's anything else i can try to help, let me know.
correction, in the runtime workbench console.
i've determined the problem. for some reason, the responses from the CVS server are getting an additional newline character (not sure whether its \r or \n, not clear from debug variable value) appended. i did a quick change of the following check in org.eclipse.team.internal.ccvs.core.client.Request.executeRequest(): response.equals("ok") to: response.trim().equals("ok") which caused validation of 'ext' to start working. top-level browsing of the repository works as well. but attempting to expand any further elements causes an error message "resource <resourcename>\n is not a child of folder". so i guess for some reason extra \n are coming back for a fair bit of responses, so i guess the correct place to work around this would be in Connection.readLine (), as i see its NEWLINE is hardcoded to 0xA. NOTE: 'extssh' works 100% with the same versions of server executable, so i suspect Cygwin SSH/CVS are doing some on-the fly mangling. if you want to try reproduce this: workstation versions (on Windows 2000): cvs.exe - Cygwin CVS version 1.11, filesize 1466946 bytes ssh.exe - Cygwin OpenSSH 3.4p1, filesize 231424 bytes server versions: cvs - RedHat Linux 6.2 Update CVS (cvs-1.11.1p1-6.2.i386.rpm) ssh - OpenSSH 3.4p1 the default text file type specified in Cygwin setup is Unix.
Interesting. Thanks for the additional debugging and helpful information. We will consider the alternatives you've suggested!
Created attachment 1703 [details] Patch to readLine methods
I have attached a patch that should fix the problem in the two readLine methods. It does not cause any regressions but it will take me some time to get a proper setup to ensure that it fixes the problem. If possible, could the reporter test this patch (To apply the patch, use Compare With > Patch.. on the org.eclipse.team.cvs.core project).
after applying the patch, validation and browsing works. however, checkout fails with different errors for different projects. these errors seem to be unrelated to the newline issue: (1) for the one project, i get the following: "Unknown response received from CVS server: s" (2) for the other, i get: "Unknown response received from CVS server: PMS will be copied to rpms" i modified the debug System.out.printlns() in Connection to add a leading "<" for readLine() and a leading ">" for write(), but its not immediately clear to me whats going wrong. the console output for a checkout of case (1): > Valid-responses ok error M E Module-expansion Updated Set-static-directory Mod -time Valid-requests Copy-file Set-sticky Update-existing Clear-static-directory Merged Checked-in Remove-entry Clear-sticky Created New-entry Removed > valid-requests < Valid-requests Root Valid-responses valid-requests Repository Directory Max-do tdot Static-directory Sticky Checkin-prog Update-prog Entry Kopt Checkin-time Mo dified Is-modified UseUnchanged Unchanged Notify Questionable Case Argument Argu mentx Global_option Gzip-stream wrapper-sendme-rcsOptions Set Kerberos-encrypt G ssapi-encrypt Gssapi-authenticate expand-modules ci co update diff log rlog add remove update-patches gzip-file-contents status rdiff tag rtag import admin expo rt history release watch-on watch-off watch-add watch-remove watchers editors in it annotate rannotate noop version < ok > Root /export/repository CMD> cvs co -d "dataCaptureAdapter" -P -A "gap/dataCaptureAdapter" > Argument > gap/dataCaptureAdapter > expand-modules < Module-expansion gap/dataCaptureAdapter < ok > Argument > -d > Argument > dataCaptureAdapter > Argument > -P > Argument > -A > Argument > gap/dataCaptureAdapter > Directory . > /export/repository/ > co < Clear-sticky dataCaptureAdapter/ < /export/repository/gap/dataCaptureAdapter/ < Clear-static-directory dataCaptureAdapter/ < /export/repository/gap/dataCaptureAdapter/ < Clear-sticky dataCaptureAdapter/ < /export/repository/gap/dataCaptureAdapter/ < E cvs server: Updating dataCaptureAdapter < Mod-time 19 Jun 2002 13:40:31 -0000 < M U dataCaptureAdapter/Build.txt < Created dataCaptureAdapter/ < /export/repository/gap/dataCaptureAdapter/Build.txt < /Build.txt/1.2/// < u=rwx,g=rwx,o=rwx < 1011 < PMS will be copied to rpms RESULT> org.eclipse.team.internal.ccvs.core.CVSException: Unknown response recei ved from cvs server: PMS will be copied to rpms the console output for case (2): > Valid-responses ok error M E Module-expansion Updated Set-static-directory Mod -time Valid-requests Copy-file Set-sticky Update-existing Clear-static-directory Merged Checked-in Remove-entry Clear-sticky Created New-entry Removed > valid-requests < Valid-requests Root Valid-responses valid-requests Repository Directory Max-do tdot Static-directory Sticky Checkin-prog Update-prog Entry Kopt Checkin-time Mo dified Is-modified UseUnchanged Unchanged Notify Questionable Case Argument Argu mentx Global_option Gzip-stream wrapper-sendme-rcsOptions Set Kerberos-encrypt G ssapi-encrypt Gssapi-authenticate expand-modules ci co update diff log rlog add remove update-patches gzip-file-contents status rdiff tag rtag import admin expo rt history release watch-on watch-off watch-add watch-remove watchers editors in it annotate rannotate noop version < ok > Root /export/repository CMD> cvs co -d "mttrafficStats" -P -A "gap/mttrafficStats" > Argument > gap/mttrafficStats > expand-modules < Module-expansion gap/mttrafficStats < ok > Argument > -d > Argument > mttrafficStats > Argument > -P > Argument > -A > Argument > gap/mttrafficStats > Directory . > /export/repository/ > co < Clear-sticky mttrafficStats/ < /export/repository/gap/mttrafficStats/ < Clear-static-directory mttrafficStats/ < /export/repository/gap/mttrafficStats/ < Clear-sticky mttrafficStats/ < /export/repository/gap/mttrafficStats/ < E cvs server: Updating mttrafficStats < Mod-time 12 Jul 2002 11:08:15 -0000 < M U mttrafficStats/.classpath < Created mttrafficStats/ < /export/repository/gap/mttrafficStats/.classpath < /.classpath/1.1/// < u=rwx,g=rwx,o=rwx < 378 < Mod-time 12 Jul 2002 15:29:52 -0000 < M U mttrafficStats/.cvsignore < Created mttrafficStats/ < /export/repository/gap/mttrafficStats/.cvsignore < /.cvsignore/1.1//-ko/ < u=rw,g=rw,o=rw < 16 < s RESULT> org.eclipse.team.internal.ccvs.core.CVSException: Unknown response recei ved from cvs server: s
It appears that extra CRs are getting added to the file contents as well. This is a real problem since the server communicates the size of the file and only that number of bytes are read (my guess is that "PMS will be copied to rpms" appears somewhere near the end of the file /export/repository/gap/dataCaptureAdapter/Build.txt). There's no way we can compensate for this. I would like to determine if it's the ssh client you are using or some other problem. If you use a different ssh client (such as putty), do you get the same problem?
yes, its Cygwin SSH thats mangling the files, switching to this client: http://www.networksimplicity.com/openssh/ fixes the problem. maybe recommend to win32 users needing ssh key auth to use this client instead?
Problem is with Cygwin SSH client
I get the same error with PuTTY's plink.exe as my CVS_RSH using the :ext: method, so it is not just a Cygwin issue. It chokes on the password prompt.
I get the a very similar error message. - I20021204/gtk. I am running Debian, Woody, Kernel 2.4.18+ACPI. - My error message says: "Unkown response received from cvs server: " - CVS Console is empty. - I am trying to connect to: :ext:mkamp@cvs.ejbbuilder.sourceforge.net:/cvsroot/ejbbuilder - It is working from the command line. - It is also working with eclipse using pserver and anonymous access. - It used to work with the 2.0 version Any ideas how to work around? The command line client seems to work ok... Can I use check out with pserver with my anonymous read/only-account and then go to the command line and change to ext ... and stop using eclipse for cvs access for the time beeing? ps. The command client I am using gives the following output: mkamp@hamlet:~/tmp$ cvs -version Concurrent Versions System (CVS) 1.11.1p1 (client/server) Copyright (c) 1989-2001 Brian Berliner, david d `zoo' zuhn, Jeff Polk, and other authors CVS may be copied only under the terms of the GNU General Public License, a copy of which can be found with the CVS distribution kit. Specify the --help option for further information about CVS pps. Don't know what sourceforge is using ...
What SSH client are you using for your ext connecton?
Hmmh. You mean from inside eclipse and from the one from the command line? Or is eclipse also using the one provided by the os? I can't tell you right away, because I am not at home and will likely not return there until the weekend, but I found this on the debian website: http://packages.debian.org/cgi-bin/search_packages.pl?keywords=ssh&searchon=names&subword=1&version=stable&release=all I *belive* I am using http://packages.debian.org/stable/non-us/ssh2.html -> ssh2 2.0.13-7 ... If not, it will be http://packages.debian.org/stable/net/ssh.html -> ssh 1:3.4p1-1. As far as I remember I have been asked during installation if I want to go for the old or the new (ssh2) version and I am 95% sure that I went for ssh2.
Hi, I was able to connect to my machine remotely and ran ssh -V with the following results: OpenSSH_3.4p1 Debian 1:3.4p1-1, SSH protocols 1.5/2.0, OpenSSL 0x0090603f
I am trying to use :ext:, not :extssh:. You changed the description to extssh? I am not trying to be a smartass, just want to prevent missunderstandings. Maybe both mean the same.
No there not the same but the categories aren't all that important
I just found the following on stdout: 30198988 mkamp@cvs.ejbbuilder.sourceforge.net's password: mkamp@cvs.ejbbuilder.sourceforge.net's password: mkamp@cvs.ejbbuilder.sourceforge.net's password:
I now started eclipse in the foreground and was able to provide it with a password. This is not a nice solution as I am asked for the password for almost everything ... It also doesn't look store the already known password. Btw. I've got something else now too. When clicking on "Restore from repository" it displays in the progressbar "authenticating with pserver"... pserver !!! After that on stdout is Caught Exception Event Loop ... Reason: NPE...
Was hoping that this issue has been resolved and was trying with M4/gtk and M4/motif. Didn't work though.
Mariano, I think you can solve your problem by providing the proper CVS_RSH configuration on the Ext Connection Method Preference page. Open the Window>Preferences dialog and expand and select the Team>CVS>EXT Connection Method. In the Parameters field, you can provide the command with the password input using the {password} variable. The format is described on the preference page (for putty, it's something like "-pwd {password} -ssh {user}@{host}"). You will need to find out the format for the parameters of your ssh client. Let me know if this works for you.
Thanks for the information. I don't know what to type in there. The product default is: {host} -l {user} So there is no password in there anyway. I am wondering if I am the only one with the problem?! Anyway, this is the output of the ssh command: mkamp@hamlet:~$ ssh Usage: ssh [options] host [command] Options: -l user Log in using this user name. -n Redirect input from /dev/null. -F config Config file (default: ~/.ssh/config). -A Enable authentication agent forwarding. -a Disable authentication agent forwarding (default). -X Enable X11 connection forwarding. -x Disable X11 connection forwarding (default). -i file Identity for public key authentication (default: ~/.ssh/identity) -t Tty; allocate a tty even if command is given. -T Do not allocate a tty. -v Verbose; display verbose debugging messages. Multiple -v increases verbosity. -V Display version number only. -q Quiet; don't display any warning messages. -f Fork into background after authentication. -e char Set escape character; ``none'' = disable (default: ~). -c cipher Select encryption algorithm -m macs Specify MAC algorithms for protocol version 2. -p port Connect to this port. Server must be on the same port. -L listen-port:host:port Forward local port to remote address -R listen-port:host:port Forward remote port to local address These cause ssh to listen for connections on a port, and forward them to the other side by connecting to host:port. -D port Enable dynamic application-level port forwarding. -C Enable compression. -N Do not execute a shell or command. -g Allow remote hosts to connect to forwarded ports. -1 Force protocol version 1. -2 Force protocol version 2. -4 Use IPv4 only. -6 Use IPv6 only. -o 'option' Process the option as if it was read from a configuration file. -s Invoke command (mandatory) as SSH2 subsystem. -b addr Local IP address. I don't see where a password can be entered. I will post a message to debian-user though. Cheers.
Hi, there seems to be no easy solution to the problem. See http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&threadm=1040851838.766.15.camel%40hamlet.jlogic.com&rnum=1&prev=/groups%3Fq%3DMariano%2BKamp%2Beclipse%2Bssh%2Bejbbuilder%26ie%3DUTF-8%26oe%3DUTF-8%26hl%3Den%26btnG%3DGoogle%2BSearch What I am wondering is why this happens now? I used to use SuSE and Eclipse 2.0 and it was working fine before ... I'll fallback to launch eclipse in the foreground and monitor the console for password queries ;-(
Not clear how we are to resolve this bug.
Kevin, it does work when specifying ext instead of extssh. So it does make a difference which one to use (remember the discussion on the summary? [CVS EXT]. So for me it is solved or at least "works for me".
*** Bug 31953 has been marked as a duplicate of this bug. ***
I also got this problem on Mandrake, using: -Eclipse Version: 2.1.0, Build id: 200303272130 -OpenSSH_3.4p1, SSH protocols 1.5/2.0, OpenSSL 0x0090607f -Concurrent Versions System (CVS) 1.11.2 (client/server) I ensured that my sshd was configured to support protocol 1 (I tried only 1, as well as 1,2). When using extssh, I get the same error of "Error validating location: "Unknown response received from cvs server: ", when I try switching to ext (specified full path of cvs & ssh in eclipse setup), I also see the prompt at the command line (I haven't setup this part yet, wanted to test rest was working first), then see the exact same error.
Eclipse should be changed to handle line separators gracefully. These symptoms also occur using rsh. The problem is appears to be the Win2K line separator issue. A work-around that has worked for me is to use the cygwin (http://cygwin.org) rsh client instead of the Win2K rsh command. It is in the inetutils package (http://www.cygwin.com/packages/inetutils/).
I was also having this problem. Client: Eclipse 3.0, extssh connection method Server: Linux 2.4.21 kernel, cvs 1.11.2, csh I had a .cshrc that had echo $HOSTNAME in it. When I removed this line, the problems went away. --Leif
I'm having similar problems -I think- (if its not the same please tell me so I can open a separate issue). At seemingly random times I get the 'xxx is not a child of folder yyy' error message from Eclipse team. The server is a windows cvs server, and I've only seen it happen on binary resources. Here is a full log of my console. My current Eclipse version is 3.1M4. If anyone has any idea how to get around this please tell me! I'm kindof dead in the water right now :) Root /cvs/moelleryoung CMD> cvs version version M Concurrent Versions System (CVSNT) 2.0.58d (client/server) ok RESULT> Status OK: org.eclipse.team.cvs.core code=0 ok null CMD> cvs -n update -d "/MyJSDebug" Global_option -n Argument -d Directory . /cvs/xxx/MyJSDebug Entry /.classpath/1.1/// Unchanged .classpath Entry /.cvsignore/1.1/// Unchanged .cvsignore Entry /.project/1.1/// Unchanged .project Entry /build.properties/1.1/// Unchanged build.properties Entry /plugin.xml/1.2/// Unchanged plugin.xml Directory icons /cvs/moelleryoung/MyJSDebug/icons Entry /sample.gif/1.1//-kb/ Unchanged sample.gif Directory src /cvs/moelleryoung/MyJSDebug/src Directory src/com /cvs/moelleryoung/MyJSDebug/src/com Directory src/com/my /cvs/moelleryoung/MyJSDebug/src/com/my Directory src/com/my/jsdebug /cvs/moelleryoung/MyJSDebug/src/com/my/jsdebug Entry /MyJSDebugPlugin.java/1.1/// Unchanged MyJSDebugPlugin.java Directory src/com/my/jsdebug/debugger /cvs/moelleryoung/MyJSDebug/src/com/my/jsdebug/debugger Entry /JSExecutorListener.java/1.1/// Unchanged JSExecutorListener.java Entry /JavaScriptExecutor.java/1.2/// Unchanged JavaScriptExecutor.java Directory src/com/my/jsdebug/debugger/actions /cvs/moelleryoung/MyJSDebug/src/com/my/jsdebug/debugger/actions Entry /ExecuteJavaScript.java/1.1/// Unchanged ExecuteJavaScript.java Directory src/com/my/jsdebug/test /cvs/moelleryoung/MyJSDebug/src/com/my/jsdebug/test Entry /BreakTester.java/1.2/// Unchanged BreakTester.java Argument . Directory . /cvs/moelleryoung/MyJSDebug update E cvs server: Updating . MT +updated MT text U MT fname plugin.xml MT newline MT -updated E cvs server: Updating icons E cvs server: Updating icons/dtool16 MT +updated MT text U MT fname icons/dtool16/debug_exc.gif MT newline MT -updated MT +updated MT text U MT fname icons/dtool16/rem_all_co.gif MT newline MT -updated MT +updated MT text U MT fname icons/dtool16/rem_co.gif MT newline MT -updated MT +updated MT text U MT fname icons/dtool16/resume_co.gif MT newline MT -updated MT +updated MT text U MT fname icons/dtool16/run_exc.gif MT newline MT -updated MT +updated MT text U MT fname icons/dtool16/suspend_co.gif MT newline MT -updated MT +updated MT text U MT fname icons/dtool16/terminate_all_co.gif MT newline MT -updated MT +updated MT text U MT fname icons/dtool16/terminate_co.gif MT newline MT -updated MT +updated MT text U MT fname icons/dtool16/watch_exp.gif MT newline MT -updated E cvs server: Updating icons/etool16 MT +updated MT text U MT fname icons/etool16/debug_exc.gif MT newline MT -updated MT +updated MT text U MT fname icons/etool16/rem_all_co.gif MT newline MT -updated MT +updated MT text U MT fname icons/etool16/rem_co.gif MT newline MT -updated MT +updated MT text U MT fname icons/etool16/resume_co.gif MT newline MT -updated MT +updated MT text U MT fname icons/etool16/run_exc.gif MT newline MT -updated MT +updated MT text U MT fname icons/etool16/suspend_co.gif MT newline MT -updated MT +updated MT text U MT fname icons/etool16/terminate_all_co.gif MT newline MT -updated MT +updated MT text U MT fname icons/etool16/terminate_co.gif MT newline MT -updated MT +updated MT text U MT fname icons/etool16/watch_exp.gif MT newline MT -updated E cvs server: Updating src E cvs server: Updating src/com E cvs server: Updating src/com/my E cvs server: Updating src/com/my/jsdebug MT +updated MT text U MT fname src/com/my/jsdebug/MyJSDebugPlugin.java MT newline MT -updated MT +updated MT text U MT fname src/com/my/jsdebug/MyJSDebugPluginImageRegistry.java MT newline MT -updated E cvs server: Updating src/com/my/jsdebug/debugger MT +updated MT text U MT fname src/com/my/jsdebug/debugger/JSExecutionManager.java MT newline MT -updated MT +updated MT text U MT fname src/com/my/jsdebug/debugger/JSExecutionManagerListener.java MT newline MT -updated MT +updated MT text U MT fname src/com/my/jsdebug/debugger/JSExecutorListener.java MT newline MT -updated MT +updated MT text U MT fname src/com/my/jsdebug/debugger/JavaScriptExecutor.java MT newline MT -updated E cvs server: Updating src/com/my/jsdebug/debugger/actions MT +updated MT text U MT fname src/com/my/jsdebug/debugger/actions/ExecuteJavaScript.java MT newline MT -updated E cvs server: Updating src/com/my/jsdebug/debugger/views MT +updated MT text U MT fname src/com/my/jsdebug/debugger/views/ExecutionOutput.java MT newline MT -updated E cvs server: Updating src/com/my/jsdebug/test MT +updated MT text U MT fname src/com/my/jsdebug/test/BreakTester.java MT newline MT -updated ok RESULT> Status OK: org.eclipse.team.cvs.core code=0 ok null I LOVE YOU Valid-responses ok error M E Checked-in Valid-requests Template Set-sticky MT Cl ear-static-directory Module-expansion Set-static-directory Clear-sticky New- entr y Merged Removed Updated Remove-entry Update-existing Copy-file Created Notified Mod-time valid-requests Valid-requests Root Valid-responses valid-requests Directory Max-dotdot Static- d irectory Sticky Entry EntryExtra Kopt Checkin-time Modified Is-modified UseUncha nged Unchanged Notify NotifyUser Questionable Utf8 Argument Argumentx Global_opt ion Gzip-stream wrapper-sendme-rcsOptions Set Rename VirtualRepository expand- mo dules ci co chown setowner chacl2 lsacl passwd info update diff log rlog add rem ove update-patches status ls rls rdiff tag rtag import admin export history rele ase watch-on watch-off watch-add watch-remove watchers editors init annotate ran notate noop version Rootless-stream-modification Kerberos-encrypt Gssapi- encrypt Protocol-encrypt Gssapi-authenticate Protocol-authenticate read-cvsrc read- cvsr c2 read-cvsignore read-cvswrappers Error-If-Reader server-codepage client- versio n Can-Rename Valid-RcsOptions ok Root /cvs/moelleryoung CMD> cvs status "plugin.xml" "icons/dtool16/debug_exc.gif" "icons/dtool16/rem_al l_co.gif" "icons/dtool16/rem_co.gif" "icons/dtool16/resume_co.gif" "icons/dtool 1 6/run_exc.gif" "icons/dtool16/suspend_co.gif" "icons/dtool16/terminate_all_co.g i f" "icons/dtool16/terminate_co.gif" "icons/dtool16/watch_exp.gif" "icons/etool1 6 /debug_exc.gif" "icons/etool16/rem_all_co.gif" "icons/etool16/rem_co.gif" "icon s /etool16/resume_co.gif" "icons/etool16/run_exc.gif" "icons/etool16/suspend_co.g i f" "icons/etool16/terminate_all_co.gif" "icons/etool16/terminate_co.gif" "icons / etool16/watch_exp.gif" "src/com/my/jsdebug/MyJSDebugPlugin.java" "src/com/my/js d ebug/MyJSDebugPluginImageRegistry.java" "src/com/my/jsdebug/debugger/JSExecutio n Manager.java" "src/com/my/jsdebug/debugger/JSExecutionManagerListener.java" "sr c /com/my/jsdebug/debugger/JSExecutorListener.java" "src/com/my/jsdebug/debugger/ J avaScriptExecutor.java" "src/com/my/jsdebug/debugger/actions/ExecuteJavaScript. j ava" "src/com/my/jsdebug/debugger/views/ExecutionOutput.java" "src/com/my/jsdeb u g/test/BreakTester.java" RESULT> org.eclipse.team.internal.ccvs.core.CVSException: Resource icons/dtool16 /debug_exc.gif is not a child of folder MyJSDebug !ENTRY org.eclipse.team.core 4 0 2005-01-18 10:02:09.231 !MESSAGE Problems reported while synchronizing CVS Workspace. 0 of 1 resources w ere synchronized. !SUBENTRY 1 org.eclipse.team.core 4 0 2005-01-18 10:02:09.247 !MESSAGE An error occurred synchronizing /MyJSDebug: Resource icons/dtool16/debu g_exc.gif is not a child of folder MyJSDebug !STACK 1 org.eclipse.team.internal.ccvs.core.CVSException: Resource icons/dtool16/debug_e xc.gif is not a child of folder MyJSDebug at org.eclipse.team.internal.ccvs.core.resources.RemoteFolder.getChild (R emoteFolder.java:346) at org.eclipse.team.internal.ccvs.core.client.Command.computeWorkResourc es(Command.java:224) at org.eclipse.team.internal.ccvs.core.client.Command.doExecute (Command. java:385) at org.eclipse.team.internal.ccvs.core.client.Command$1.run (Command.java :320) at org.eclipse.team.internal.ccvs.core.resources.RemoteFolder.run (Remote Folder.java:463) at org.eclipse.team.internal.ccvs.core.client.Command.execute (Command.ja va:332) at org.eclipse.team.internal.ccvs.core.resources.RemoteFolderTreeBuilder .fetchFileRevisions(RemoteFolderTreeBuilder.java:720) at org.eclipse.team.internal.ccvs.core.resources.RemoteFolderTreeBuilder .fetchFileRevisions(RemoteFolderTreeBuilder.java:280) at org.eclipse.team.internal.ccvs.core.resources.RemoteFolderTreeBuilder .buildTree(RemoteFolderTreeBuilder.java:175) at org.eclipse.team.internal.ccvs.core.resources.RemoteFolderTreeBuilder .buildRemoteTree(RemoteFolderTreeBuilder.java:138) at org.eclipse.team.internal.ccvs.core.resources.CVSWorkspaceRoot.getRem oteTree(CVSWorkspaceRoot.java:230) at org.eclipse.team.internal.ccvs.core.syncinfo.CVSResourceVariantTree.f etchVariant(CVSResourceVariantTree.java:79) at org.eclipse.team.core.variants.AbstractResourceVariantTree.refresh (Ab stractResourceVariantTree.java:94) at org.eclipse.team.internal.ccvs.core.syncinfo.CVSResourceVariantTree.r efresh(CVSResourceVariantTree.java:308) at org.eclipse.team.core.variants.AbstractResourceVariantTree.refresh (Ab stractResourceVariantTree.java:63) at org.eclipse.team.core.variants.ResourceVariantTreeSubscriber.refresh ( ResourceVariantTreeSubscriber.java:158) at org.eclipse.team.core.variants.ResourceVariantTreeSubscriber.refresh ( ResourceVariantTreeSubscriber.java:123) at org.eclipse.team.internal.ui.synchronize.RefreshSubscriberJob.run (Ref reshSubscriberJob.java:340) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66) !SUBENTRY 2 org.eclipse.team.cvs.core 4 1000 2005-01-18 10:02:09.247 !MESSAGE Resource icons/dtool16/debug_exc.gif is not a child of folder MyJSDebug
Your issue is not related.
I'm not so sure. When I finally got eclipse to recognize a (cygwin ssh/cvs) checkout, it rewrote some of the CVS/* files in CRLF format when they were previously LF-only. This resulted in the cygwin ssh/cvs client complaining about "No such directory X in Y". After capturing the output to a file, I found that the filenames were getting embedded CRs in them (i.e. "X" was actually "X^M"). (In reply to comment #37) > Your issue is not related. (In reply to comment #36) > I'm having similar problems -I think- (if its not the same please tell me so I > can open a separate issue). > > At seemingly random times I get the 'xxx is not a child of folder yyy' error > message from Eclipse team. The server is a windows cvs server, and I've only > seen it happen on binary resources. >
The original problem was due to a connection client that was adding CRs to the communication stream. We do not intend to modify the CVS client to operate under those considitions.
When I checkout my project, I get "Unknown response received from cvs server:". The result is the project has only partially downloaded. When I open some of the files that downloaded, they are incomplete as well. If I delete those files, they will still be incomplete. Its always the same files that produce the error, and they wont fully download. The other files will download fully every time. I'm using :ext: method using PuTTY. CVS version is: Concurrent Versions System (CVS) 1.11.17 (client/server)
What Eclipse version are you using? Can you try to use extssh and see if it works? Do you have compression set? If so turn it off and see if it works? Is there anything in the error log?
My compression was set to 0. Just for kicks, I set it to 4 after reading your message, and the projects downloaded flawlessly. Forgive my ignorance, but I'm new to this software. After examining the about tab, I believe my eclipse version is 2.1.2. WSAD version is 5.1.1. Maybe extssh would have worked for me, but I have been unable to get the configuration in a state that actually works, so I have been sticking with ext. (In reply to comment #41) > What Eclipse version are you using? Can you try to use extssh and see if it > works? Do you have compression set? If so turn it off and see if it works? Is > there anything in the error log?
In my environment the real cause actually was too simple to be mentioned. On my Solaris server hosting the cvs root, the cvs program ist located under /usr/local/bin and all users are getting Bash as default shell. In an interactive login shell $HOME/.bash_login is executed and there the PATH gets updated to include /usr/local/bin. So every logged-in user was able to execute cvs and successfully checking out modules from it. In an interactive non-login shell (the one Eclipse uses when opening a connection with extssh) only $HOME/.bashrc will be executed and all users reporting this problem didn't have a .bashrc in their home directory. Creating one and adding the extra path information (PATH=$PATH:/usr/local/bin; export PATH) to successfully locate the cvs program solved the problem.
In Eclipse 3.1.2 I have the same problem, y I was able to connect using the extssh method inside Eclipse, as described in the manual: http://help.eclipse.org/help30/index.jsp?topic=/org.eclipse.platform.doc.user/tasks/task-team-cmdlineclient.htm "3. The 'extssh' connection method The extssh connection method is unique to Eclipse CVS and doesn't exist in the command-line CVS client. If you are using extssh to connect to a SSH2 repository and would like to use the command line client for some CVS operations you can configure the ext connection method to use extssh when inside Eclipse. 1. Create a new repository location that uses the ext connection method. The repository path, host, and user should be identical to those in the extssh location. 2. Open the Team>CVS>Ext Connection Method preference page. 3. Enable Use another connection method type to connect and choose extssh. 4. Now when you use the ext connection method inside Eclipse, extssh will be used instead of an external client."
I'm experiencing this problem with Ganymede and cvs 1.12.12, with the extssh method!
Problem: -------- Connecting to CVS server using SSH gives "Unknown response received from cvs server:" Software Versions: ------------------ Workstation OS: Microsoft Windows XP SP3 CVS Server OS: Debian GNU/Linux 5.0 (Etch) (Stable) SSH Client: PuTTY 0.60 SSH Server: OpenSSH 5.1p1-5 CVS Client: CVS 1.11.5 CVS Server: CVS 1.12.13-12 Eclipse: Eclipse Ganymede 3.4.2 JVM: Sun JRE 1.6.0_13 My Certificate is a 2048 bit DSA certificate, and its loaded in Pageant. Testing with CVS command line tool: ----------------------------------- I've set the followin Windows environment variable: CVS_RSH=C:\Program Files\PuTTY\plink.exe If I use the CVS command on my workstation to connect to the servers then it works fine: C:\WINDOWS\Temp>cvs -d :ext:atterdag@cvs.se.lemche.net:/var/lib/cvs version Client: Concurrent Versions System (CVS) 1.11.5 (client) Server: Concurrent Versions System (CVS) 1.12.13 (client/server) C:\WINDOWS\Temp>cvs -d :ext:atterdag@cvs.se.lemche.net:/var/lib/cvs checkout examples cvs checkout: Updating examples U examples/.project cvs checkout: Updating examples/.settings U examples/.settings/org.eclipse.core.resources.prefs cvs checkout: Updating examples/batch U examples/batch/Fix IE.bat U examples/batch/LockScreen.bat cvs checkout: Updating examples/html U examples/html/charCount.html [...] C:\WINDOWS\Temp> Trying with Eclipse: -------------------- I've set up Eclispe CVS to use plink and pageant. Eclipse is located in C:\eclipse C:\eclipse\.options contains: org.eclipse.team.cvs.core/debug=true org.eclipse.team.cvs.core/cvsprotocol=true I'm running Eclipse with following swithes: C:\eclipse\eclipse.exe -debug -consolelog In Preference->Team->CVS->Ext Connection Methos I've set the following options: "Use an external program to connect" CVS_RSH: C:\Program Files\PuTTY\plink.exe Parameters: {user}@{host} CVS_SERVER: cvs.se.lemche.net I've defined the following Repository Location: Connection type: ext User: atterdag Password: Host: cvs.se.lemche.net Repository Path: /var/lib/cvs When I try to connect to the repository, then I get a "Unknown response received from cvs server:" And the following is printed to the console: Start VM: -Xms40m -Xmx256m -XX:MaxPermSize=256m -Djava.class.path=C:\eclipse\plugins\org.eclipse.equinox.launcher_1.0.101.R34x_v20081125.jar -os win32 -ws win32 -arch x86 -showsplash C:\eclipse\\plugins\org.eclipse.platform_3.3.101.v200902111700\splash.bmp -launcher C:\eclipse\eclipse.exe -name Eclipse --launcher.library C:\eclipse\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.101.R34x_v20080731\eclipse_1115.dll -startup C:\eclipse\plugins\org.eclipse.equinox.launcher_1.0.101.R34x_v20081125.jar -debug -consolelog -vm C:\Program Files\Java\jre6\bin\client\jvm.dll -vmargs -Xms40m -Xmx256m -XX:MaxPermSize=256m -Djava.class.path=C:\eclipse\plugins\org.eclipse.equinox.launcher_1.0.101.R34x_v20081125.jar Install location: file:/c:/eclipse/ Configuration file: file:/c:/eclipse/configuration/config.ini loaded Configuration location: file:/c:/eclipse/configuration/ Framework located: file:/c:/eclipse/plugins/org.eclipse.osgi_3.4.3.R34x_v20081215-1030.jar Framework classpath: file:/c:/eclipse/plugins/org.eclipse.osgi_3.4.3.R34x_v20081215-1030.jar Splash location: C:\eclipse\\plugins\org.eclipse.platform_3.3.101.v200902111700\splash.bmp Debug options: file:/C:/eclipse/.options loaded Time to load bundles: 15 Starting application: 625 !SESSION 2009-04-04 13:56:14.218 ----------------------------------------------- eclipse.buildId=M20090211-1700 java.version=1.6.0_13 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US Command-line arguments: -os win32 -ws win32 -arch x86 -debug -consolelog !ENTRY org.eclipse.jface 2 0 2009-04-04 13:56:17.953 !MESSAGE Keybinding conflicts occurred. They may interfere with normal accelerator operation. !SUBENTRY 1 org.eclipse.jface 2 0 2009-04-04 13:56:17.953 !MESSAGE A conflict occurred for ALT+SHIFT+D R: Binding(ALT+SHIFT+D R, ParameterizedCommand(Command(org.eclipse.rap.ui.launch.RAPLaunchShortcut.debug,Debug RAP Application, Debug RAP Application, Category(org.eclipse.debug.ui.category.run,Run/Debug,Run/Debug command category,true), , ,,true),null), org.eclipse.ui.defaultAcceleratorConfiguration, org.eclipse.ui.contexts.window,,,system) Binding(ALT+SHIFT+D R, ParameterizedCommand(Command(org.eclipse.wst.server.launchShortcut.debug,Debug on Server, Debug the current selection on a server, Category(org.eclipse.debug.ui.category.run,Run/Debug,Run/Debug command category,true), , ,,true),null), org.eclipse.ui.defaultAcceleratorConfiguration, org.eclipse.ui.contexts.window,,,system) !SUBENTRY 1 org.eclipse.jface 2 0 2009-04-04 13:56:17.953 !MESSAGE A conflict occurred for ALT+SHIFT+X R: Binding(ALT+SHIFT+X R, ParameterizedCommand(Command(org.eclipse.rap.ui.launch.RAPLaunchShortcut.run,Run RAP Application, Run RAP Application, Category(org.eclipse.debug.ui.category.run,Run/Debug,Run/Debug command category,true), , ,,true),null), org.eclipse.ui.defaultAcceleratorConfiguration, org.eclipse.ui.contexts.window,,,system) Binding(ALT+SHIFT+X R, ParameterizedCommand(Command(org.eclipse.wst.server.launchShortcut.run,Run on Server, Run the current selection on a server, Category(org.eclipse.debug.ui.category.run,Run/Debug,Run/Debug command category,true), , ,,true),null), org.eclipse.ui.defaultAcceleratorConfiguration, org.eclipse.ui.contexts.window,,,system) Application Started: 3828 Valid-responses ok error M E Updated Template Copy-file Mod-time Set-static-directory Update-existing Clear-static-directory Set-sti entry MT Notified Created Remove-entry Checked-in Merged Removed Valid-requests Clear-sticky Module-expansion valid-requests