[CalendarServer-dev] NSS Directory Service
Andre LaBranche
dre at apple.com
Wed Jun 6 16:18:15 PDT 2012
I don't know how NSS works, but the specific error is:
2012-06-06 20:48:56+0530 [-] [caldav-0] [PooledMemCacheProtocol,client] [twistedcaldav.directory.nss.NssDirectoryService#debug] Found record for attribute 'shortname' with value 'rahul'
2012-06-06 20:48:56+0530 [-] [caldav-0] [PooledMemCacheProtocol,client] [twext.web2.server#info] Exception rendering:
2012-06-06 20:48:56+0530 [-] [caldav-0] [PooledMemCacheProtocol,client] [twext.web2.server#error] [Failure instance: Traceback: <type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'principalURL'
2012-06-06 20:48:56+0530 [-] [caldav-0] /usr/lib/python2.7/dist-packages/twext/web2/dav/resource.py:1461:accessControlList
2012-06-06 20:48:56+0530 [-] [caldav-0] /usr/lib/python2.7/dist-packages/twistedcaldav/directory/calendar.py:241:accessControlList
2012-06-06 20:48:56+0530 [-] [caldav-0] /usr/lib/python2.7/dist-packages/twisted/internet/defer.py:301:addCallback
2012-06-06 20:48:56+0530 [-] [caldav-0] /usr/lib/python2.7/dist-packages/twisted/internet/defer.py:290:addCallbacks
2012-06-06 20:48:56+0530 [-] [caldav-0] --- <exception caught here> ---
2012-06-06 20:48:56+0530 [-] [caldav-0] /usr/lib/python2.7/dist-packages/twisted/internet/defer.py:551:_runCallbacks
2012-06-06 20:48:56+0530 [-] [caldav-0] /usr/lib/python2.7/dist-packages/twistedcaldav/directory/calendar.py:238:gotACL
2012-06-06 20:48:56+0530 [-] [caldav-0] /usr/lib/python2.7/dist-packages/twistedcaldav/resource.py:2490:defaultAccessControlList
2012-06-06 20:48:56+0530 [-] [caldav-0] ]
My first thought would be to compare the 'rahul' record with a functional record, such as one provided in our sample accounts.xml file. Perhaps there are some missing attributes.
-dre
On Jun 6, 2012, at 9:02 AM, Rahul Amaram <amaramrahul at users.sourceforge.net> wrote:
> Hi,
> I am the Debian Maintainer for calendarserer. The debian package for calendarserver has always included a NSS directory service for the convenience of users. We have been updating it regularly. However, with the recent release of calendarserver 3.2, I am finding it hard to debug the error message which is being thrown.
>
> I am attaching the NSS directory file, the config file, access.log and error log. The error that is being thrown is logged at the end.
>
> Any suggestions on fixing this error would be highly appreciated.
>
> Regards,
> Rahul.
> <access.log><caldavd.plist><error.log><nss.py>_______________________________________________
> calendarserver-dev mailing list
> calendarserver-dev at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-dev/attachments/20120606/dc871579/attachment.html>
More information about the calendarserver-dev
mailing list