Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#19 Not Compatible with SabreDAV 1.5.7

v1.0.3
closed-fixed
Werner Donné
None
5
2012-11-14
2012-02-22
Anonymous
No

Im using owncloud as a web based storage system and would like to sync it using webdav-sync. I updated the inner used 1.5.4 version of sabredav to current 1.5.7. And still get the following problems:

be.re.io.IOException
java.lang.RuntimeException: be.re.io.IOException
at be.re.webdav.Util.getPreconditionMessage(Util.java:462)
at be.re.webdav.Util.throwPrecondition(Util.java:1727)
at be.re.webdav.Util.throwException(Util.java:1682)
at be.re.webdav.cmd.Sync.getTree(Sync.java:814)
at be.re.webdav.cmd.Sync.sync(Sync.java:1741)
at be.re.webdav.cmd.Sync.sync(Sync.java:1665)
at be.re.webdav.cmd.Sync.main(Sync.java:1212)
Caused by: be.re.io.IOException
at be.re.webdav.Client$Response.createDocument(Client.java:4471)
at be.re.webdav.Util.getPreconditionMessage(Util.java:452)
... 6 more
Caused by: org.xml.sax.SAXParseException: White spaces are required between publicId and systemId.
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:249)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:284)
at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:124)
at be.re.webdav.Client$Response.createDocument(Client.java:4461)
... 7 more

I use following the following Virtual Machine Properties: -Dbe.re.stack=true -Dbe.re.http.no-compress
and following parameters: -down -u http://user:password@owncloud-server/owncloud/files/webdav.php/subfolder/ -d /tmp/

Is it a SabreDAV issue? I created one at http://code.google.com/p/sabredav/issues/detail?id=192

Thanks in advance!
Patrick

Discussion

  • Werner Donné
    Werner Donné
    2012-02-22

    That seems like a bug indeed. XML was expected, whiile something else was returned by the server. Could you add "-Dbe.re.http.trace" to the command-line. This will produce the HTTP-dialog, which you can attach to this bug.

     
  • Werner Donné
    Werner Donné
    2012-02-22

    • assigned_to: nobody --> wdonne
    • milestone: --> v1.0.3
     
  • Werner Donné
    Werner Donné
    2012-03-06

    I have tried this with version 1.6.1, but I get an internal server error that says that I have to set the date.timezone explicitly. I wouldn't know where I should do that however.

     
  • Werner Donné
    Werner Donné
    2012-11-14

    • status: open --> closed-fixed
     
  • Werner Donné
    Werner Donné
    2012-11-14

    Fixed in release 1.1.1.