[CalendarServer-users] Importing data failure

Sean McAvoy smcavoy at ripe.net
Tue Feb 17 04:20:11 PST 2009


I've experienced an issue when importing a users calendar into  
Calendar Server. Client is iCal on 10.5.6.
Importing fails with a 403:
==== snip ====
2/17/09 01:00 iCal[1861] CalDAV CalDAVWriteEntityQueueableOperation  
failed: status 'HTTP/1.1 403 Forbidden' request:

BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//Apple Inc.//iCal 3.0//EN
CALSCALE:GREGORIAN
BEGIN:VEVENT
SEQUENCE:0
DTSTART:20050117T100000Z
STATUS:CONFIRMED
DTSTAMP:20050113T082300Z
SUMMARY:WG Chairs meeting
ATTENDEE;CN="***";CUTYPE=INDIVIDUAL;PARTSTAT=ACCEPTED;ROLE=
  REQ-PARTICIPANT:mailto:****
DTEND:20050117T150000Z
DESCRIPTION:The meeting will take place at the \"Exchange Avenue\" meeti
  ng area. This is located on the third floor above Departures 1. Once  
ins
  ide the terminal\, follow the signs Departures 1 and 2 and Panorama  
terr
  ace. This will lead to the third floor\, above Departures 1.\n\n 
\nFor th
  ose driving to Schiphol\, car park P1 is the most convenient and is  
with
  in a short walk of the Terminal building.\n\n\nThe proposed agenda  
follo
  ws:\n\n\n1.) Welcome/Introduction\n2.) ****\n3.) RIPE
  *****\n4.) RIPE Meeting Day
  Tickets\n5.) Policy Development Process - WG Chair Duties\nnote: the  
PDP
   draft document can be accessed at:****
  ****\n6.) AOB\n
UID:29b#ab13#19e3d771&0065b3ds..
TRANSP:OPAQUE
ORGANIZER:mailto:***
CREATED:20090217T115747Z
END:VEVENT
END:VCALENDAR


... response:
HTTP/1.1 403 Forbidden
Date: Tue, 17 Feb 2009 12:00:06 GMT
Dav: 1, access-control, calendar-access, calendar-schedule, calendar- 
auto-schedule, calendar-availability, inbox-availability, calendar- 
proxy, calendarserver-private-events, calendarserver-private-comments,  
calendarserver-principal-property-search
Content-Type: text/xml
Content-Length: 136
Server: Twisted/2.5.0+rUnknown TwistedWeb/[twisted.web2, version 0.2.0  
(SVN rUnknown)] TwistedCalDAV/trunk (r3669)

<?xml version='1.0' encoding='UTF-8'?>
<error xmlns='DAV:'>
   <valid-calendar-data xmlns='urn:ietf:params:xml:ns:caldav'/>
</error>
==== snip ====
here's the server side:
==== snip ====
2009-02-17 13:00:06+0100 [-] [caldav-8009]  [-]  
[twisted.web2.dav.fileop#info] Writing to file /export/CalendarServer/ 
twistedcaldav/test/d
ata/calendars/__uids__/0F/89/0F894EC9-2ECB-409B-9D9D-80E1EF00E23F/ 
calendar/29b#100a161#1cf62020&0065b3ds...ics
2009-02-17 13:00:06+0100 [-] [caldav-8009]  [AMP,client]  
[twistedcaldav.extensions#info] PUT /calendars/__uids__/ 
0F894EC9-2ECB-409B-9D9D-8
0E1EF00E23F/calendar/29b#ab13#19e3d771&0065b3ds...ics HTTP/1.1
2009-02-17 13:00:06+0100 [-] [caldav-8009]  [-]  
[twistedcaldav.method.put_common#error] u'error: illegal escape  
sequence: \'\\"\''
==== snip ====
There is then an option to revert to server which I press then I get:
Request (CalDAVRevertEntityQueueableOperation) for calendar failed  
(code 1).

logs from the client side:
==== snip ====
2/17/09 01:17 iCal[1861] CalDAVOperationQueue tried to dequeue  
operation <CalDAVRefreshDelegateListQueueableOperation: 0x16a59e80>  
but it was not at the front of the queue.
2/17/09 01:17 [0x0-0x64064].com.apple.iCal[1861] 13:17:07.255 [iCal: 
1861] ERROR (DAV): <[Request 0x302fe0] GET /calendars/__uids__/ 
0F894EC9-2ECB-409B-9D9D-80E1EF00E23F/calendar/ 
29b#ab13#19e3d771&0065b3ds...ics (for <DAVSession 0x16a49360 http://osx7.ripe.net:8008/ 
 >)>: can't get URL from request object
2/17/09 01:17 [0x0-0x64064].com.apple.iCal[1861] 13:17:07.255 [iCal: 
1861] ERROR (DAV): <[Request 0x302fe0] GET /calendars/__uids__/ 
0F894EC9-2ECB-409B-9D9D-80E1EF00E23F/calendar/ 
29b#ab13#19e3d771&0065b3ds...ics (for <DAVSession 0x16a49360 http://osx7.ripe.net:8008/ 
 >)>: can't get URL from request object
2/17/09 01:17 iCal[1861] Exception in - 
[CalDAVAccountRefreshQueueableOperation  
refreshWithExceptionHandling] :: *** -[NSCFDictionary  
setObject:forKey:]: attempt to insert nil key
2/17/09 01:17 iCal[1861] Exception in - 
[CalDAVAccountRefreshQueueableOperation  
refreshWithExceptionHandling] :: *** -[NSCFDictionary  
setObject:forKey:]: attempt to insert nil key
2/17/09 01:17 [0x0-0x64064].com.apple.iCal[1861] 13:17:13.164 [iCal: 
1861] ERROR (DAV): <[Request 0x16a4b910] GET /calendars/__uids__/ 
0F894EC9-2ECB-409B-9D9D-80E1EF00E23F/calendar/ 
29b#ab13#19e3d771&0065b3ds...ics (for <DAVSession 0x16a49360 http://osx7.ripe.net:8008/ 
 >)>: can't get URL from request object
==== snip ====

Any suggestions what the problem could be? I have exported the data  
from Oracle Coporoate time and imported into iCal directly, into  
sunbird then into ical and into ical local calendar to ical server  
calendar.



More information about the calendarserver-users mailing list