help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Tramp error in emacs 23


From: Ritchie
Subject: Re: Tramp error in emacs 23
Date: Fri, 28 Aug 2009 05:11:53 -0700 (PDT)
User-agent: G2/1.0

> 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


reply via email to

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