emacs user | 1 Mar 2006 08:07
Picon
Favicon

Re: tramp (2.1.6-pre); ssh problems from cygwin to Linux


thanks for looking into this.  when I press ? in dired after teh attempt to 
copy the file, I get this explanation of the error:

Copy [-p] `/ssh:me <at> computer:/home/me/.dvipsrc' to `/home/me/.dvipsrc' 
failed:
(file-error . touch failed)

Copy [-p] failed for 1 of 1 file
	Wed Mar  1 02:03:15 2006	Buffer `me'

does this help?

>From: Michael Albinus <michael.albinus <at> gmx.de>
>To: "emacs user" <emacs_user <at> hotmail.com>
>CC: tramp-devel <at> gnu.org
>Subject: Re: tramp (2.1.6-pre); ssh problems from cygwin to Linux
>Date: Tue, 28 Feb 2006 22:53:27 +0100
>
>"emacs user" <emacs_user <at> hotmail.com> writes:
>
>Hi,
>
>sorry again for being late,
>
> > this is a more complete bug report for a problem reported previously.
> > the two debug tramp buffers are attached.
>
>I could walk now in more detail through the traces. From Tramp point
>of view, everything looks fine.
(Continue reading)

Michael Albinus | 1 Mar 2006 10:39
Picon
Picon
Gravatar

Re: tramp (2.1.6-pre); ssh problems from cygwin to Linux

"emacs user" <emacs_user <at> hotmail.com> writes:

> thanks for looking into this.  when I press ? in dired after teh
> attempt to copy the file, I get this explanation of the error:
>
> Copy [-p] `/ssh:me <at> computer:/home/me/.dvipsrc' to `/home/me/.dvipsrc'
> failed:
> (file-error . touch failed)
>
> Copy [-p] failed for 1 of 1 file
> 	Wed Mar  1 02:03:15 2006	Buffer `me'
>
> does this help?

Yes, indeed. Tramp tried to modify the time stamp of the local file
copy with the command "touch". This didn't work; likely Tramp didn't
find the "touch" command in your Cygwin environment. Could you check
this?

Best regards, Michael.
emacs user | 1 Mar 2006 16:16
Picon
Favicon

Re: tramp (2.1.6-pre); ssh problems from cygwin to Linux

touch seems to be available, at least under bash it is:

me <at> cata2:~ $ which touch
/bin/touch
me <at> cata2:~ $ touch .dvipsrc
me <at> cata2:~ $

any other way I can check this?

>From: Michael Albinus <michael.albinus <at> gmx.de>
>To: "emacs user" <emacs_user <at> hotmail.com>
>CC: tramp-devel <at> gnu.org
>Subject: Re: tramp (2.1.6-pre); ssh problems from cygwin to Linux
>Date: Wed, 01 Mar 2006 10:39:42 +0100
>
>"emacs user" <emacs_user <at> hotmail.com> writes:
>
> > thanks for looking into this.  when I press ? in dired after teh
> > attempt to copy the file, I get this explanation of the error:
> >
> > Copy [-p] `/ssh:me <at> computer:/home/me/.dvipsrc' to `/home/me/.dvipsrc'
> > failed:
> > (file-error . touch failed)
> >
> > Copy [-p] failed for 1 of 1 file
> > 	Wed Mar  1 02:03:15 2006	Buffer `me'
> >
> > does this help?
>
>Yes, indeed. Tramp tried to modify the time stamp of the local file
(Continue reading)

Michael Albinus | 2 Mar 2006 14:52
Picon
Picon
Gravatar

Re: tramp (2.1.6-pre); ssh problems from cygwin to Linux

"emacs user" <emacs_user <at> hotmail.com> writes:

> touch seems to be available, at least under bash it is:
>
> me <at> cata2:~ $ which touch
> /bin/touch
> me <at> cata2:~ $ touch .dvipsrc
> me <at> cata2:~ $
>
> any other way I can check this?

Please apply in your emacs under Cygwin:

M-: (call-process "touch" nil (current-buffer) nil "-t" "03010000" "/home/me/.dvipsrc")

I'ld like to see the output if any, and the return code, which should
be visible in the minibuffer.

Best regards, Michael.
emacs user | 3 Mar 2006 05:00
Picon
Favicon

Re: tramp (2.1.6-pre); ssh problems from cygwin to Linux


>From: Michael Albinus <michael.albinus <at> gmx.de>
>To: "emacs user" <emacs_user <at> hotmail.com>
>CC: tramp-devel <at> gnu.org
>Subject: Re: tramp (2.1.6-pre); ssh problems from cygwin to Linux
>Date: Thu, 02 Mar 2006 14:52:11 +0100
>
>"emacs user" <emacs_user <at> hotmail.com> writes:
>
> > touch seems to be available, at least under bash it is:
> >
> > me <at> cata2:~ $ which touch
> > /bin/touch
> > me <at> cata2:~ $ touch .dvipsrc
> > me <at> cata2:~ $
> >
> > any other way I can check this?
>
>Please apply in your emacs under Cygwin:
>
>M-: (call-process "touch" nil (current-buffer) nil "-t" "03010000" 
>"/home/me/.dvipsrc")
>
>I'ld like to see the output if any, and the return code, which should
>be visible in the minibuffer.
>
>Best regards, Michael.
>

ok, done.  the only output is:
(Continue reading)

Michael Albinus | 3 Mar 2006 13:58
Picon
Picon

Re: tramp (2.1.6-pre); ssh problems from cygwin to Linux

"emacs user" <emacs_user <at> hotmail.com> writes:

> ok, done.  the only output is:
> 0
> printed in the echo area after I give the above command.  the status
> of the file after this command is changed to:
>
>   -rw-------   1 me None       30 Mar  1 00:00 .dvipsrc

Strange. Exactly as it should do.

Could you, please, apply the appended patch to tramp.el (recent CVS
version)? It adds some traces.

Then you should rerun your test copying the file with Tramp. When it
fails again, I'ld like to see the *Messages* buffer.

Best regards, Michael.

Attachment: text/x-patch, 1048 bytes
_______________________________________________
Tramp-devel mailing list
Tramp-devel <at> gnu.org
http://lists.gnu.org/mailman/listinfo/tramp-devel
emacs user | 4 Mar 2006 17:50
Picon
Favicon

Re: tramp (2.1.6-pre); ssh problems from cygwin to Linux


>"emacs user" <emacs_user <at> hotmail.com> writes:
>
> > ok, done.  the only output is:
> > 0
> > printed in the echo area after I give the above command.  the status
> > of the file after this command is changed to:
> >
> >   -rw-------   1 me None       30 Mar  1 00:00 .dvipsrc
>
>Strange. Exactly as it should do.
>
>Could you, please, apply the appended patch to tramp.el (recent CVS
>version)? It adds some traces.
>
>Then you should rerun your test copying the file with Tramp. When it
>fails again, I'ld like to see the *Messages* buffer.
>
>Best regards, Michael.
>

ok, here is the messages buffer.  I also did make distclean and then 
recompiled from scratch.  perhaps you can see some problem in the 
compilation record.  thanks!  I really hope all this is not due to me doing 
something silly...   Eli

--------------------------
Tramp: Found remote shell prompt on `computer'
Tramp: Waiting 30s for remote `/bin/sh' to come up...
Reading directory /ssh:me <at> computer:/home/me/...
(Continue reading)

Michael Albinus | 5 Mar 2006 14:36
Picon
Picon
Gravatar

Re: tramp (2.1.6-pre); ssh problems from cygwin to Linux

"emacs user" <emacs_user <at> hotmail.com> writes:

> Wrote /home/me/.dvipsrc
> Tramp: command `touch -t 200106100236.39 /home/me/.dvipsrc´ rc 2
> Tramp: buffer `´
> Copy [-p] failed for 1 of 1 file--type ? for details ((.dvipsrc))

That is still strange. The touch command looks fine, and it shouldn't
return with error code 2. And it doesn't say anything.

Anyway, I've changed that function that it raises a warning only in
case touch fails. I believe it isn't so important.

You can try latest Tramp from CVS.

Best regards, Michel.
emacs user | 5 Mar 2006 18:20
Picon
Favicon

Re: tramp (2.1.6-pre); ssh problems from cygwin to Linux

brilliant! this finally works, many thanks!  life is much easier again.

now tha twe solved the problem with teh ssh methohd, I will shortly report 
an scp problem from cygwin to linux which seems a bit more difficult 
perhaps.  Eli

>From: Michael Albinus <michael.albinus <at> gmx.de>

>Anyway, I've changed that function that it raises a warning only in
>case touch fails. I believe it isn't so important.
>
>You can try latest Tramp from CVS.
>
>Best regards, Michel.

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
emacs user | 5 Mar 2006 18:27
Picon
Favicon

tramp from cvs: scp problem from cygwin to linux

hello again,

so I use scp from cygwin to open my remote linux home directory, and then 
press "C" to copy a file.  this fails, and I am attaching the various debug 
buffers etc.  Please let me know if there is anything I can do to help with 
this.

--------------------------------
Copy [-p] `/scp:me <at> computer:/home/me/.dvipsrc' to `/home/me/.dvipsrc' 
failed:
(file-error Login failed)

Copy [-p] failed for 1 of 1 file
	Sun Mar  5 11:36:45 2006	Buffer `me'


--------------------------------
Process *tramp/scp me <at> computer*<2> exited abnormally with code 2

--------------------------------
12:13:36 tramp-maybe-open-connection (3) # Opening connection for 
me <at> computer using scp...
12:13:36 tramp-get-connection-property (7) # process-name nil
12:13:36 tramp-get-connection-property (7) # process-buffer nil
12:13:36 tramp-maybe-open-connection (3) # Waiting 60s for local shell to 
come up...
12:13:36 tramp-get-connection-property (7) # check-remote-echo nil
12:13:36 tramp-get-connection-property (7) # check-remote-echo nil
12:13:36 tramp-get-connection-property (7) # check-remote-echo nil
12:13:36 tramp-get-connection-property (7) # check-remote-echo nil
(Continue reading)


Gmane