Re: GVFS WebDAV dropping initial path element



On Fri, 2013-04-19 at 08:58 -0400, Adam Tauno Williams wrote:
After upgrading openSUSE 12.3 to GNOME 3.8 opening a file from Nautilus
[GVFS] from a WebDAV volume occasionally drops the initial part of the
path;  so "/dav/Projects..." becomes "/Projects..." which, of course,
fails.

gvfs-backends-1.16.0-1.2.x86_64
gvfs-fuse-1.16.0-1.2.x86_64
gvfs-1.16.0-1.2.x86_64
libsoup-2_4-1-2.42.0-1.1.x86_64

Still having this issue and haven't been able to discover much.  I do
notice that in GVFS's own logs it is recording the path without the
leading "/dav".  Is this possibly because my initial path was
dav://hostname/dav and not dav://hostname/

NOTE the lack of a /dav prefix on the second line.  But the PROPFIND
goes to the expected target [but an OPTIONS makes the request to the
path lacking the /dav prefix]

Queued new job 0x7f4418002e80 (GVfsJobQueryInfo)
Query info /Projects/CIS
Department/Projects/OpenGroupware/Documents/Coils/HOWTO/informixdb-in-a-virtualenv.markdown
PROPFIND /dav/Projects/CIS%
20Department/Projects/OpenGroupware/Documents/Coils/HOWTO/informixdb-in-a-virtualenv.markdown HTTP/1.1
Soup-Debug-Timestamp: 1367958352
Soup-Debug: SoupSessionSync 1 (0x15b6060), SoupMessage 24
(0x7f44180069c0), SoupSocket 47 (0x7f4418005c90)
Host: coils.mormail.com
Depth: 0
Content-Type: application/xml
Apply-To-Redirect-Ref: T
Accept-Encoding: gzip, deflate
User-Agent: gvfs/1.16.0
Accept-Language: en-us, en;q=0.9
Connection: Keep-Alive
Authorization: Basic [adam:******]

<?xml version="1.0" encoding="utf-8" ?>
 <D:propfind xmlns:D="DAV:">
  <D:prop>
<D:creationdate/>
<D:displayname/>
<D:getcontentlength/>
<D:getcontenttype/>
<D:getetag/>
<D:getlastmodified/>
<D:resourcetype/>
  </D:prop>
 </D:propfind>
  
< HTTP/1.1 207 Multistatus
< Soup-Debug-Timestamp: 1367958353
< Soup-Debug: SoupMessage 24 (0x7f44180069c0)
< Date: Tue, 07 May 2013 20:26:51 GMT
< Server: BaseHTTP/0.3 Python/2.6.5
< Content-Length: 944
< Content-Type: text/xml; charset="utf-8"
< X-Dav-Error: 200 No error
< MS-Author-Via: DAV
< Set-Cookie: OGOCOILSESSIONID=****************;
Domain=yannigan-white.mormail.com; expires=Wed, 08-May-2013 20:26:52
UTC; Path=/
< Connection: close
< 
< <?xml version="1.0" encoding="utf-8"?>
< <D:multistatus xmlns:G="http://groupdav.org/";
xmlns:E="urn:ietf:params:xml:ns:carddav" xmlns:D="DAV:"
xmlns:C="urn:ietf:params:xml:ns:caldav" xmlns:B="http://icewarp.com/ns/";
xmlns:A="http://apache.org/dav/props/";>
<   <D:response><D:href>/dav/Projects/CIS
Department/Projects/OpenGroupware/Documents/Coils/HOWTO/informixdb-in-a-virtualenv.markdown</D:href>
<     <D:propstat>
<       <D:status>HTTP/1.1 200 OK</D:status>
<       <D:prop>
<         <D:getcontenttype>text/x-markdown</D:getcontenttype>
<         <D:resourcetype/>
<
<D:displayname>informixdb-in-a-virtualenv.markdown</D:displayname>
<         <D:getlastmodified>Tue, 07 May 2013 16:18:47
GMT</D:getlastmodified>
<         <D:getetag>94196029:23</D:getetag>
<         <D:creationdate>Tue, 07 May 2013 19:53:39 GMT</D:creationdate>
<         <D:getcontentlength>3590</D:getcontentlength>
<       </D:prop>
<     </D:propstat>
<   </D:response>
< </D:multistatus>

.....

Added new job source 0x11ff230 (GVfsBackendDav)
Queued new job 0x120eae0 (GVfsJobMount)
+ mount
OPTIONS /Projects/CIS%
20Department/Projects/OpenGroupware/Documents/Coils/HOWTO/creating-a-virtualenv.markdown HTTP/1.1
Soup-Debug-Timestamp: 1367958623
Soup-Debug: SoupSessionSync 1 (0x121a0a0), SoupMessage 1
(0x7f76b40060b0), SoupSocket 1 (0x7f76b400b030)
Host: coils.mormail.com
Accept-Encoding: gzip, deflate
User-Agent: gvfs/1.16.0
Accept-Language: en-us, en;q=0.9
Connection: Keep-Alive
  
< HTTP/1.1 404 No such path as /Projects/CIS%
20Department/Projects/OpenGroupware/Documents/Coils/HOWTO/creating-a-virtualenv.markdown
< Soup-Debug-Timestamp: 1367958623
< Soup-Debug: SoupMessage 1 (0x7f76b40060b0)
< Date: Tue, 07 May 2013 20:31:22 GMT
< Server: BaseHTTP/0.3 Python/2.6.5
< Content-Length: 12
< Content-Type: text/plain; charset=UTF-8
< WWW-Authenticate: Basic realm="OpenGroupware COILS"
< Connection: close
< 
< No such path
  
send_reply, failed: 1

** (gvfsd:9387): WARNING **: dbus_mount_reply: Error from
org.gtk.vfs.Mountable.mount(): HTTP Error: No such path as /Projects/CIS
%
20Department/Projects/OpenGroupware/Documents/Coils/HOWTO/creating-a-virtualenv.markdown



-- 
Adam Tauno Williams <mailto:awilliam whitemice org> GPG D95ED383
Systems Administrator, Python Developer, LPI / NCLA



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]