From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#49030: 28.0.50; Tramp archive error Date: Tue, 15 Jun 2021 01:17:50 +0300 Organization: LINKOV.NET Message-ID: <87h7i0ghnl.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37460"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) To: 49030@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jun 15 01:24:10 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lsvwA-0009bO-1j for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 15 Jun 2021 01:24:10 +0200 Original-Received: from localhost ([::1]:51298 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lsvw9-0001z1-3s for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 14 Jun 2021 19:24:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50390) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lsvw2-0001yi-Jv for bug-gnu-emacs@gnu.org; Mon, 14 Jun 2021 19:24:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36401) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lsvw2-0002Si-97 for bug-gnu-emacs@gnu.org; Mon, 14 Jun 2021 19:24:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lsvw2-0005Ep-5t for bug-gnu-emacs@gnu.org; Mon, 14 Jun 2021 19:24:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 14 Jun 2021 23:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 49030 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.162371299820082 (code B ref -1); Mon, 14 Jun 2021 23:24:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 14 Jun 2021 23:23:18 +0000 Original-Received: from localhost ([127.0.0.1]:47947 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lsvvK-0005Dq-Gk for submit@debbugs.gnu.org; Mon, 14 Jun 2021 19:23:18 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:38702) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lsvvJ-0005Dj-1Z for submit@debbugs.gnu.org; Mon, 14 Jun 2021 19:23:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50326) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lsvvI-0001sd-Rx for bug-gnu-emacs@gnu.org; Mon, 14 Jun 2021 19:23:16 -0400 Original-Received: from relay4-d.mail.gandi.net ([217.70.183.196]:53743) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lsvvG-0001wC-De for bug-gnu-emacs@gnu.org; Mon, 14 Jun 2021 19:23:16 -0400 Original-Received: (Authenticated sender: juri@linkov.net) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id C156BE000B for ; Mon, 14 Jun 2021 23:23:08 +0000 (UTC) Received-SPF: pass client-ip=217.70.183.196; envelope-from=juri@linkov.net; helo=relay4-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:208522 Archived-At: 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()