GNU bug report logs -
#56078
29.0.50; url-handler-mode fails to open FTP link
Previous Next
Reported by: Po Lu <luangruo <at> yahoo.com>
Date: Sun, 19 Jun 2022 04:28:01 UTC
Severity: normal
Found in version 29.0.50
Fixed in version 29.1
Done: Michael Albinus <michael.albinus <at> gmx.de>
Bug is archived. No further changes may be made.
Full log
Message #11 received at 56078 <at> debbugs.gnu.org (full text, mbox):
Lars Ingebrigtsen <larsi <at> gnus.org> writes:
Hi,
> I'm unable to reproduce that, but I do get a different error:
>
> tramp-error: Lisp nesting exceeds ‘max-lisp-eval-depth’: ""
>
> With debug-on-error I get yet another error:
>
> Debugger entered--Lisp error: (overflow-error "16212958658533785600")
> signal(overflow-error ("16212958658533785600"))
> tramp-error((tramp-file-name "ftp" nil nil "ftp.cam.ov.com" nil "/pub/xrn/unsupported/xrn-motif.tgz" nil) overflow-error "16212958658533785600")
> tramp-signal-hook-function(overflow-error ("16212958658533785600"))
> signal(overflow-error ("16212958658533785600"))
> ange-ftp-hook-function(file-exists-p "/ftp:ftp.cam.ov.com:/pub/xrn/unsupported/xrn-motif...")
> apply(ange-ftp-hook-function file-exists-p "/ftp:ftp.cam.ov.com:/pub/xrn/unsupported/xrn-motif...")
> tramp-ftp-file-name-handler(file-exists-p "/ftp:ftp.cam.ov.com:/pub/xrn/unsupported/xrn-motif...")
> apply(tramp-ftp-file-name-handler file-exists-p "/ftp:ftp.cam.ov.com:/pub/xrn/unsupported/xrn-motif...")
> tramp-file-name-handler(file-exists-p "/ftp:ftp.cam.ov.com:/pub/xrn/unsupported/xrn-motif...")
> file-exists-p("/ftp:ftp.cam.ov.com:/pub/xrn/unsupported/xrn-motif...")
> (progn (file-exists-p "/ftp:ftp.cam.ov.com:/pub/xrn/unsupported/xrn-motif..."))
> eval((progn (file-exists-p "/ftp:ftp.cam.ov.com:/pub/xrn/unsupported/xrn-motif...")) t)
> elisp--eval-last-sexp(nil)
>
> And I get that without url-handler-mode. Just the following reproduces
> the error for me:
>
> (file-exists-p "/ftp:ftp.cam.ov.com:/pub/xrn/unsupported/xrn-motif.tgz")
>
> Michael added to the CCs.
I'm able to reproduce it. In ange-ftp-get-files, there is
--8<---------------cut here---------------start------------->8---
(setq directory (file-name-as-directory directory)) ;normalize
--8<---------------cut here---------------end--------------->8---
As consequence the file name
"/ftp:ftp.cam.ov.com:/pub/xrn/unsupported/xrn-motif.tgz/" is used from
now on, which invokes tramp-archive functionality.
I'm working on a fix. As work-around, you can eval
--8<---------------cut here---------------start------------->8---
(customize-set-variable 'tramp-archive-enabled nil)
--8<---------------cut here---------------end--------------->8---
after starting Emacs.
The case with the url-handler-mode I haven't investigated yet.
Best regards, Michael.
This bug report was last modified 2 years and 336 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.