From: Ritchie <ritchiecai@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Tramp error in emacs 23
Date: Fri, 28 Aug 2009 05:11:53 -0700 (PDT) [thread overview]
Message-ID: <130776ae-282b-46e2-a0d9-c1db057e02d4@u20g2000prg.googlegroups.com> (raw)
In-Reply-To: mailman.5553.1251431981.2239.help-gnu-emacs@gnu.org
> This looks like the wrong order of the stat information, and the shell
> prompt. Could you, please, set tramp-verbose to 10, and rerun your test
> (in a new session, preferred if you start "emacs -Q")? Then show the
> resulting *debug tramp/...* buffer.
here is the *Messages* buffer :
----------------------------------------------------------------------------------------------------------------------------------------------
Loading tramp...done
Tramp: Opening connection for zcai@172.16.94.130 using ssh...
Tramp: Waiting 60s for local shell to come up...
Tramp: Sending command `ssh 172.16.94.130 -l zcai -q -e none && exit
|| exit'
Tramp: Waiting for prompts from remote shell
Tramp: Sending password
Tramp: Found remote shell prompt on `172.16.94.130'
Wrote /var/folders/WC/WC6D0XcHGkGKQu4JkwOX-k+++TI/-Tmp-/tramp.
5630014f.py
Loading /Users/zcai/.emacs.d/my-python.el (source)...
Pymacs loading ropemacs...done
Loading /Users/zcai/.emacs.d/py-mode-ext.el (source)...done
Loading /Users/zcai/.emacs.d/pyp.el (source)...done
Pymacs loading pycomplete...done
Loading /Users/zcai/.emacs.d/my-python.el (source)...done
Using the CPython shell
Loading vc-hg...done
pabbrev scavenging...
File error: `\stat -c '(("%N") %h %u %g %X.0 %Y.0 %Z.0 %s.0 "%A" t %i.
0 -1)' /home/zcai/bisquik-stable/TG/bisquik/QS/qs_service.py' does not
return a valid Lisp expression: `tramp_exit_status 0
///25d74bf62e0017975810a0a35b0367fc
(("`/home/zcai/bisquik-stable/TG/bisquik/QS/qs_service.py'") 1 501
1000 1251460512.0 1251459265.0 1251459265.0 13206.0 "-rw-r--r--" t
3646.0 -1)
'
File error: `\stat -c '(("%N") %h %u %g %X.0 %Y.0 %Z.0 %s.0 "%A" t %i.
0 -1)' /home/zcai/bisquik-stable/TG/bisquik/QS/qs_service.py' does not
return a valid Lisp expression: `'
pabbrev scavenging...
File error: `\stat -c '(("%N") %h %u %g %X.0 %Y.0 %Z.0 %s.0 "%A" t %i.
0 -1)' /home/zcai/bisquik-stable/TG/bisquik/QS/qs_service.py' does not
return a valid Lisp expression: `'
pabbrev scavenging...
pabbrev scavenging (118 words qs_service.py buffer)...
pabbrev scavenging (168 words qs_service.py buffer)...
pabbrev scavenging (216 words qs_service.py buffer)...
pabbrev scavenging (237 words qs_service.py buffer)...
pabbrev scavenging (257 words qs_service.py buffer)...
pabbrev scavenging (276 words qs_service.py buffer)...
pabbrev scavenging (286 words qs_service.py buffer)...
pabbrev scavenging (298 words qs_service.py buffer)...
pabbrev scavenging (304 words qs_service.py buffer)...
pabbrev scavenging (316 words qs_service.py buffer)...
pabbrev scavenging (320 words qs_service.py buffer)...
pabbrev scavenging (332 words qs_service.py buffer)...
pabbrev scavenging (336 words qs_service.py buffer)...
pabbrev scavenging (343 words qs_service.py buffer)...
pabbrev scavenging (350 words qs_service.py buffer)...
pabbrev scavenging (363 words qs_service.py buffer)...
pabbrev scavenging (369 words qs_service.py buffer)...
pabbrev scavenging (377 words qs_service.py buffer)...
pabbrev scavenging (387 words qs_service.py buffer)...
pabbrev scavenging (390 words qs_service.py buffer)... [2 times]
pabbrev scavenging...done
Quit
pabbrev scavenging...
pabbrev scavenging (390 words qs_service.py buffer)... [28 times]
pabbrev scavenging (392 words qs_service.py buffer)...
pabbrev scavenging (397 words qs_service.py buffer)...
pabbrev scavenging...done
call-interactively: Beginning of buffer
pabbrev scavenging...
pabbrev scavenging (397 words qs_service.py buffer)... [23 times]
pabbrev scavenging...done
pabbrev scavenging...
pabbrev scavenging (397 words qs_service.py buffer)... [23 times]
pabbrev scavenging...done
======================================================================================
here is the last part of *debug tramp/ssh ...* buffer :
----------------------------------------------------------------------------------------------------------------------------------------------
///2619be965b1edc1845eb1f51f45ced3d
04:19:08 tramp-get-connection-property (7) # process-buffer nil
04:19:08 tramp-set-file-property (8) # /home/zcai/bisquik-stable/TG/
bisquik/QS/qs_service.py file-exists-p t
04:19:08 tramp-get-connection-property (7) # stat \stat
04:19:08 tramp-handle-file-attributes-with-stat (5) # file attributes
with stat: /home/zcai/bisquik-stable/TG/bisquik/QS/qs_service.py
04:19:08 tramp-get-connection-property (7) # stat \stat
04:19:08 tramp-get-connection-property (7) # process-name nil
04:19:08 tramp-get-connection-property (7) # last-cmd-time (19095
48428 431384)
04:19:08 tramp-get-connection-property (7) # process-name nil
04:19:08 tramp-get-connection-property (7) # remote-echo nil
04:19:08 tramp-send-command (6) # \stat -c '(("%N") %h %u %g %X.0 %Y.0
%Z.0 %s.0 "%A" t %i.0 -1)' /home/zcai/bisquik-stable/TG/bisquik/QS/
qs_service.py 2>/dev/null; echo tramp_exit_status $?
04:19:08 tramp-get-connection-property (7) # process-name nil
04:19:08 tramp-get-connection-property (7) # chunksize 0
04:19:08 tramp-set-connection-property (7) # last-cmd-time (19095
48428 535474)
04:19:08 tramp-send-string (10) # \stat -c '(("%N") %h %u %g %X.0 %Y.0
%Z.0 %s.0 "%A" t %i.0 -1)' /home/zcai/bisquik-stable/TG/bisquik/QS/
qs_service.py 2>/dev/null; echo tramp_exit_status $?
04:19:08 tramp-get-connection-property (7) # process-buffer nil
04:19:08 tramp-get-connection-property (7) # check-remote-echo nil
04:19:08 tramp-get-connection-property (7) # check-remote-echo nil
04:19:08 tramp-accept-process-output (10) # *tramp/ssh zcai@lenny* run
04:19:08 tramp-accept-process-output (10) #
(("`/home/zcai/bisquik-stable/TG/bisquik/QS/qs_service.py'") 1 501
1000 1251458333.0 1251458332.0 1251458332.0 13206.0 "-rw-r--r--" t
3646.0 -1)
tramp_exit_status 0
///2619be965b1edc1845eb1f51f45ced3d
04:19:08 tramp-get-connection-property (7) # check-remote-echo nil
04:19:08 tramp-get-connection-property (7) # check-remote-echo nil
04:19:08 tramp-wait-for-regexp (6) #
(("`/home/zcai/bisquik-stable/TG/bisquik/QS/qs_service.py'") 1 501
1000 1251458333.0 1251458332.0 1251458332.0 13206.0 "-rw-r--r--" t
3646.0 -1)
tramp_exit_status 0
///2619be965b1edc1845eb1f51f45ced3d
04:19:08 tramp-get-connection-property (7) # process-buffer nil
04:19:08 tramp-get-connection-property (7) # process-buffer nil
04:19:08 tramp-get-connection-property (7) # gid-integer 1000
04:19:08 tramp-set-file-property (8) # /home/zcai/bisquik-stable/TG/
bisquik/QS/qs_service.py file-attributes-integer (nil 1 501 1000
(19095 48413) (19095 48412) (19095 48412) 13206 -rw-r--r-- nil (0 .
3646) (-1 . 0))
04:19:08 tramp-flush-file-property (8) # /home/zcai/bisquik-stable/TG/
bisquik/QS/qs_service.py
04:19:08 tramp-get-file-property (8) # /home/zcai/bisquik-stable/TG/
bisquik/QS/qs_service.py file-attributes-integer undef
04:19:08 tramp-get-file-property (8) # /home/zcai/bisquik-stable/TG/
bisquik/QS/qs_service.py file-exists-p undef
04:19:08 tramp-get-connection-property (7) # file-exists test -e
04:19:08 tramp-get-connection-property (7) # process-name nil
04:19:08 tramp-get-connection-property (7) # last-cmd-time (19095
48428 535474)
04:19:08 tramp-get-connection-property (7) # process-name nil
04:19:08 tramp-get-connection-property (7) # remote-echo nil
04:19:08 tramp-send-command (6) # test -e /home/zcai/bisquik-stable/TG/
bisquik/QS/qs_service.py 2>/dev/null; echo tramp_exit_status $?
04:19:08 tramp-get-connection-property (7) # process-name nil
04:19:08 tramp-get-connection-property (7) # chunksize 0
04:19:08 tramp-set-connection-property (7) # last-cmd-time (19095
48428 644650)
04:19:08 tramp-send-string (10) # test -e /home/zcai/bisquik-stable/TG/
bisquik/QS/qs_service.py 2>/dev/null; echo tramp_exit_status $?
04:19:08 tramp-get-connection-property (7) # process-buffer nil
04:19:08 tramp-get-connection-property (7) # check-remote-echo nil
04:19:08 tramp-get-connection-property (7) # check-remote-echo nil
04:19:08 tramp-accept-process-output (10) # *tramp/ssh zcai@lenny* run
04:19:08 tramp-accept-process-output (10) #
tramp_exit_status 0
///2619be965b1edc1845eb1f51f45ced3d
04:19:08 tramp-get-connection-property (7) # check-remote-echo nil
04:19:08 tramp-get-connection-property (7) # check-remote-echo nil
04:19:08 tramp-wait-for-regexp (6) #
tramp_exit_status 0
///2619be965b1edc1845eb1f51f45ced3d
04:19:08 tramp-get-connection-property (7) # process-buffer nil
04:19:08 tramp-set-file-property (8) # /home/zcai/bisquik-stable/TG/
bisquik/QS/qs_service.py file-exists-p t
04:19:08 tramp-get-connection-property (7) # stat \stat
04:19:08 tramp-handle-file-attributes-with-stat (5) # file attributes
with stat: /home/zcai/bisquik-stable/TG/bisquik/QS/qs_service.py
04:19:08 tramp-get-connection-property (7) # stat \stat
04:19:08 tramp-get-connection-property (7) # process-name nil
04:19:08 tramp-get-connection-property (7) # last-cmd-time (19095
48428 644650)
04:19:08 tramp-get-connection-property (7) # process-name nil
04:19:08 tramp-get-connection-property (7) # remote-echo nil
04:19:08 tramp-send-command (6) # \stat -c '(("%N") %h %u %g %X.0 %Y.0
%Z.0 %s.0 "%A" t %i.0 -1)' /home/zcai/bisquik-stable/TG/bisquik/QS/
qs_service.py 2>/dev/null; echo tramp_exit_status $?
04:19:08 tramp-get-connection-property (7) # process-name nil
04:19:08 tramp-get-connection-property (7) # chunksize 0
04:19:08 tramp-set-connection-property (7) # last-cmd-time (19095
48428 751679)
04:19:08 tramp-send-string (10) # \stat -c '(("%N") %h %u %g %X.0 %Y.0
%Z.0 %s.0 "%A" t %i.0 -1)' /home/zcai/bisquik-stable/TG/bisquik/QS/
qs_service.py 2>/dev/null; echo tramp_exit_status $?
04:19:08 tramp-get-connection-property (7) # process-buffer nil
04:19:08 tramp-get-connection-property (7) # check-remote-echo nil
04:19:08 tramp-get-connection-property (7) # check-remote-echo nil
04:19:08 tramp-accept-process-output (10) # *tramp/ssh zcai@lenny* run
04:19:08 tramp-accept-process-output (10) #
(("`/home/zcai/bisquik-stable/TG/bisquik/QS/qs_service.py'") 1 501
1000 1251458333.0 1251458332.0 1251458332.0 13206.0 "-rw-r--r--" t
3646.0 -1)
tramp_exit_status 0
///2619be965b1edc1845eb1f51f45ced3d
04:19:08 tramp-get-connection-property (7) # check-remote-echo nil
04:19:08 tramp-get-connection-property (7) # check-remote-echo nil
04:19:08 tramp-wait-for-regexp (6) #
(("`/home/zcai/bisquik-stable/TG/bisquik/QS/qs_service.py'") 1 501
1000 1251458333.0 1251458332.0 1251458332.0 13206.0 "-rw-r--r--" t
3646.0 -1)
tramp_exit_status 0
///2619be965b1edc1845eb1f51f45ced3d
04:19:08 tramp-get-connection-property (7) # process-buffer nil
04:19:08 tramp-get-connection-property (7) # process-buffer nil
04:19:08 tramp-get-connection-property (7) # gid-integer 1000
04:19:08 tramp-set-file-property (8) # /home/zcai/bisquik-stable/TG/
bisquik/QS/qs_service.py file-attributes-integer (nil 1 501 1000
(19095 48413) (19095 48412) (19095 48412) 13206 -rw-r--r-- nil (0 .
3646) (-1 . 0))
======================================================================================
It seems like it has something to do with the pabbrev-mode (2.0) i'm
using. The error happens when the pabbrev-mode tries to scavenge words
in the file. Sometimes the error keeps coming, but in sometimes it
fixes itself. If you look at the *Messages* buffer, it fails at first
few tries, then everything was OK.
It could also go the other way around, Ok at first, then error.
What cause the error? I have no clue yet.
regards
Ritchie
next prev parent reply other threads:[~2009-08-28 12:11 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-28 0:44 Tramp error in emacs 23 Ritchie
2009-08-28 3:59 ` Michael Albinus
[not found] ` <mailman.5553.1251431981.2239.help-gnu-emacs@gnu.org>
2009-08-28 12:11 ` Ritchie [this message]
2009-08-30 8:51 ` Michael Albinus
[not found] ` <mailman.5655.1251622290.2239.help-gnu-emacs@gnu.org>
2009-08-30 13:16 ` Ritchie
2009-08-30 13:54 ` Ritchie
2009-08-31 12:52 ` Michael Albinus
2009-08-31 18:59 ` Michael Albinus
[not found] ` <mailman.5705.1251723151.2239.help-gnu-emacs@gnu.org>
2009-09-02 15:46 ` Michael Albinus
2009-08-28 14:01 ` Ritchie
-- strict thread matches above, loose matches on Subject: below --
2009-08-30 13:23 Ritchie
[not found] ` <8088ed8d-5c85-4dd5-a646-6304b4eda140@i4g2000prm.googlegroups.com>
2009-08-30 13:37 ` Ritchie
2009-08-30 13:38 Ritchie
2009-08-30 13:39 ` Ritchie
2009-08-30 13:42 ` Ritchie
2009-08-30 13:48 ` Ritchie
2009-08-30 13:51 ` Ritchie
2009-08-30 13:51 ` Ritchie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=130776ae-282b-46e2-a0d9-c1db057e02d4@u20g2000prg.googlegroups.com \
--to=ritchiecai@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.