GNU bug report logs - #49030
28.0.50; Tramp archive error

Previous Next

Package: emacs;

Reported by: Juri Linkov <juri <at> linkov.net>

Date: Mon, 14 Jun 2021 23:24:01 UTC

Severity: normal

Tags: patch

Merged with 49043

Found in versions 27.1, 28.0.50

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 49030 in the body.
You can then email your comments to 49030 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#49030; Package emacs. (Mon, 14 Jun 2021 23:24:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Juri Linkov <juri <at> linkov.net>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 14 Jun 2021 23:24:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> linkov.net>
To: bug-gnu-emacs <at> gnu.org
Subject: 28.0.50; Tramp archive error
Date: Tue, 15 Jun 2021 01:17:50 +0300
This regression is caused by some change during the previous month.
Here is 100% reproducible test case:

0. emacs -Q -l dired-x
   or (require 'dired-x) after start,
   i.e. the problem is reproducible only when dired-x is loaded.

1. create a .tar or .tgz archive with e.g. `tar zcvf test.tgz file`

2. in Dired flag this archive for deletion with 'd' and type 'x' or just 'D',
   confirm the deletion.

Such error is signaled:

  Tramp: Opening connection for file%3A%2F%2F%2Ftmp%2Ftest.tgz using archive...failed
  file-error: org.gtk.GDBus.UnmappedGError.Quark._g_2dio_2derror_2dquark.Code1
  Error when getting information for file “/tmp/test.tgz”: No such file or directory

I discovered this problem after saveplace.el started to fail
when in a Dired buffer the current file is a .tar archive:

Debugger entered--Lisp error: (file-error "org.gtk.GDBus.UnmappedGError.Quark._g_2dio_2derror_2dquark.Code1 Error when getting information for file “/tmp/test.tar”: No such file or directory")
  signal(file-error ("org.gtk.GDBus.UnmappedGError.Quark._g_2dio_2derror_2dquark.Code1 Error when getting information for file “/tmp/test.tar”: No such file or directory"))
  tramp-error((tramp-file-name "archive" nil nil "file%3A%2F%2F%2Ftmp%2Ftest.tar" nil "/" nil) file-error "org.gtk.GDBus.UnmappedGError.Quark._g_2dio_2derror_2dquark.Code1 Error when getting information for file “/tmp/test.tar”: No such file or directory")
  tramp-gvfs-dbus-event-error((dbus-event :session 3 33 ":1.3" ":1.251" nil nil "org.gtk.GDBus.UnmappedGError.Quark._g_2dio_2derror_2dquark.Code1" ignore (:string "Error when getting information for file “/tmp/test.tar”: No such file or directory")) (dbus-error "org.gtk.GDBus.UnmappedGError.Quark._g_2dio_2derror_2dquark.Code1 Error when getting information for file “/tmp/test.tar”: No such file or directory"))
  run-hook-with-args(tramp-gvfs-dbus-event-error (dbus-event :session 3 33 ":1.3" ":1.251" nil nil "org.gtk.GDBus.UnmappedGError.Quark._g_2dio_2derror_2dquark.Code1" ignore (:string "Error when getting information for file “/tmp/test.tar”: No such file or directory")) (dbus-error "org.gtk.GDBus.UnmappedGError.Quark._g_2dio_2derror_2dquark.Code1 Error when getting information for file “/tmp/test.tar”: No such file or directory"))
  dbus-handle-event((dbus-event :session 3 33 ":1.3" ":1.251" nil nil "org.gtk.GDBus.UnmappedGError.Quark._g_2dio_2derror_2dquark.Code1" ignore (:string "Error when getting information for file “/tmp/test.tar”: No such file or directory")))
  funcall-interactively(dbus-handle-event (dbus-event :session 3 33 ":1.3" ":1.251" nil nil "org.gtk.GDBus.UnmappedGError.Quark._g_2dio_2derror_2dquark.Code1" ignore (:string "Error when getting information for file “/tmp/test.tar”: No such file or directory")))
  command-execute(dbus-handle-event nil [(dbus-event :session 3 33 ":1.3" ":1.251" nil nil "org.gtk.GDBus.UnmappedGError.Quark._g_2dio_2derror_2dquark.Code1" ignore (:string "Error when getting information for file “/tmp/test.tar”: No such file or directory"))] t)
  read-event(nil nil 0.1)
  tramp-gvfs-maybe-open-connection((tramp-file-name "archive" nil nil "file%3A%2F%2F%2Ftmp%2Ftest.tar" nil "/" nil))
  tramp-gvfs-send-command((tramp-file-name "archive" nil nil "file%3A%2F%2F%2Ftmp%2Ftest.tar" nil "/" nil) "gvfs-info" "archive://file%253A%252F%252F%252Ftmp%252Ftest.tar/")
  tramp-gvfs-get-root-attributes("/archive:file%3A%2F%2F%2Ftmp%2Ftest.tar:/")
  tramp-gvfs-get-file-attributes("/archive:file%3A%2F%2F%2Ftmp%2Ftest.tar:/")
  tramp-gvfs-handle-file-attributes("/archive:file%3A%2F%2F%2Ftmp%2Ftest.tar:/")
  apply(tramp-gvfs-handle-file-attributes "/archive:file%3A%2F%2F%2Ftmp%2Ftest.tar:/")
  tramp-gvfs-file-name-handler(file-attributes "/archive:file%3A%2F%2F%2Ftmp%2Ftest.tar:/")
  apply(tramp-gvfs-file-name-handler file-attributes "/archive:file%3A%2F%2F%2Ftmp%2Ftest.tar:/")
  tramp-file-name-handler(file-attributes "/archive:file%3A%2F%2F%2Ftmp%2Ftest.tar:/")
  tramp-handle-file-exists-p("/archive:file%3A%2F%2F%2Ftmp%2Ftest.tar:/")
  apply(tramp-handle-file-exists-p "/archive:file%3A%2F%2F%2Ftmp%2Ftest.tar:/")
  tramp-gvfs-file-name-handler(file-exists-p "/archive:file%3A%2F%2F%2Ftmp%2Ftest.tar:/")
  apply(tramp-gvfs-file-name-handler file-exists-p "/archive:file%3A%2F%2F%2Ftmp%2Ftest.tar:/")
  tramp-file-name-handler(file-exists-p "/archive:file%3A%2F%2F%2Ftmp%2Ftest.tar:/")
  file-exists-p("/archive:file%3A%2F%2F%2Ftmp%2Ftest.tar:/")
  tramp-gvfs-handle-file-readable-p("/archive:file%3A%2F%2F%2Ftmp%2Ftest.tar:/")
  apply(tramp-gvfs-handle-file-readable-p "/archive:file%3A%2F%2F%2Ftmp%2Ftest.tar:/")
  tramp-gvfs-file-name-handler(file-readable-p "/archive:file%3A%2F%2F%2Ftmp%2Ftest.tar:/")
  apply(tramp-gvfs-file-name-handler file-readable-p "/archive:file%3A%2F%2F%2Ftmp%2Ftest.tar:/")
  tramp-file-name-handler(file-readable-p "/archive:file%3A%2F%2F%2Ftmp%2Ftest.tar:/")
  file-readable-p("/archive:file%3A%2F%2F%2Ftmp%2Ftest.tar:/")
  tramp-archive-handle-file-readable-p("/tmp/test.tar/")
  apply(tramp-archive-handle-file-readable-p "/tmp/test.tar/")
  tramp-archive-file-name-handler(file-readable-p "/tmp/test.tar/")
  save-place-forget-unreadable-files()
  save-place-alist-to-file()
  save-place-kill-emacs-hook()




Merged 49030 49043. Request was from Michael Albinus <michael.albinus <at> gmx.de> to control <at> debbugs.gnu.org. (Sat, 19 Jun 2021 15:58:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#49030; Package emacs. (Sat, 19 Jun 2021 16:16:01 GMT) Full text and rfc822 format available.

Message #10 received at 49030 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Juri Linkov <juri <at> linkov.net>
Cc: 49030 <at> debbugs.gnu.org
Subject: Re: bug#49030: 28.0.50; Tramp archive error
Date: Sat, 19 Jun 2021 18:14:55 +0200
Juri Linkov <juri <at> linkov.net> writes:

Hi Juri,

> This regression is caused by some change during the previous month.
> Here is 100% reproducible test case:
>
> 0. emacs -Q -l dired-x
>    or (require 'dired-x) after start,
>    i.e. the problem is reproducible only when dired-x is loaded.
>
> 1. create a .tar or .tgz archive with e.g. `tar zcvf test.tgz file`
>
> 2. in Dired flag this archive for deletion with 'd' and type 'x' or just 'D',
>    confirm the deletion.
>
> Such error is signaled:
>
>   Tramp: Opening connection for file%3A%2F%2F%2Ftmp%2Ftest.tgz using archive...failed
>   file-error: org.gtk.GDBus.UnmappedGError.Quark._g_2dio_2derror_2dquark.Code1
>   Error when getting information for file “/tmp/test.tgz”: No such file or directory

Thanks for the recipe. I've pushed a fix to master, could you pls check?

Best regards, Michael.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#49030; Package emacs. (Sat, 19 Jun 2021 23:14:02 GMT) Full text and rfc822 format available.

Message #13 received at 49030 <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> linkov.net>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 49030 <at> debbugs.gnu.org
Subject: Re: bug#49030: 28.0.50; Tramp archive error
Date: Sun, 20 Jun 2021 02:05:11 +0300
>> Such error is signaled:
>>
>>   Tramp: Opening connection for file%3A%2F%2F%2Ftmp%2Ftest.tgz using archive...failed
>>   file-error: org.gtk.GDBus.UnmappedGError.Quark._g_2dio_2derror_2dquark.Code1
>>   Error when getting information for file “/tmp/test.tgz”: No such file or directory
>
> Thanks for the recipe. I've pushed a fix to master, could you pls check?

Thanks for the fix.  I confirm that the error is fixed.
(I don't know if the merged bug#49043 can be closed.)




Reply sent to Michael Albinus <michael.albinus <at> gmx.de>:
You have taken responsibility. (Sun, 20 Jun 2021 14:23:02 GMT) Full text and rfc822 format available.

Notification sent to Juri Linkov <juri <at> linkov.net>:
bug acknowledged by developer. (Sun, 20 Jun 2021 14:23:02 GMT) Full text and rfc822 format available.

Message #18 received at 49030-done <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Juri Linkov <juri <at> linkov.net>
Cc: 49030-done <at> debbugs.gnu.org
Subject: Re: bug#49030: 28.0.50; Tramp archive error
Date: Sun, 20 Jun 2021 16:22:33 +0200
Version: 28.1

Juri Linkov <juri <at> linkov.net> writes:

Hi Juri,

>>> Such error is signaled:
>>>
>>>   Tramp: Opening connection for file%3A%2F%2F%2Ftmp%2Ftest.tgz
>>> using archive...failed
>>>   file-error: org.gtk.GDBus.UnmappedGError.Quark._g_2dio_2derror_2dquark.Code1
>>>   Error when getting information for file “/tmp/test.tgz”: No such
>>> file or directory
>>
>> Thanks for the recipe. I've pushed a fix to master, could you pls check?
>
> Thanks for the fix.  I confirm that the error is fixed.
> (I don't know if the merged bug#49043 can be closed.)

Thanks for the confirmation, I'm closing the bug.

Best regards, Michael.




Reply sent to Michael Albinus <michael.albinus <at> gmx.de>:
You have taken responsibility. (Sun, 20 Jun 2021 14:23:02 GMT) Full text and rfc822 format available.

Notification sent to Boruch Baum <boruch_baum <at> gmx.com>:
bug acknowledged by developer. (Sun, 20 Jun 2021 14:23:03 GMT) Full text and rfc822 format available.

bug marked as fixed in version 28.1, send any further explanations to 49043 <at> debbugs.gnu.org and Boruch Baum <boruch_baum <at> gmx.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Mon, 21 Jun 2021 12:26:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 20 Jul 2021 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 275 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.