tramp-devel
[Top][All Lists]
Advanced

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

Re: Tramp talks to ssh server on save-buffers-kill-emacs


From: Julian Scheid
Subject: Re: Tramp talks to ssh server on save-buffers-kill-emacs
Date: Thu, 03 Apr 2008 01:12:33 +1100
User-agent: Thunderbird 2.0.0.12 (Macintosh/20080213)

Michael Albinus wrote:
Tramp talks to a remote host only in case it sends a command. But I'm
not aware which command is sent when quitting Emacs.

Maybe some of your remote buffers weren't saved when you quit Emacs?
Then it is clear that Emacs tries to save such buffers when you quit,
and Tramp is not able to do the job.

Not necessarily, save-buffers-kill-emacs will ask for each unsaved file whether to save it - you would think that tramp doesn't have to talk to the server unless that question is answered with "yes".

Could you, please, set tramp-verbose to 6, and rerun the scenario?
I'ld like to see the Tramp debug buffer then.

Attached. File and host names have been changed to protect the innocent.

Thanks for your help,

Julian
00:06:13 tramp-get-file-property (8) # ....censored.py file-exists-p t
00:06:13 tramp-get-file-property (8) # ....censored.py file-readable-p undef
00:06:13 tramp-get-connection-property (7) # test test
00:06:13 tramp-get-connection-property (7) # process-name nil
00:06:13 tramp-maybe-open-connection (3) # Opening connection for 
address@hidden using ssh...
00:06:13 tramp-get-connection-property (7) # process-name nil
00:06:13 tramp-get-connection-property (7) # process-buffer nil
00:06:13 tramp-maybe-open-connection (6) # /bin/sh
00:06:13 tramp-maybe-open-connection (3) # Waiting 60s for local shell to come 
up...
00:06:13 tramp-get-connection-property (7) # check-remote-echo nil
00:06:13 tramp-get-connection-property (7) # check-remote-echo nil
00:06:13 tramp-get-connection-property (7) # check-remote-echo nil
00:06:13 tramp-get-connection-property (7) # check-remote-echo nil
00:06:13 tramp-wait-for-regexp (6) # 
ssh: Error resolving hostname somehost: No address associated with nodename
exit
$ 
00:06:13 tramp-get-file-property (8) #  gateway nil
00:06:13 tramp-set-connection-property (7) # temp-file /tmp/tramp.253dDa
00:06:13 tramp-flush-file-property (8) # /home/julians/censored
00:06:13 tramp-flush-file-property (8) # /home/julians/censored
00:06:13 tramp-flush-file-property (8) # /home/julians/censored
00:06:13 tramp-flush-file-property (8) # /home/julians/censored
00:06:13 tramp-flush-file-property (8) # /home/julians/censored
00:06:13 tramp-flush-file-property (8) # /home/julians/censored
00:06:13 tramp-flush-file-property (8) # /home/julians/censored
00:06:13 tramp-maybe-open-connection (3) # Sending command `ssh somehost -l 
julians  -e none && exit || exit'
00:06:13 tramp-get-connection-property (7) # process-name nil
00:06:13 tramp-get-connection-property (7) # remote-echo nil
00:06:13 tramp-send-command (6) # ssh somehost -l julians  -e none && exit || 
exit
00:06:13 tramp-get-connection-property (7) # process-name nil
00:06:13 tramp-get-connection-property (7) # chunksize nil
00:06:13 tramp-set-connection-property (7) # last-cmd-time (18419 33989 594651)
00:06:13 tramp-get-connection-property (7) # process-buffer nil
00:06:13 tramp-process-actions (3) # Waiting for prompts from remote shell
00:06:13 tramp-process-one-action (5) # Looking for regexp ".*ogin\( .*\)?: 
*\'" from remote shell
00:06:13 tramp-get-connection-property (7) # check-remote-echo nil
00:06:13 tramp-get-connection-property (7) # check-remote-echo nil
00:06:13 tramp-process-one-action (5) # Looking for regexp 
"^.*\([pP]assword\|[pP]assphrase\).*:? *\'" from remote shell
00:06:13 tramp-get-connection-property (7) # check-remote-echo nil
00:06:13 tramp-get-connection-property (7) # check-remote-echo nil
00:06:13 tramp-process-one-action (5) # Looking for regexp "^.*\(Connection 
\(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login 
\(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication 
methods left to try!\)\|Permission denied\|Sorry, try again\.\|Tramp connection 
closed\).*\|^.*\(Received signal [0-9]+\).*\'" from remote shell
00:06:13 tramp-get-connection-property (7) # check-remote-echo nil
00:06:13 tramp-get-connection-property (7) # check-remote-echo nil
00:06:13 tramp-process-one-action (5) # Looking for regexp "^[^#$%>
]*[#$%>] *\'" from remote shell
00:06:13 tramp-get-connection-property (7) # check-remote-echo nil
00:06:13 tramp-get-connection-property (7) # check-remote-echo nil
00:06:13 tramp-process-one-action (5) # Looking for regexp "^[^#$%>
]*[#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\'" from remote shell
00:06:13 tramp-get-connection-property (7) # check-remote-echo nil
00:06:13 tramp-get-connection-property (7) # check-remote-echo nil
00:06:13 tramp-process-one-action (5) # Looking for regexp "\(Are you sure you 
want to continue connecting (yes/no)\?\)\s-*\'" from remote shell
00:06:13 tramp-get-connection-property (7) # check-remote-echo nil
00:06:13 tramp-get-connection-property (7) # check-remote-echo nil
00:06:13 tramp-process-one-action (5) # Looking for regexp "\(\(?:Store key in 
cache\? (y/\|Update cached key\? (y/n, Return cancels connectio\)n)\)\s-*\'" 
from remote shell
00:06:13 tramp-get-connection-property (7) # check-remote-echo nil
00:06:13 tramp-get-connection-property (7) # check-remote-echo nil
00:06:13 tramp-process-one-action (5) # Looking for regexp "\(TERM = 
(.*)\|Terminal type\? \[.*\]\)\s-*\'" from remote shell
00:06:13 tramp-get-connection-property (7) # check-remote-echo nil
00:06:13 tramp-get-connection-property (7) # check-remote-echo nil
00:06:13 tramp-process-one-action (5) # Looking for regexp "\'" from remote 
shell
00:06:13 tramp-get-connection-property (7) # check-remote-echo nil
00:06:13 tramp-get-connection-property (7) # check-remote-echo nil
00:06:13 tramp-process-one-action (5) # Call `tramp-action-process-alive'
00:06:13 tramp-process-one-action (5) # Looking for regexp ".*ogin\( .*\)?: 
*\'" from remote shell
00:06:13 tramp-get-connection-property (7) # check-remote-echo nil
00:06:13 tramp-get-connection-property (7) # check-remote-echo nil
00:06:13 tramp-process-one-action (5) # Looking for regexp 
"^.*\([pP]assword\|[pP]assphrase\).*:? *\'" from remote shell
00:06:13 tramp-get-connection-property (7) # check-remote-echo nil
00:06:13 tramp-get-connection-property (7) # check-remote-echo nil
00:06:13 tramp-process-one-action (5) # Looking for regexp "^.*\(Connection 
\(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login 
\(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication 
methods left to try!\)\|Permission denied\|Sorry, try again\.\|Tramp connection 
closed\).*\|^.*\(Received signal [0-9]+\).*\'" from remote shell
00:06:13 tramp-get-connection-property (7) # check-remote-echo nil
00:06:13 tramp-get-connection-property (7) # check-remote-echo nil
00:06:13 tramp-process-one-action (5) # Looking for regexp "^[^#$%>
]*[#$%>] *\'" from remote shell
00:06:13 tramp-get-connection-property (7) # check-remote-echo nil
00:06:13 tramp-get-connection-property (7) # check-remote-echo nil
00:06:13 tramp-process-one-action (5) # Looking for regexp "^[^#$%>
]*[#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\'" from remote shell
00:06:13 tramp-get-connection-property (7) # check-remote-echo nil
00:06:13 tramp-get-connection-property (7) # check-remote-echo nil
00:06:13 tramp-process-one-action (5) # Looking for regexp "\(Are you sure you 
want to continue connecting (yes/no)\?\)\s-*\'" from remote shell
00:06:13 tramp-get-connection-property (7) # check-remote-echo nil
00:06:13 tramp-get-connection-property (7) # check-remote-echo nil
00:06:13 tramp-process-one-action (5) # Looking for regexp "\(\(?:Store key in 
cache\? (y/\|Update cached key\? (y/n, Return cancels connectio\)n)\)\s-*\'" 
from remote shell
00:06:13 tramp-get-connection-property (7) # check-remote-echo nil
00:06:13 tramp-get-connection-property (7) # check-remote-echo nil
00:06:13 tramp-process-one-action (5) # Looking for regexp "\(TERM = 
(.*)\|Terminal type\? \[.*\]\)\s-*\'" from remote shell
00:06:13 tramp-get-connection-property (7) # check-remote-echo nil
00:06:13 tramp-get-connection-property (7) # check-remote-echo nil
00:06:13 tramp-process-one-action (5) # Looking for regexp "\'" from remote 
shell
00:06:13 tramp-get-connection-property (7) # check-remote-echo nil
00:06:13 tramp-get-connection-property (7) # check-remote-echo nil
00:06:13 tramp-process-one-action (5) # Call `tramp-action-process-alive'
00:06:13 tramp-get-connection-property (7) # process-buffer nil
00:06:13 tramp-process-actions (6) # 
ssh: Error resolving hostname somehost: No address associated with nodename
exit
00:06:13 tramp-process-actions (1) # File error: Process died

reply via email to

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