all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ken <gebser@mousecar.com>
To: GNU Emacs List <help-gnu-emacs@gnu.org>
Subject: webdav via tramp failures and error
Date: Sat, 15 Dec 2012 21:17:59 -0500	[thread overview]
Message-ID: <50CD2F57.7040801@mousecar.com> (raw)

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)




             reply	other threads:[~2012-12-16  2:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-16  2:17 ken [this message]
2012-12-16  8:46 ` webdav via tramp failures and error 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50CD2F57.7040801@mousecar.com \
    --to=gebser@mousecar.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.