all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#49030: 28.0.50; Tramp archive error
@ 2021-06-14 22:17 Juri Linkov
  2021-06-19 16:14 ` Michael Albinus
  0 siblings, 1 reply; 4+ messages in thread
From: Juri Linkov @ 2021-06-14 22:17 UTC (permalink / raw)
  To: 49030

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





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#49030: 28.0.50; Tramp archive error
  2021-06-14 22:17 bug#49030: 28.0.50; Tramp archive error Juri Linkov
@ 2021-06-19 16:14 ` Michael Albinus
  2021-06-19 23:05   ` Juri Linkov
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Albinus @ 2021-06-19 16:14 UTC (permalink / raw)
  To: Juri Linkov; +Cc: 49030

Juri Linkov <juri@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.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#49030: 28.0.50; Tramp archive error
  2021-06-19 16:14 ` Michael Albinus
@ 2021-06-19 23:05   ` Juri Linkov
  2021-06-20 14:22     ` Michael Albinus
  0 siblings, 1 reply; 4+ messages in thread
From: Juri Linkov @ 2021-06-19 23:05 UTC (permalink / raw)
  To: Michael Albinus; +Cc: 49030

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





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#49030: 28.0.50; Tramp archive error
  2021-06-19 23:05   ` Juri Linkov
@ 2021-06-20 14:22     ` Michael Albinus
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Albinus @ 2021-06-20 14:22 UTC (permalink / raw)
  To: Juri Linkov; +Cc: 49030-done

Version: 28.1

Juri Linkov <juri@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.





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-06-20 14:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-06-14 22:17 bug#49030: 28.0.50; Tramp archive error Juri Linkov
2021-06-19 16:14 ` Michael Albinus
2021-06-19 23:05   ` Juri Linkov
2021-06-20 14:22     ` Michael Albinus

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.