unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* 23.0.60; TRAMP 2.1.13-pre has problems with its cache
@ 2008-03-12 10:28 Peter Dyballa
  2008-03-12 20:17 ` Michael Albinus
  0 siblings, 1 reply; 9+ messages in thread
From: Peter Dyballa @ 2008-03-12 10:28 UTC (permalink / raw)
  To: emacs-pretest-bug

Hello!

Awaking my Mac from hibernation I tried to update the contents in a  
dired buffer of a remote server with 'g'. An error happened:

	byte-code: Wrong number of arguments: #[(key) "..." [key tramp-cache- 
data vectorp copy-sequence 3 nil remhash] 4 ("/usr/local/share/emacs/ 
23.0.60/lisp/net/tramp-cache.elc" . 4907)], 2

File-precious-flag is t, tramp-verbose is 0. A second 'g' asked me  
for the pass-phrase. Since then the old dired contents can easily be  
updated with 'g'.


In GNU Emacs 23.0.60.1 (powerpc-apple-darwin8.11.0, X toolkit, Xaw3d  
scroll bars)
  of 2008-03-09 on Latsche.local
Windowing system distributor `The XFree86 Project, Inc', version  
11.0.40400000
configured using `configure  '--without-pop' '--without-sound' '-- 
with-xft' '--with-libotf' '--with-dbus' '--with-x-toolkit=athena' '-- 
enable-font-backend' '--enable-locallisppath=/Library/Application  
Support/Emacs/calendar23:/Library/Application Support/Emacs/caml:/ 
Library/Application Support/Emacs:/sw/share/emacs21/site-lisp/elib'  
'PKG_CONFIG_PATH=/sw/lib/freetype219/lib/pkgconfig:/sw/lib/ 
fontconfig2/lib/pkgconfig:/sw/lib/pkgconfig:/sw/lib/system-openssl/ 
lib/pkgconfig:/sw/share/pkgconfig:/usr/lib/pkgconfig:/usr/local/lib/ 
pkgconfig:/usr/local/clamXav/lib/pkgconfig:/usr/X11R6/lib/pkgconfig'  
'CPPFLAGS=-no-cpp-precomp -D__BIND_NOSTATIC -I/sw/lib/fontconfig2/ 
include -I/sw/lib/freetype219/include -I/sw/lib/freetype219/include/ 
freetype2 -idirafter /usr/X11R6/include' 'CFLAGS=-ggdb -gfull - 
bind_at_load -Wno-pointer-sign -pipe -fPIC -mcpu=7450 -mtune=7450 - 
mno-powerpc64 -fast -mpim-altivec -ftree-vectorize -freorder-blocks- 
and-partition -fno-crossjumping' 'LDFLAGS=-bind_at_load -dead_strip - 
multiply_defined suppress -L/sw/lib/fontconfig2/lib -L/sw/lib/ 
freetype219/lib''

Important settings:
   value of $LC_ALL: C
   value of $LC_COLLATE: nil
   value of $LC_CTYPE: de_DE.UTF-8
   value of $LC_MESSAGES: nil
   value of $LC_MONETARY: nil
   value of $LC_NUMERIC: nil
   value of $LC_TIME: nil
   value of $LANG: de_DE.UTF-8
   value of $XMODIFIERS: nil
   locale-coding-system: utf-8-unix
   default-enable-multibyte-characters: t

Major mode: Fundamental

Minor modes in effect:
   TeX-PDF-mode: t
   shell-dirtrack-mode: t
   show-paren-mode: t
   display-time-mode: t
   desktop-save-mode: t
   tooltip-mode: t
   mouse-wheel-mode: t
   menu-bar-mode: t
   file-name-shadow-mode: t
   global-font-lock-mode: t
   font-lock-mode: t
   blink-cursor-mode: t
   global-auto-composition-mode: t
   auto-composition-mode: t
   auto-compression-mode: t
   column-number-mode: t
   line-number-mode: t
   transient-mark-mode: t


--
Mit friedvollen Grüßen

   Pete

I wouldn't recommend sex, drugs or insanity for everyone, but they've  
always worked for me.
				– Hunter S. Thompson







^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 23.0.60; TRAMP 2.1.13-pre has problems with its cache
  2008-03-12 10:28 23.0.60; TRAMP 2.1.13-pre has problems with its cache Peter Dyballa
@ 2008-03-12 20:17 ` Michael Albinus
  2008-03-13 10:45   ` Peter Dyballa
  0 siblings, 1 reply; 9+ messages in thread
From: Michael Albinus @ 2008-03-12 20:17 UTC (permalink / raw)
  To: Peter Dyballa; +Cc: emacs-pretest-bug

Peter Dyballa <Peter_Dyballa@Freenet.DE> writes:

> Hello!

Hi,

> Awaking my Mac from hibernation I tried to update the contents in a
> dired buffer of a remote server with 'g'. An error happened:
>
> 	byte-code: Wrong number of arguments: #[(key) "..." [key
> tramp-cache-
> data vectorp copy-sequence 3 nil remhash] 4 ("/usr/local/share/emacs/
> 23.0.60/lisp/net/tramp-cache.elc" . 4907)], 2

Not reproducible here :-(

Could you, please, remove the byte-compiled Tramp files, and restart
Emacs then? (setq debug-on-error t) would be also useful for getting a
backtrace when you reproduce the error.

Best regards, Michael.




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 23.0.60; TRAMP 2.1.13-pre has problems with its cache
  2008-03-12 20:17 ` Michael Albinus
@ 2008-03-13 10:45   ` Peter Dyballa
  2008-03-13 11:26     ` Michael Albinus
  0 siblings, 1 reply; 9+ messages in thread
From: Peter Dyballa @ 2008-03-13 10:45 UTC (permalink / raw)
  To: Michael Albinus; +Cc: emacs-pretest-bug


Am 12.03.2008 um 21:17 schrieb Michael Albinus:

> Could you, please, remove the byte-compiled Tramp files, and restart
> Emacs then? (setq debug-on-error t) would be also useful for getting a
> backtrace when you reproduce the error.


In *Messages* these messages from the echo-area are recorded after I  
pressed g:

	Type C-x 4 b RET to restore old contents of temp window.
	File error: Process has died
	File error: [[Regexp `^M?
	///c7b186264bc0f83c8c7ac2327c75f3a0^M?
	' not found in 10 secs]]
	Entering debugger...

(^M is really a CR) *Backtrace* buffer still contains some byte-code:

Debugger entered--Lisp error: (wrong-number-of-arguments (lambda  
(key) "Remove all properties identified by KEY.
KEY identifies the connection, it is either a process or a  
vector." (when (vectorp key) (setq key (copy-sequence key)) (aset key  
3 nil)) (remhash key tramp-cache-data)) 2)
   tramp-flush-connection-property(["ssh" "root" "tatnam.tisdom.de" "/ 
var/log/"] nil)
   byte-code("…" [vec p tramp-flush-connection-property nil delete- 
process] 4)
   tramp-maybe-open-connection(["ssh" "root" "tatnam.tisdom.de" "/var/ 
log/"])
   tramp-send-command(["ssh" "root" "tatnam.tisdom.de" "/var/log/"] "/ 
bin/ls -lat /var/log/.")
   tramp-handle-insert-directory("/ssh:root@tatnam.tisdom.de:/var/ 
log/" "--dired -lat" nil t)
   apply(tramp-handle-insert-directory ("/ssh:root@tatnam.tisdom.de:/ 
var/log/" "--dired -lat" nil t))
   tramp-sh-file-name-handler(insert-directory "/ 
ssh:root@tatnam.tisdom.de:/var/log/" "--dired -lat" nil t)
   apply(tramp-sh-file-name-handler insert-directory ("/ 
ssh:root@tatnam.tisdom.de:/var/log/" "--dired -lat" nil t))
   tramp-file-name-handler(insert-directory "/ 
ssh:root@tatnam.tisdom.de:/var/log/" "--dired -lat" nil t)
   insert-directory("/ssh:root@tatnam.tisdom.de:/var/log/" "--dired - 
lat" nil t)
   dired-insert-directory("/ssh:root@tatnam.tisdom.de:/var/log/" "- 
lat" nil nil t)
   dired-readin-insert()
   dired-readin()
   dired-revert(t nil)
   revert-buffer(t)
   call-interactively(revert-buffer nil nil)


(No Windows work today)

--
Mit friedvollen Grüßen

   Pete

Der Langsamste, der sein Ziel nicht aus den Augen verliert, geht noch  
immer geschwinder als jener, der ohne Ziel umherirrt.

                       Gotthold Ephraim Lessing







^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 23.0.60; TRAMP 2.1.13-pre has problems with its cache
  2008-03-13 10:45   ` Peter Dyballa
@ 2008-03-13 11:26     ` Michael Albinus
  2008-03-13 22:44       ` Peter Dyballa
  2008-03-14 16:55       ` Peter Dyballa
  0 siblings, 2 replies; 9+ messages in thread
From: Michael Albinus @ 2008-03-13 11:26 UTC (permalink / raw)
  To: Peter Dyballa; +Cc: emacs-pretest-bug

[-- Attachment #1: Type: text/plain, Size: 740 bytes --]

Peter Dyballa <Peter_Dyballa@freenet.de> writes:

> Debugger entered--Lisp error: (wrong-number-of-arguments (lambda
> (key) "Remove all properties identified by KEY.
> KEY identifies the connection, it is either a process or a  vector."
> (when (vectorp key) (setq key (copy-sequence key)) (aset key  3 nil))
> (remhash key tramp-cache-data)) 2)
>   tramp-flush-connection-property(["ssh" "root" "tatnam.tisdom.de" "/
> var/log/"] nil)
>   byte-code("…" [vec p tramp-flush-connection-property nil delete-
> process] 4)
>   tramp-maybe-open-connection(["ssh" "root" "tatnam.tisdom.de" "/var/
> log/"])

OK, that's clear. Could you, please, try the appended patch?

Thanks for all your testing, and best regards, Michael.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 601 bytes --]

*** /tmp/tramp.el.~2.629.~	Thu Mar 13 12:17:18 2008
--- /tmp/tramp.el	Thu Mar 13 12:17:18 2008
***************
*** 6150,6157 ****
  	    ;; The error will be catched locally.
  	    (tramp-error vec 'file-error "Awake did fail")))
        (file-error
!        (tramp-flush-connection-property vec nil)
!        (tramp-flush-connection-property p nil)
         (delete-process p)
         (setq p nil)))
  
--- 6150,6155 ----
  	    ;; The error will be catched locally.
  	    (tramp-error vec 'file-error "Awake did fail")))
        (file-error
         (delete-process p)
         (setq p nil)))
  

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 23.0.60; TRAMP 2.1.13-pre has problems with its cache
  2008-03-13 11:26     ` Michael Albinus
@ 2008-03-13 22:44       ` Peter Dyballa
  2008-03-14 16:55       ` Peter Dyballa
  1 sibling, 0 replies; 9+ messages in thread
From: Peter Dyballa @ 2008-03-13 22:44 UTC (permalink / raw)
  To: Michael Albinus; +Cc: emacs-pretest-bug


Am 13.03.2008 um 12:26 schrieb Michael Albinus:

> OK, that's clear. Could you, please, try the appended patch?

I'm prepared. Either tomorrow evening or on Saturday.

--
Mit friedvollen Grüßen

              ~  O
   Pete       ~~_\\_/%
              ~  O  o






^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 23.0.60; TRAMP 2.1.13-pre has problems with its cache
  2008-03-13 11:26     ` Michael Albinus
  2008-03-13 22:44       ` Peter Dyballa
@ 2008-03-14 16:55       ` Peter Dyballa
  2008-03-15 10:09         ` Michael Albinus
  1 sibling, 1 reply; 9+ messages in thread
From: Peter Dyballa @ 2008-03-14 16:55 UTC (permalink / raw)
  To: Michael Albinus; +Cc: emacs-pretest-bug


Am 13.03.2008 um 12:26 schrieb Michael Albinus:

> OK, that's clear. Could you, please, try the appended patch?


No more problems with caches, 'though a bit "rusty" when a reopening  
the connection. I'll try tomorrow once more with, hopefully, more  
patience.

--
Mit friedvollen Grüßen

   Pete

Either this man is dead or my watch has stopped.
				- Groucho Marx







^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 23.0.60; TRAMP 2.1.13-pre has problems with its cache
  2008-03-14 16:55       ` Peter Dyballa
@ 2008-03-15 10:09         ` Michael Albinus
  2008-03-15 10:31           ` Peter Dyballa
  0 siblings, 1 reply; 9+ messages in thread
From: Michael Albinus @ 2008-03-15 10:09 UTC (permalink / raw)
  To: Peter Dyballa; +Cc: emacs-pretest-bug

Peter Dyballa <Peter_Dyballa@freenet.de> writes:

> No more problems with caches, 'though a bit "rusty" when a reopening
> the connection.

Is it more "rusty" than initial set up of the connection? This is in
fact what Tramp does - complete initialization.

Best regards, Michael.




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 23.0.60; TRAMP 2.1.13-pre has problems with its cache
  2008-03-15 10:09         ` Michael Albinus
@ 2008-03-15 10:31           ` Peter Dyballa
  2008-03-17 12:38             ` Peter Dyballa
  0 siblings, 1 reply; 9+ messages in thread
From: Peter Dyballa @ 2008-03-15 10:31 UTC (permalink / raw)
  To: Michael Albinus; +Cc: emacs-pretest-bug


Am 15.03.2008 um 11:09 schrieb Michael Albinus:

>> No more problems with caches, 'though a bit "rusty" when a reopening
>> the connection.
>
> Is it more "rusty" than initial set up of the connection? This is in
> fact what Tramp does - complete initialization.


Yes, plus one more thing: the prompt in mini-buffer to enter the pass- 
phrase does not appear. It seems that mini-buffer is waiting for this  
input, because when I started to type the pass-phrase blindly the  
prompt appeared and the point where the first dot was displayed was  
shifted right towards the middle of the window.

I'll watch it once more tomorrow!

--
Mit friedvollen Grüßen

   Pete

There's no place like 127.0.0.1
			– origin unknown







^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 23.0.60; TRAMP 2.1.13-pre has problems with its cache
  2008-03-15 10:31           ` Peter Dyballa
@ 2008-03-17 12:38             ` Peter Dyballa
  0 siblings, 0 replies; 9+ messages in thread
From: Peter Dyballa @ 2008-03-17 12:38 UTC (permalink / raw)
  To: emacs-pretest-bug; +Cc: Michael Albinus


Am 15.03.2008 um 11:31 schrieb Peter Dyballa:

>>> No more problems with caches, 'though a bit "rusty" when a reopening
>>> the connection.
>>
>> Is it more "rusty" than initial set up of the connection? This is in
>> fact what Tramp does - complete initialization.
>
>
> Yes, plus one more thing: the prompt in mini-buffer to enter the  
> pass-phrase does not appear.


This "rust" seems to have gone with the latest build on Saturday,  
after having applied your last patch. Now the prompt appears  
reliably ...

--
Mit friedvollen Grüßen

   Pete

»¿ʇı̣ əsnqɐ ʇ,uɐɔ noʎ ɟı̣
ɓuı̣ɥʇʎuɐ sı̣ pooɓ ʇɐɥʍ«






^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2008-03-17 12:38 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-12 10:28 23.0.60; TRAMP 2.1.13-pre has problems with its cache Peter Dyballa
2008-03-12 20:17 ` Michael Albinus
2008-03-13 10:45   ` Peter Dyballa
2008-03-13 11:26     ` Michael Albinus
2008-03-13 22:44       ` Peter Dyballa
2008-03-14 16:55       ` Peter Dyballa
2008-03-15 10:09         ` Michael Albinus
2008-03-15 10:31           ` Peter Dyballa
2008-03-17 12:38             ` Peter Dyballa

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).