Stephen Berman <[email protected]> writes:
Hi Steve,
>> Could you pls check whether the appended patch helps?
>
> Thanks. I applied the patch and rebuilt but I still get the same
> failure with the same backtrace and no Tramp debug output. I also tried
> `M-x tramp-cleanup-all-connections' (though the only entry in
> ~/.emacs.d/tramp was `(nil)'), but to no effect.
I've modified the Avahi service name in zeroconf.el (to a wrong one). By
this, I could provoke the error locally. The appended patch has fixed
this for me, also in case of "not existing" Avahi service. Could you pls
check this patch, instead of the previous one?
> Steve Berman
Best regards, Michael.
diff --git a/lisp/tramp-gvfs.el b/lisp/tramp-gvfs.el
index 6e116731..0d800cb4 100644
--- a/lisp/tramp-gvfs.el
+++ b/lisp/tramp-gvfs.el
@@ -2466,7 +2466,8 @@ This uses \"avahi-browse\" in case D-Bus is not enabled in Avahi."
(when tramp-gvfs-enabled
;; Suppress D-Bus error messages and Tramp traces.
- (let (tramp-gvfs-dbus-event-vector tramp-verbose fun)
+ (let ((tramp-verbose 0)
+ tramp-gvfs-dbus-event-vector fun)
;; Add completion functions for services announced by DNS-SD.
;; See <http://www.dns-sd.org/ServiceTypes.html> for valid service types.
(zeroconf-init tramp-gvfs-zeroconf-domain)