From: Anthony B. <an...@in...> - 2001-08-09 07:39:15
|
Hey, this is a really cool project - thanks for doing it. I'm trying to use it with Zope (www.zope.org) and it's sort of working. The problem comes when I try to edit something like a Zope DTML method - if I try to do a 'cat' or 'vi' of an existing DTML method (or any complex python object) I get an I/O Error. I can't see exactly what davfsd is sending, but it gets back the following XML (I've re-indented the XML to make it a bit clearer) <?xml version="1.0" encoding="utf-8"?> <d:multistatus xmlns:d="DAV:"> <d:response> <d:href>/test/pppp/test_method</d:href> <d:propstat xmlns:n="DAV:"> <d:prop> <n:creationdate>1970-01-01T12:00:00Z</n:creationdate> <n:displayname>test_method</n:displayname> <n:resourcetype></n:resourcetype> <n:getcontenttype>text/html</n:getcontenttype> <n:getcontentlength>179</n:getcontentlength> <n:source> <n:link> <n:src>/test/pppp/test_method</n:src> <n:dst>/test/pppp/test_method/document_src</n:dst> </n:link> </n:source> <n:supportedlock> <n:lockentry> <d:lockscope><d:exclusive/></d:lockscope> <d:locktype><d:write/></d:locktype> </n:lockentry> </n:supportedlock> <n:lockdiscovery> </n:lockdiscovery> <n:getlastmodified>Thu, 09 Aug 2001 07:22:53 GMT</n:getlastmodified> </d:prop> <d:status>HTTP/1.1 200 OK</d:status> </d:propstat> </d:response> </d:multistatus> It's passing back a 'source' property. I'd expect the davfsd to handle this transparently and request the dst link. It doesn't seem to, tho :( I'm not sure why I get an I/O error, I'd expect to at least get the rendered page... The Zope logs show: 192.168.41.10 - anthony [09/Aug/2001:07:22:58 +0000] "PROPFIND /test/pppp/test_method HTTP/1.1" 207 1140 "" "DAV-FS/0.0.1" 192.168.41.10 - anthony [09/Aug/2001:07:22:58 +0000] "GET /test/pppp/test_method HTTP/1.1" 200 703 "" "DAV-FS/0.0.1" The latter request should (in fact, did) return the rendered page. I don't see any debug output with DEBUG or XML_DEBUG turned on in davfsd. I've not yet tried turning on the kernel module's DEBUG flag, as I'm not sure where the debug's going to go. Thanks for any clues here, Anthony -- Anthony Baxter <an...@in...> It's never too late to have a happy childhood. |