Thank you for the prompt reply! I am not sure whether it is related to the language. On the old system (Xubuntu 18.04), there is also a German locale, but the connection is working (file-directory-p returns true).
OUTPUT1 ON THE WORKING SYSTEM display name: Mobile edit name: Mobile name: Mobile type: directory size: 0 uri: davs://[email protected]/Mobile attributes: standard::type: 2 standard::name: Mobile standard::display-name: Mobile standard::edit-name: Mobile standard::icon: folder standard::content-type: inode/directory standard::fast-content-type: inode/directory standard::size: 0 standard::symbolic-icon: folder-symbolic etag::value: AAABfnSiJPAAAAF4GCjKng id::filesystem: dav:host=webdav.smartdrive.web.de,ssl=true,user=xy.xy access::can-trash: FALSE time::modified: 1642634290 time::modified-usec: 0 time::created: 1615313029 OUTPUT ON THE WORKING SYSTEM: ;; Emacs: 26.3 Tramp: 2.3.5.26.3 -*- mode: outline; -*- 20:01:04.767830 tramp-get-file-property (8) # /Mobile file-truename undef 20:01:04.770339 tramp-get-file-property (8) # /Mobile file-attributes undef 20:01:04.770524 tramp-gvfs-get-root-attributes (5) # file gvfs attributes: /Mobile 20:01:04.771754 tramp-call-process (6) # ‘locale -a’ nil *temp* 20:01:04.775012 tramp-call-process (6) # 0 C C.UTF-8 de_AT.utf8 de_BE.utf8 de_CH.utf8 de_DE.utf8 de_IT.utf8 de_LI.utf8 de_LU.utf8 en_AG en_AG.utf8 en_AU.utf8 en_BW.utf8 en_CA.utf8 en_DK.utf8 en_GB.utf8 en_HK.utf8 en_IE.utf8 en_IL en_IL.utf8 en_IN en_IN.utf8 en_NG en_NG.utf8 en_NZ.utf8 en_PH.utf8 en_SG.utf8 en_US.utf8 en_ZA.utf8 en_ZM en_ZM.utf8 en_ZW.utf8 POSIX 20:01:04.775333 tramp-get-local-locale (7) # locale en_US.utf8 20:01:04.775513 tramp-get-connection-property (7) # gio-tool undef 20:01:04.775696 tramp-call-process (6) # ‘gio version’ nil nil 20:01:04.778651 tramp-call-process (6) # 0 2.56.4 20:01:04.778834 tramp-set-connection-property (7) # gio-tool t 20:01:04.778998 tramp-get-connection-property (7) # process-buffer nil 20:01:04.779152 tramp-get-connection-property (7) # process-buffer nil 20:01:04.779291 tramp-set-connection-property (7) # process-buffer nil 20:01:04.779404 tramp-get-connection-property (7) # process-buffer nil 20:01:04.779495 tramp-get-connection-property (7) # process-buffer nil 20:01:04.779642 tramp-get-file-property (8) # / fuse-mountpoint nil 20:01:04.779756 tramp-get-file-property (8) # / list-mounts undef 20:01:04.779904 tramp-gvfs-connection-mounted-p (6) # dbus-call-method (:session org.gtk.vfs.Daemon /org/gtk/vfs/mounttracker org.gtk.vfs.MountTracker ListMounts) 20:01:04.781617 tramp-gvfs-connection-mounted-p (6) # ((":1.73" "/org/gtk/vfs/mount/1" "xy.xy auf webdav.smartdrive.web.de" "dav:host=webdav.smartdrive.web.de,ssl=true,user=xy.xy" "" ". GThemedIcon folder-remote folder" ". GThemedIcon folder-remote-symbolic folder-symbolic folder-remote folder" "" t "/run/user/1000/gvfs/dav:host=webdav.smartdrive.web.de,ssl=true,user=xy. xy" ("/" (("host" ("webdav.smartdrive.web.de")) ("ssl" ("true")) ("type" ("dav")) ("user" ("xy.xy")))) "") (":1.57" "/org/gtk/vfs/mount/1" "Papierkorb" "trash:" "" ". GThemedIcon user-trash user" ". GThemedIcon user-trash-symbolic user-symbolic user-trash user" "" nil "" ("/" (("type" ("trash")))) "")) 20:01:04.781850 tramp-set-file-property (8) # / list-mounts ((:1.73 /org/gtk/vfs/mount/1 xy.xy auf webdav.smartdrive.web.de dav:host=webdav.smartdrive.web.de,ssl=true,user=xy.xy . GThemedIcon folder-remote folder . GThemedIcon folder-remote-symbolic folder- symbolic folder-remote folder t (47 114 117 110 47 117 115 101 114 47 49 48 48 48 47 103 118 102 115 47 100 97 118 58 104 111 115 116 61 119 101 98 100 97 118 46 115 109 97 114 116 100 114 105 118 101 46 119 101 98 46 100 101 44 115 115 108 61 116 114 117 101 44 117 115 101 114 61 98 101 114 110 104 97 114 100 46 104 97 115 99 104 101 0) ((47 0) ((host ((119 101 98 100 97 118 46 115 109 97 114 116 100 114 105 118 101 46 119 101 98 46 100 101 0))) (ssl ((116 114 117 101 0))) (type ((100 97 118 0))) (user ((98 101 114 110 104 97 114 100 46 104 97 115 99 104 101 0))))) (0)) (:1.57 /org/gtk/vfs/mount/1 Papierkorb trash: . GThemedIcon user-trash user . GThemedIcon user-trash-symbolic user-symbolic user- trash user nil (0) ((47 0) ((type ((116 114 97 115 104 0))))) (0))) 20:01:04.782241 tramp-set-file-property (8) # / fuse-mountpoint /run/user/1000/gvfs/dav:host=webdav.smartdrive.web.de,ssl=true,user=xy.x y 20:01:04.782385 tramp-set-connection-property (7) # default-location 20:01:04.782533 tramp-get-connection-property (7) # uid-integer undef 20:01:04.782694 tramp-get-connection-property (7) # default-location 20:01:04.784513 tramp-get-file-property (8) # / file-attributes undef 20:01:04.784646 tramp-gvfs-get-root-attributes (5) # file gvfs attributes: / 20:01:04.785730 tramp-get-connection-property (7) # gio-tool t 20:01:04.785829 tramp-get-connection-property (7) # process-buffer nil 20:01:04.785924 tramp-get-connection-property (7) # process-buffer nil 20:01:04.786031 tramp-get-file-property (8) # / fuse-mountpoint /run/user/1000/gvfs/dav:host=webdav.smartdrive.web.de,ssl=true,user=xy.x y 20:01:04.786152 tramp-call-process (6) # ‘gio info davs://[email protected]/’ nil *tramp/davs [email protected]* 20:01:04.939490 tramp-call-process (6) # 0 display name: / edit name: / name: / type: directory size: 0 uri: davs://[email protected]/ attributes: standard::type: 2 standard::name: / standard::display-name: / standard::edit-name: / standard::icon: folder standard::content-type: inode/directory standard::fast-content-type: inode/directory standard::size: 0 standard::symbolic-icon: folder-symbolic etag::value: AAABfnSiJPAAAAFVT1u7IA id::filesystem: dav:host=webdav.smartdrive.web.de,ssl=true,user=xy.xy access::can-trash: FALSE time::modified: 1642634283 time::modified-usec: 0 time::created: 1289299050 20:01:04.939695 tramp-get-connection-property (7) # process-buffer nil 20:01:04.939957 tramp-set-file-property (8) # / file-attributes ((time::modified . 1642634283) (standard::size . 0) (standard::display- name . /) (type . directory) (name . /)) 20:01:04.940293 tramp-get-file-property (8) # / inode undef 20:01:04.940487 tramp-set-file-property (8) # / inode 3 20:01:04.940705 tramp-get-connection-property (7) # process-name nil 20:01:04.940886 tramp-get-connection-property (7) # process-name nil 20:01:04.941065 tramp-set-connection-property (7) # uid-integer -1 20:01:04.941232 tramp-get-connection-property (7) # gid-integer undef 20:01:04.941472 tramp-get-connection-property (7) # default-location 20:01:04.943702 tramp-get-file-property (8) # / file-attributes ((time::modified . 1642634283) (standard::size . 0) (standard::display- name . /) (type . directory) (name . /)) 20:01:04.944051 tramp-get-file-property (8) # / inode 3 20:01:04.944325 tramp-get-connection-property (7) # process-name nil 20:01:04.944518 tramp-set-connection-property (7) # gid-integer -1 20:01:04.944709 tramp-get-connection-property (7) # uid-string undef 20:01:04.944873 tramp-get-connection-property (7) # default-location 20:01:04.945028 tramp-set-connection-property (7) # uid-string xy.xy 20:01:04.945223 tramp-get-connection-property (7) # gid-string undef 20:01:04.945423 tramp-get-connection-property (7) # default-location 20:01:04.947035 tramp-get-file-property (8) # / file-attributes ((time::modified . 1642634283) (standard::size . 0) (standard::display- name . /) (type . directory) (name . /)) 20:01:04.947235 tramp-get-file-property (8) # / inode 3 20:01:04.947375 tramp-get-connection-property (7) # process-name nil 20:01:04.947473 tramp-set-connection-property (7) # gid-string UNKNOWN 20:01:04.947586 tramp-call-process (6) # ‘gio info davs://[email protected]/Mobile’ nil *tramp/davs [email protected]* 20:01:05.049475 tramp-call-process (6) # 0 display name: Mobile edit name: Mobile name: Mobile type: directory size: 0 uri: davs://[email protected]/Mobile attributes: standard::type: 2 standard::name: Mobile standard::display-name: Mobile standard::edit-name: Mobile standard::icon: folder standard::content-type: inode/directory standard::fast-content-type: inode/directory standard::size: 0 standard::symbolic-icon: folder-symbolic etag::value: AAABfnSiJPAAAAF4GCjKng id::filesystem: dav:host=webdav.smartdrive.web.de,ssl=true,user=xy.xy access::can-trash: FALSE time::modified: 1642634290 time::modified-usec: 0 time::created: 1615313029 20:01:05.049821 tramp-get-connection-property (7) # process-buffer nil 20:01:05.050289 tramp-set-file-property (8) # /Mobile file-attributes ((time::modified . 1642634290) (standard::size . 0) (standard::display- name . Mobile) (type . directory) (name . Mobile)) 20:01:05.050832 tramp-get-file-property (8) # /Mobile inode undef 20:01:05.050970 tramp-set-file-property (8) # /Mobile inode 4 20:01:05.051154 tramp-get-connection-property (7) # process-name nil 20:01:05.051853 tramp-set-file-property (8) # /Mobile file-truename /davs:[email protected]:/Mobile 20:01:05.054039 tramp-get-file-property (8) # /Mobile file-attributes ((time::modified . 1642634290) (standard::size . 0) (standard::display- name . Mobile) (type . directory) (name . Mobile)) 20:01:05.054420 tramp-get-file-property (8) # /Mobile inode 4 20:01:05.054670 tramp-get-connection-property (7) # process-name nil 20:01:08.291012 tramp-get-connection-property (7) # case-insensitive undef 20:01:08.299126 tramp-get-connection-property (7) # case-insensitive undef 20:01:11.202797 tramp-get-connection-property (7) # case-insensitive undef 20:01:11.210877 tramp-get-connection-property (7) # case-insensitive undef 20:01:11.392114 tramp-get-connection-property (7) # case-insensitive undef 20:01:11.412537 tramp-get-connection-property (7) # case-insensitive undef 20:01:11.546462 tramp-get-connection-property (7) # case-insensitive undef 20:01:11.632288 tramp-get-connection-property (7) # case-insensitive undef 20:01:11.923292 tramp-get-connection-property (7) # case-insensitive undef 20:05:05.645423 tramp-get-connection-property (7) # case-insensitive undef 20:05:05.660762 tramp-get-connection-property (7) # case-insensitive undef 20:05:07.081569 tramp-get-connection-property (7) # case-insensitive undef 20:05:07.090127 tramp-get-connection-property (7) # case-insensitive undef 20:05:07.271920 tramp-get-connection-property (7) # case-insensitive undef 20:05:07.288796 tramp-get-connection-property (7) # case-insensitive undef 20:05:07.389885 tramp-get-connection-property (7) # case-insensitive undef -------- Weitergeleitete Nachricht -------- Von: Michael Albinus <[email protected]> An: bermel <[email protected]> Kopie: [email protected] Betreff: Re: trouble connecting to davs Datum: Thu, 03 Feb 2022 14:39:02 +0100 bermel <[email protected]> writes: > Hello, Hi, > a davs connection is not working. I use it for org-mobile. > > The command (file-directory-p davs-directory) returns nil. > > System: Xubuntu 20.04 Emacs 27.2. I can access the directory via > thunar. > Under Ubuntu 18.04 - Emacs 26.3 (but with the same emacs setup) the > command returns true. > > OUTPUT OF TRAMP / DAVS: > > Anzeigename: Mobile > Name bearbeiten: Mobile > Name: Mobile > > Any help is very welcome. You are starting Emacs with a German locale. Please start it from an English locale. I will check how I could convince Tramp to use English locales only when calling a process. > Kind regards Best regards, Michael.
