tramp-devel
[Top][All Lists]
Advanced

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

Re: tramp (2.0.39); Trapping in ange-ftp.


From: David Kastrup
Subject: Re: tramp (2.0.39); Trapping in ange-ftp.
Date: 21 Aug 2004 19:05:21 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

Michael Albinus <address@hidden> writes:

> David Kastrup <address@hidden> writes:
> 
> Hello Dvid,
> 
> > Debugger entered--Lisp error: (wrong-type-argument hash-table-p nil)
> >   gethash("auctex" nil unknown)
> >   ange-ftp-hash-entry-exists-p("auctex" nil)
> >   ange-ftp-file-attributes("/address@hidden:/pub/support/auctex")
> 
> I've tried to reproduce the problem, unfortunately without success. It
> doesn't look like a Tramp problem; Tramp simply passes all FTP actions
> to ange-ftp.
> 
> If I evaluate (file-attributes
> "/address@hidden:/pub/support/auctex")

Debugger entered--Lisp error: (wrong-type-argument hash-table-p nil)
  gethash("auctex" nil unknown)
  ange-ftp-hash-entry-exists-p("auctex" nil)
  ange-ftp-file-attributes("/address@hidden:/pub/support/auctex")
  apply(ange-ftp-file-attributes "/address@hidden:/pub/support/auctex")
  ange-ftp-hook-function(file-attributes "/address@hidden:/pub/support/auctex")
  apply(ange-ftp-hook-function file-attributes 
"/address@hidden:/pub/support/auctex")
  tramp-ftp-file-name-handler(file-attributes 
"/address@hidden:/pub/support/auctex")
  apply(tramp-ftp-file-name-handler file-attributes 
"/address@hidden:/pub/support/auctex")
  tramp-file-name-handler(file-attributes "/address@hidden:/pub/support/auctex")
  file-attributes("/address@hidden:/pub/support/auctex")
  eval((file-attributes "/address@hidden:/pub/support/auctex"))
  eval-last-sexp-1(nil)
  eval-last-sexp(nil)
  call-interactively(eval-last-sexp)

> I don't reach the call of `ange-ftp-hash-entry-exists-p', because
> ange-ftp detects before that the directory "support" doesn't exist. So
> I wonder how you've reached it.
> 
> Could you, please, check whether you run the ange-ftp from Emacs
> CVS?

Sure do, and quite a recent Emacs, too (from yesterday or so).
> 
> And could you, please, evaluate (file-attributes "/address@hidden:/pub")

Loading tramp...done
Opening FTP connection to ftp.dante.de...done
Logging in as user address@hidden
Listing /address@hidden:/...done
(t -1 -1 -1 (0 0) (0 0) (0 0) -1 "d?????????" nil 1 -1)

> This works for me without problems.

Here too.  But I evaluated this file-attributes call first, before I
tried again the one above without success.  Don't know whether the
order is important, but thought I should mention it.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum




reply via email to

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