[chandler-users] Syncing Error -- Precondition Failed (HTTP status 412)

Nick Cummings nick at wsnbc.org
Sun Sep 21 09:35:11 PDT 2008


Hi, I'm new to Chandler and trying to get the hang of it.  I imported
the .ics file for two calendars I've been using into Chandler.  I used
the publish function to publish each to a WebDAV share (user/pass
required).  I published my "Home" calendar as a .ics file and my "Work"
calendar in whatever the default form is for Chandler (looks like a
directory full of XML files).  The publishing went normally for each,
but when I try to sync the Home calendar (published as .ics) gives me
the error "Precondition Failed (HTTP status 412)."  The details of the
error as reported by Share >> Manage >> View Error Details appear below. 

I have verified that the original publish did place a new .ics file on
the webDAV share, so it seems this shouldn't be an issue with write
permissions.  The Work calendar (published by Chandler's default method)
reports no errors during syncing.  Also, it should be noted that until
now I've been using the Lightning calendar plug-in for Mozilla
Thunderbird for calendaring, using other .ics files stored on this share
for my calendar, and have been able to update them.

Any insight into this problem would be appreciated.

Thanks,

Nick


Error Details
=========

Last attempted sync: 9/21/2008 at 11:06 AM

Last successful sync: 9/21/2008 at 10:05 AM

Last Error: Precondition Failed (HTTP status 412)

Last Error details:

Received [<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>412 Precondition Failed</TITLE>
</HEAD><BODY>
<H1>Precondition Failed</H1>
The precondition on the request for the URL /cal/NickHomeChandler.ics
evaluated to false.<P>
</BODY></HTML>
]
--
  File "/usr/local/chandler/parcels/osaf/sharing/__init__.py", line 371,
in run
    activity=activity, forceUpdate=forceUpdate))
  File "/usr/local/chandler/parcels/osaf/sharing/shares.py", line 778,
in sync
    debug=debug)
  File "/usr/local/chandler/parcels/osaf/sharing/webdav_conduit.py",
line 423, in sync
    debug=debug)
  File "/usr/local/chandler/parcels/osaf/sharing/recordset_conduit.py",
line 86, in sync
    debug=debug)
  File "/usr/local/chandler/parcels/osaf/sharing/recordset_conduit.py",
line 1035, in _sync
    self.putRecords(toSend, extra, debug=debug, activity=activity)
  File "/usr/local/chandler/parcels/osaf/sharing/recordset_conduit.py",
line 1300, in putRecords
    self.put(text)
  File "/usr/local/chandler/parcels/osaf/sharing/webdav_conduit.py",
line 490, in put
    details="Received [%s]" % resp.body)
<class 'osaf.sharing.errors.SharingError'> Precondition Failed (HTTP
status 412)


More information about the chandler-users mailing list