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

* Re: webdav via tramp failures and error
  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
  0 siblings, 1 reply; 6+ messages in thread
From: Michael Albinus @ 2012-12-16  8:46 UTC (permalink / raw)
  To: ken; +Cc: GNU Emacs List

ken <gebser@mousecar.com> writes:

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

What local system are you running? GNU/Linux? What is the gvfs version?

Best regards, Michael.



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

* Re: webdav via tramp failures and error
  2012-12-16  8:46 ` Michael Albinus
@ 2012-12-16 19:03   ` ken
  2012-12-16 19:06     ` Michael Albinus
  0 siblings, 1 reply; 6+ messages in thread
From: ken @ 2012-12-16 19:03 UTC (permalink / raw)
  To: Michael Albinus; +Cc: GNU Emacs List

On 12/16/2012 03:46 AM Michael Albinus wrote:
> ken<gebser@mousecar.com>  writes:
>
>> Has anyone successfully used emacs to access a webdav server and edit
>> documents on it?
>
> What local system are you running? GNU/Linux? What is the gvfs version?
>
> Best regards, Michael.

Michael,

Both the local and remote machines are running RH/Centos 5.8.

Where would I discover the gvfs version being used?

I'll add that, for now, the server is listening on port 80... something 
which I intend to change as the project moves forward.


Thanks,
ken



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

* Re: webdav via tramp failures and error
  2012-12-16 19:03   ` ken
@ 2012-12-16 19:06     ` Michael Albinus
  2012-12-16 19:48       ` ken
  0 siblings, 1 reply; 6+ messages in thread
From: Michael Albinus @ 2012-12-16 19:06 UTC (permalink / raw)
  To: ken; +Cc: GNU Emacs List

ken <gebser@mousecar.com> writes:

> Michael,

Hi Ken,

> Both the local and remote machines are running RH/Centos 5.8.
>
> Where would I discover the gvfs version being used?

# yum list | grep -i gvfs

> Thanks,
> ken

Best regards, Michael.



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

* Re: webdav via tramp failures and error
  2012-12-16 19:06     ` Michael Albinus
@ 2012-12-16 19:48       ` ken
  2012-12-17 14:03         ` Michael Albinus
  0 siblings, 1 reply; 6+ messages in thread
From: ken @ 2012-12-16 19:48 UTC (permalink / raw)
  To: Michael Albinus; +Cc: GNU Emacs List



On 12/16/2012 02:06 PM Michael Albinus wrote:
> ken<gebser@mousecar.com>  writes:
>
>> Michael,
>
> Hi Ken,
>
>> Both the local and remote machines are running RH/Centos 5.8.
>>
>> Where would I discover the gvfs version being used?
>
> # yum list | grep -i gvfs

It doesn't look like there's anything available for 5.8, either in the 
official repositories or in the half dozen other repositories I'm 
subscribed to.  (This is one major reason my next OSs are coming from 
somewhere else.)

Compiling from sources is no problem.  I just found 
<http://ftp.gnome.org/mirror/gnome.org/sources/gvfs/0.99/>.  What's the 
lowest version number of gvfs that I can use?  (The higher the version 
level of an app, the more likely it is it'll require libraries not 
already installed, leading to dependency failures and that to an 
unending chain of required upgrades to satisfy all the additional 
dependencies... ad nauseum.)


>
>> Thanks,
>> ken
>
> Best regards, Michael.

Thanks again.



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

* Re: webdav via tramp failures and error
  2012-12-16 19:48       ` ken
@ 2012-12-17 14:03         ` Michael Albinus
  0 siblings, 0 replies; 6+ messages in thread
From: Michael Albinus @ 2012-12-17 14:03 UTC (permalink / raw)
  To: ken; +Cc: GNU Emacs List

ken <gebser@mousecar.com> writes:

Hi Ken,

> Compiling from sources is no problem.  I just found
> <http://ftp.gnome.org/mirror/gnome.org/sources/gvfs/0.99/>.  What's
> the lowest version number of gvfs that I can use?  (The higher the
> version level of an app, the more likely it is it'll require libraries
> not already installed, leading to dependency failures and that to an
> unending chain of required upgrades to satisfy all the additional
> dependencies... ad nauseum.)

The Commentary section of tramp-gvfs.el says:

--8<---------------cut here---------------start------------->8---
;; Access functions for the GVFS daemon from Tramp.  Tested with GVFS
;; 1.0.2 (Ubuntu 8.10, Gnome 2.24).  It has been reported also to run
;; with GVFS 0.2.5 (Ubuntu 8.04, Gnome 2.22), but there is an
;; incompatibility with the mount_info structure, which has been
;; worked around.

;; It has also been tested with GVFS 1.6.2 (Ubuntu 10.04, Gnome 2.30),
;; where the default_location has been added to mount_info (see
;; <https://bugzilla.gnome.org/show_bug.cgi?id=561998>.
--8<---------------cut here---------------end--------------->8---

I believe there is an incompatibility with the recent GVFS 1.14.0, but
this I must recheck.

> Thanks again.

Best regards, Michael.



^ 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.