unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Peter Dyballa <Peter_Dyballa@freenet.de>
Cc: emacs-pretest-bug@gnu.org
Subject: Re: 23.0.60; TRAMP 2.1.13-pre has problems with its cache
Date: Thu, 13 Mar 2008 12:26:26 +0100	[thread overview]
Message-ID: <nqzlt2q2zh.fsf@alcatel-lucent.de> (raw)
In-Reply-To: <2CD61A21-5FDD-41B5-8482-52C14DAAD284@Freenet.DE> (Peter Dyballa's message of "Thu, 13 Mar 2008 11:45:45 +0100")

[-- 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)))
  

  reply	other threads:[~2008-03-13 11:26 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=nqzlt2q2zh.fsf@alcatel-lucent.de \
    --to=michael.albinus@gmx.de \
    --cc=Peter_Dyballa@freenet.de \
    --cc=emacs-pretest-bug@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 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).