Error in adding attendee to meeting

View: New views
13 Messages — Rating Filter:   Alert me  

Error in adding attendee to meeting

by Corey Scobie :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have had CalendarServer installed and running for some time on OS X 10.5. Recently I have been getting errors as below whenever an event is created or edited to add an attendee.

2009-08-18 19:00:22-0700 [-] [caldav-8008]  [HTTPChannel,17,192.168.0.12] [twistedcaldav.extensions#info] PUT /calendars/__uids__/cscobie/860435CB-8DD9-4A4D-B3F6-36288DF51385/DEB9CDE2-1BFD-4487-811D-0DBBFC4E09C5.ics HTTP/1.1
2009-08-18 19:00:22-0700 [-] [caldav-8008]  [PooledMemCacheProtocol,client] [twistedcaldav.scheduling.implicit#info] Implicit REQUEST - organizer: 'corey@... to attendee: 'kristen@..., UID: 'DEB9CDE2-1BFD-4487-811D-0DBBFC4E09C5'
2009-08-18 19:00:22-0700 [-] [caldav-8008]  [PooledMemCacheProtocol,client] [twistedcaldav.scheduling.scheduler#info] METHOD: REQUEST, Component: VEVENT
2009-08-18 19:00:22-0700 [-] [caldav-8008]  [PooledMemCacheProtocol,client] Exception rendering:
2009-08-18 19:00:22-0700 [-] [caldav-8008]  [PooledMemCacheProtocol,client] Unhandled Error
2009-08-18 19:00:22-0700 [-] [caldav-8008] Traceback (most recent call last):
2009-08-18 19:00:22-0700 [-] [caldav-8008]  File "/Library/Twisted/twisted/internet/defer.py", line 261, in errback
2009-08-18 19:00:22-0700 [-] [caldav-8008]    self._startRunCallbacks(fail)
2009-08-18 19:00:22-0700 [-] [caldav-8008]  File "/Library/Twisted/twisted/internet/defer.py", line 304, in _startRunCallbacks
2009-08-18 19:00:22-0700 [-] [caldav-8008]    self._runCallbacks()
2009-08-18 19:00:22-0700 [-] [caldav-8008]  File "/Library/Twisted/twisted/internet/defer.py", line 317, in _runCallbacks
2009-08-18 19:00:22-0700 [-] [caldav-8008]    self.result = callback(self.result, *args, **kw)
2009-08-18 19:00:22-0700 [-] [caldav-8008]  File "/Library/Twisted/twisted/internet/defer.py", line 746, in gotResult
2009-08-18 19:00:22-0700 [-] [caldav-8008]    _inlineCallbacks(r, g, deferred)
2009-08-18 19:00:22-0700 [-] [caldav-8008] --- <exception caught here> ---
2009-08-18 19:00:22-0700 [-] [caldav-8008]  File "/Library/Twisted/twisted/internet/defer.py", line 724, in _inlineCallbacks
2009-08-18 19:00:22-0700 [-] [caldav-8008]    result = g.throw(result.type, result.value, result.tb)
2009-08-18 19:00:22-0700 [-] [caldav-8008]  File "/Library/CalendarServer/twistedcaldav/method/put.py", line 68, in http_PUT
2009-08-18 19:00:22-0700 [-] [caldav-8008]    result = (yield storer.run())
2009-08-18 19:00:22-0700 [-] [caldav-8008]  File "/Library/Twisted/twisted/internet/defer.py", line 726, in _inlineCallbacks
2009-08-18 19:00:22-0700 [-] [caldav-8008]    result = g.send(result)
2009-08-18 19:00:22-0700 [-] [caldav-8008]  File "/Library/CalendarServer/twistedcaldav/method/put_common.py", line 812, in run
2009-08-18 19:00:22-0700 [-] [caldav-8008]    raise err
2009-08-18 19:00:22-0700 [-] [caldav-8008] exceptions.AssertionError: non-calendar collection resource <CalDAVFile: /Library/CalendarServer/twistedcaldav/test/data/calendars/__uids__/ks/co/kscobie/calendar> has no index.
2009-08-18 19:00:22-0700 [-] [caldav-8008]

I have scoured the archives of this list for any references to index problems with no success. Does anyone have feedback on what is generating this error and how I might fix it? Rebuild indexes maybe?

Regards,
Corey


_______________________________________________
calendarserver-users mailing list
calendarserver-users@...
http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-users

Re: Error in adding attendee to meeting

by Cyrus Daboo-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Corey,

--On August 18, 2009 7:04:29 PM -0700 Corey Scobie <corey@...> wrote:

> I have scoured the archives of this list for any references to index
> problems with no success. Does anyone have feedback on what is generating
> this error and how I might fix it? Rebuild indexes maybe?

In a Terminal.app window please do:

xattr -l
/Library/CalendarServer/twistedcaldav/test/data/calendars/__uids__/ks/co/kscobie/calendar

and post the result back to the list.

--
Cyrus Daboo

_______________________________________________
calendarserver-users mailing list
calendarserver-users@...
http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-users

Re: Error in adding attendee to meeting

by Corey Scobie :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Strangely, the directory doesn't exist for this user (does for my other user).

macmini:/ cscobie$ ls /Library/CalendarServer/twistedcaldav/test/data/calendars/__uids__/ks/co/kscobie/calendar
ls: /Library/CalendarServer/twistedcaldav/test/data/calendars/__uids__/ks/co/kscobie/calendar: No such file or directory

Delete the user and recreate? The user can create and update events just fine.

Regards,
Corey

On Aug 18, 2009, at 8:15 PM, Cyrus Daboo wrote:

Hi Corey,

--On August 18, 2009 7:04:29 PM -0700 Corey Scobie <corey@...> wrote:

I have scoured the archives of this list for any references to index
problems with no success. Does anyone have feedback on what is generating
this error and how I might fix it? Rebuild indexes maybe?

In a Terminal.app window please do:

xattr -l /Library/CalendarServer/twistedcaldav/test/data/calendars/__uids__/ks/co/kscobie/calendar

and post the result back to the list.

--
Cyrus Daboo



_______________________________________________
calendarserver-users mailing list
calendarserver-users@...
http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-users

Re: Error in adding attendee to meeting

by Max Bobzien :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Same problem here. 

--
"The best laid schemes o' mice an' men gang aft aglay."
Robert Burns

 
Am Mittwoch 19 August 2009 um 06:52AM schrieb "Corey Scobie" <corey@...>:
>_______________________________________________
>calendarserver-users mailing list
>calendarserver-users@...
>http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-users
>
>
Strangely, the directory doesn't exist for this user (does for my other user).

macmini:/ cscobie$ ls /Library/CalendarServer/twistedcaldav/test/data/calendars/__uids__/ks/co/kscobie/calendar
ls: /Library/CalendarServer/twistedcaldav/test/data/calendars/__uids__/ks/co/kscobie/calendar: No such file or directory

Delete the user and recreate? The user can create and update events just fine.

Regards,
Corey

On Aug 18, 2009, at 8:15 PM, Cyrus Daboo wrote:

Hi Corey,

--On August 18, 2009 7:04:29 PM -0700 Corey Scobie <corey@...> wrote:

I have scoured the archives of this list for any references to index
problems with no success. Does anyone have feedback on what is generating
this error and how I might fix it? Rebuild indexes maybe?

In a Terminal.app window please do:

xattr -l /Library/CalendarServer/twistedcaldav/test/data/calendars/__uids__/ks/co/kscobie/calendar

and post the result back to the list.

--
Cyrus Daboo



_______________________________________________
calendarserver-users mailing list
calendarserver-users@...
http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-users

Re: Error in adding attendee to meeting

by Cyrus Daboo-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Corey,

--On August 18, 2009 9:52:55 PM -0700 Corey Scobie <corey@...> wrote:

> macmini:/ cscobie$ ls
> /Library/CalendarServer/twistedcaldav/test/data/calendars/__uids__/ks/co/
> kscobie/calendar
> ls:
> /Library/CalendarServer/twistedcaldav/test/data/calendars/__uids__/ks/co/
> kscobie/calendar: No such file or directory
>
>
> Delete the user and recreate? The user can create and update events just
> fine.
>

What do you see listed at
/Library/CalendarServer/twistedcaldav/test/data/calendars/__uids__ ?

--
Cyrus Daboo

_______________________________________________
calendarserver-users mailing list
calendarserver-users@...
http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-users

Re: Error in adding attendee to meeting

by Max Bobzien :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hey Corey,

could it be possible that you have installed the Calendar Server to another directory (your home directory for example)?

Max

--
"The best laid schemes o' mice an' men gang aft aglay."
Robert Burns

 
Am Mittwoch 19 August 2009 um 03:32PM schrieb "Cyrus Daboo" <cdaboo@...>:

>Hi Corey,
>
>--On August 18, 2009 9:52:55 PM -0700 Corey Scobie <corey@...> wrote:
>
>> macmini:/ cscobie$ ls
>> /Library/CalendarServer/twistedcaldav/test/data/calendars/__uids__/ks/co/
>> kscobie/calendar
>> ls:
>> /Library/CalendarServer/twistedcaldav/test/data/calendars/__uids__/ks/co/
>> kscobie/calendar: No such file or directory
>>
>>
>> Delete the user and recreate? The user can create and update events just
>> fine.
>>
>
>What do you see listed at
>/Library/CalendarServer/twistedcaldav/test/data/calendars/__uids__ ?
>
>--
>Cyrus Daboo
>
>_______________________________________________
>calendarserver-users mailing list
>calendarserver-users@...
>http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-users
>
>
_______________________________________________
calendarserver-users mailing list
calendarserver-users@...
http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-users

Re: Error in adding attendee to meeting

by Corey Scobie :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Here are the contents of the directory:

macmini:~ cscobie$ ls -al /Library/CalendarServer/twistedcaldav/test/data/calendars/__uids__/ks/co/kscobie
total 0
drwxr-x---@  6 cscobie  admin   204 Dec 30  2008 .
drwxr-x---   3 cscobie  admin   102 Oct 28  2008 ..
drwxr-x---@ 40 cscobie  admin  1360 Jul  6 22:45 252430BC-1F8D-45E2-BB8D-0DAA07F6D326
drwxr-x---@  8 cscobie  admin   272 Aug 18 13:48 AA17990F-4523-4F07-872F-739734CCCBB5
drwxr-x---@  3 cscobie  admin   102 Jul 13 20:28 inbox
drwxr-x---@  2 cscobie  admin    68 Dec 15  2008 outbox

... and the extended attributes listing...

macmini:~ cscobie$ xattr -l /Library/CalendarServer/twistedcaldav/test/data/calendars/__uids__/ks/co/kscobie
WebDAV:{http:%2F%2Ftwistedmatrix.com%2Fxml_namespace%2Fdav%2Fprivate%2F}quota-used:
0000   78 9C 45 CC 3D 0E C2 30 0C 40 E1 1D 89 3B 74 F3    x.E.=..0.@...;t.
0010   D4 9A 02 42 08 25 ED C6 09 60 46 56 62 41 24 F2    ...B.%...`FVbA$.
0020   43 E2 86 1E 9F 6C CC 4F EF 53 F3 EA DF 5D E5 5C    C....l.O.S...]..
0030   5C 0C 1A C6 61 07 1D 07 13 AD 0B 4F 0D F7 DB B5    ....a......O....
0040   3F C3 3C 6D 37 EA B3 44 A1 7E 29 6C BB 76 84 A2    ?.<m7..D.~)l.v..
0050   E1 25 92 2E 88 F2 75 45 D8 7A 92 EC D6 C1 44 8F    .%....uE.z....D.
0060   AD 3F 02 79 2E 89 0C A3 A5 8A 29 BB 4A C2 08 D3    .?.y......).J...
0070   61 3C EE 4F 0A FF 5A B3 7F 8F F2 2C BB             a<.O..Z....,.


Regards,
Corey

On Aug 19, 2009, at 6:32 AM, Cyrus Daboo wrote:

Hi Corey,

--On August 18, 2009 9:52:55 PM -0700 Corey Scobie <corey@...> wrote:

macmini:/ cscobie$ ls
/Library/CalendarServer/twistedcaldav/test/data/calendars/__uids__/ks/co/
kscobie/calendar
ls:
/Library/CalendarServer/twistedcaldav/test/data/calendars/__uids__/ks/co/
kscobie/calendar: No such file or directory


Delete the user and recreate? The user can create and update events just
fine.


What do you see listed at /Library/CalendarServer/twistedcaldav/test/data/calendars/__uids__ ?

--
Cyrus Daboo



_______________________________________________
calendarserver-users mailing list
calendarserver-users@...
http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-users

Re: Error in adding attendee to meeting

by Cyrus Daboo-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Corey,

--On August 19, 2009 7:17:57 AM -0700 Corey Scobie <corey@...> wrote:

> macmini:~ cscobie$ ls -al
> /Library/CalendarServer/twistedcaldav/test/data/calendars/__uids__/ks/co/
> kscobie
> total 0
> drwxr-x---@  6 cscobie  admin   204 Dec 30  2008 .
> drwxr-x---   3 cscobie  admin   102 Oct 28  2008 ..
> drwxr-x---@ 40 cscobie  admin  1360 Jul  6 22:45
> 252430BC-1F8D-45E2-BB8D-0DAA07F6D326
> drwxr-x---@  8 cscobie  admin   272 Aug 18 13:48
> AA17990F-4523-4F07-872F-739734CCCBB5
> drwxr-x---@  3 cscobie  admin   102 Jul 13 20:28 inbox
> drwxr-x---@  2 cscobie  admin    68 Dec 15  2008 outbox
>
>
> ... and the extended attributes listing...
>

OK, so your client tried to access a "calendar" directory in that location
and as you can see it does not exist. What client are you using? If it is
iCal, try removing then re-adding the account for that server.

--
Cyrus Daboo

_______________________________________________
calendarserver-users mailing list
calendarserver-users@...
http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-users

Re: Error in adding attendee to meeting

by Corey Scobie :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Removing and re-adding on the client (yes, it is iCal) or on the Server?

Regards,
Corey

On Aug 19, 2009, at 7:31 AM, Cyrus Daboo wrote:

Hi Corey,

--On August 19, 2009 7:17:57 AM -0700 Corey Scobie <corey@...> wrote:

macmini:~ cscobie$ ls -al
/Library/CalendarServer/twistedcaldav/test/data/calendars/__uids__/ks/co/
kscobie
total 0
drwxr-x---@  6 cscobie  admin   204 Dec 30  2008 .
drwxr-x---   3 cscobie  admin   102 Oct 28  2008 ..
drwxr-x---@ 40 cscobie  admin  1360 Jul  6 22:45
252430BC-1F8D-45E2-BB8D-0DAA07F6D326
drwxr-x---@  8 cscobie  admin   272 Aug 18 13:48
AA17990F-4523-4F07-872F-739734CCCBB5
drwxr-x---@  3 cscobie  admin   102 Jul 13 20:28 inbox
drwxr-x---@  2 cscobie  admin    68 Dec 15  2008 outbox


... and the extended attributes listing...


OK, so your client tried to access a "calendar" directory in that location and as you can see it does not exist. What client are you using? If it is iCal, try removing then re-adding the account for that server.

--
Cyrus Daboo



_______________________________________________
calendarserver-users mailing list
calendarserver-users@...
http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-users

Re: Error in adding attendee to meeting

by Cyrus Daboo-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Corey,

--On August 19, 2009 8:37:23 AM -0700 Corey Scobie <corey@...> wrote:

> Removing and re-adding on the client (yes, it is iCal) or on the Server?

Remove and re-add the account in the client (iCal).

--
Cyrus Daboo

_______________________________________________
calendarserver-users mailing list
calendarserver-users@...
http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-users

Re: Error in adding attendee to meeting

by Corey Scobie :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

For all those that may be interested it took a little trial and error to figure this out but here is the synopsis.

iCal (I assume it is iCal) expects a default calendar with the uid "calendar". One that can be found at /calendars/__uids__/username/calendar as a Caldav URL. Apparently this is the default collection UID used in collaborative scheduling (inviting another user to a meeting). When you set up a new iCal client for the first time, this calendar is automatically created on the caldav server. I was (I guess) dissatisfied with this calendar name, and instead of renaming the default calendar to something else I created a new calendar and then deleted "calendar" - thus forcing the server to remove the "calendar" uid (directory) under my user. This must have been different than my original provisioning process for these accounts and therefore broke one account.

To resolve this problem it was not enough to just remove and re-add the account in iCal because the existing account data on caldav would just repopulate the iCal client. Instead, I followed this procedure.

1. Export each caldav Calendar's contents to an ICS file.
2. Remove the caldav account from my iCal configuration.
3. Stop the caldav server.
4. Remove the data directory (under twistedcaldav/test/data/calendars/__uids__/) for the user in question.
5. Restart the caldav server.
6. Re-create the caldav account in iCal.
7. Rename the default "calendar" calendar in iCal to the name of my default calendar for this user (i.e. Personal Events).
8. Import the contents of the ICS file for this calendar back into the recreated calendar.
9. Recreate calendars and re-import contents for any additional calendars.

I am sure there must be an easier way to do this, but this process definitely works. I have to admit, I do not have a very clear understanding of the relationship between the data stored in these directories, any meta data on the server, any meta data on the iCal client, and who is responsible for the actual file/folder structure on the caldav server. I suspect there is some way to force the iCal client to look for something other than the "calendar" uid for meeting requests, but I couldn't find anything via a thorough Google search.

 Hope this helps others.

Regards,
Corey

On Aug 19, 2009, at 8:41 AM, Cyrus Daboo wrote:

Hi Corey,

--On August 19, 2009 8:37:23 AM -0700 Corey Scobie <corey@...> wrote:

Removing and re-adding on the client (yes, it is iCal) or on the Server?

Remove and re-add the account in the client (iCal).

--
Cyrus Daboo



_______________________________________________
calendarserver-users mailing list
calendarserver-users@...
http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-users

Re: Error in adding attendee to meeting

by Cyrus Daboo-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Corey,

--On August 20, 2009 2:08:01 AM -0700 Corey Scobie <corey@...> wrote:

>
> I am sure there must be an easier way to do this, but this process
> definitely works. I have to admit, I do not have a very clear
> understanding of the relationship between the data stored in these
> directories, any meta data on the server, any meta data on the iCal
> client, and who is responsible for the actual file/folder structure on
> the caldav server. I suspect there is some way to force the iCal client
> to look for something other than the "calendar" uid for meeting requests,
> but I couldn't find anything via a thorough Google search.
>

The process you described should not be needed. iCal does not require that
a calendar called "calendar" be present. It is capable of scanning the
parent directory looking for all "collections" that have been tagged as
calendars.

--
Cyrus Daboo

_______________________________________________
calendarserver-users mailing list
calendarserver-users@...
http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-users

DCS Installation & Configuration Wiki

by odinm :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

There is a lot of talent in this mailing list and a lot of knowledge  
contained within its postings.  However, the information can be  
difficult to find and certainly, questions get repeated.  A wiki has  
been set up to help make information regarding installing and  
configuring DCS a little easier to find.

http://dcswiki.org

There is a solid set of basic information already there, but much more  
to do (e.g., nothing on troubleshooting yet at all).  It would great  
if some the gurus around here would lend a hand.

_______________________________________________
calendarserver-users mailing list
calendarserver-users@...
http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-users