all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* webdav via tramp failures and error
@ 2012-12-16  2:17 ken
  2012-12-16  8:46 ` Michael Albinus
  0 siblings, 1 reply; 6+ messages in thread
From: ken @ 2012-12-16  2:17 UTC (permalink / raw
  To: GNU Emacs List

Has anyone successfully used emacs to access a webdav server and edit 
documents on it?

Using <http://www.gnu.org/software/tramp/> as guidance, I tried opening 
an existing file for editing with "C-x C-f 
/dav:user@host:/var/www/html/webdave/index.html".  This "user" already 
has a password-protected account on this webdav server and has already 
logged into it with other apps (e.g., cadaver and the Gnome file 
manager) and created and edited files etc.

Moreover, tramp successfully connects to the same machine via ssh ("C-x 
C-f /ssh:user@host:/var/www/html/index.html") and allows the same user 
to edit documents outside of the webdav namespace.

So the failure isn't due to either networking or permissions.  Here's 
the emacs *Backtrace*:

Debugger entered--Lisp error: (void-function nil)
   nil(nil "dav" "user" "host")
   tramp-maybe-open-connection(nil "dav" "user" "host")
   tramp-send-command(nil "dav" "user" "host" "( test -d 
/var/www/html/webdav/index.html 2>/dev/null; echo tramp_exit_status $? )")
   tramp-send-command-and-check(nil "dav" "user" "host" "test -d 
/var/www/html/webdav/index.html" t)
 
tramp-handle-file-directory-p("/dav:user@host:/var/www/html/webdav/index.html")
   apply(tramp-handle-file-directory-p 
"/dav:user@host:/var/www/html/webdav/index.html")
   tramp-sh-file-name-handler(file-directory-p 
"/dav:user@host:/var/www/html/webdav/index.html")
   apply(tramp-sh-file-name-handler file-directory-p 
"/dav:user@host:/var/www/html/webdav/index.html")
   tramp-file-name-handler(file-directory-p 
"/dav:user@host:/var/www/html/webdav/index.html")
   file-directory-p("/dav:user@host:/var/www/html/webdav/index.html")
   find-file-noselect("/dav:user@host:/var/www/html/webdav/index.html" 
nil nil t)
   find-file("/dav:user@host:/var/www/html/webdav/index.html" t)
   call-interactively(find-file)




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

end of thread, other threads:[~2012-12-17 14:03 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-16  2:17 webdav via tramp failures and error ken
2012-12-16  8:46 ` Michael Albinus
2012-12-16 19:03   ` ken
2012-12-16 19:06     ` Michael Albinus
2012-12-16 19:48       ` ken
2012-12-17 14:03         ` 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.