bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Thierry Volpiatto
Subject: bug#48067: 28.0.50; Tramp error: cannot determine gio monitor
Date: Wed, 28 Apr 2021 05:59:29 +0000

Thierry Volpiatto <thievol@posteo.net> writes:

> Hi Michael,
>
> Michael Albinus <michael.albinus@gmx.de> writes:
>
>> [[PGP Encrypted Part:OK]]
>> Thierry Volpiatto <thievol@posteo.net> 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?
>
> Yes, and anyway this happen as well with sudo method on same machine.

More exactly, it seems gio command is correctly extracted in
`tramp-sh-handle-file-notify-add-watch` with
(tramp-get-remote-gio-monitor v) but later in the process filter
(tramp-connection-property-p proc "gio-file-monitor") returns nil.

Thanks.

>>> Thanks.
>>
>> Best regards, Michael.
>>
>>
>> [[End of PGP Encrypted Part]]


-- 
Thierry

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]