Subject: bug#48067: 28.0.50; Tramp error: cannot determine gio monitor

From: Michael Albinus <[email-masked]>
Date: Tue, 27 Apr 2021 21:19:55 +0200

Thierry Volpiatto <[email-masked]> writes:

Hi Thierry,

> When adding a file-notify watcher to a remote directory in helm-find-files, I
> have an error "cannot determine gio monitor":
>
> Debugger entered--Lisp error: (file-error "Cannot determine gio monitor")
>   signal(file-error ("Cannot determine gio monitor"))
>   tramp-sh-gio-monitor-process-filter(#<process gio> "\n(gio monitor:15942): GLib-GIO-\33[1;33mWARNING\33[0m ...")
>   [...]
>
> This doesn't happen in emacs-27.2.
> It happens in emacs-28 compiled with native-comp or not.
>
> which gio returns /usr/bin/gio.
>
> Any ideas?

Tramp searches for the gio monitor on the remote host. Does it exist there?

> Thanks.

Best regards, Michael.