0 Replies
      Latest reply on Apr 16, 2019 5:20 PM by hjbflyer
      hjbflyer Level 1 Level 1 (0 points)


        I ran into the the following problem, while setting up the Open Source Apple Calendar Server.


        The CalDav part had no problems, but the CarDav part produced a lot of 500 (Internal Server Errors). The

        logfiles show an AttributeError exception in a module were Pyhon was calling a native function called


                details, error = odRecord.recordDetailsForAttribures_error_(none,None)


        I was trying to run the server on OSX 10.13.6 and on OSX 10.14.4 with the sam results. The clients - AdressBook.app and Calendar.App -

        are the actual Apple apps on  the above operating system versions and on IOS 12.2.


        The odRecord which was producing the exception looked like:


        (OD RECORD){
         <FieldName=uid>: u11111111-2222-3333-4444-555555555555',
         <FieldName=guid>: UUID('11111111-2222-3333-4444-555555555555'),
         <FieldName=metaNodeLocation>: u'/Local/Default',
         <FieldName=recordType>: <RecordType=user>,
         <FieldName=shortNames>: (u'u1',),
         <FieldName=fullNames>: (u'User Fullname',)}


        Other OD records, which do not produce errors look like


        (OD RECORD)<ODRecord 0x7f8980ed7520 [attributes {
        'dsAttrTypeStandard:GeneratedUID': '11111111-2222-3333-4444-555555555555',
        'dsAttrTypeStandard:RecordName': ['u1', 'u1@example.de'],
        'dsAttrTypeStandard:UniqueID': '502',
        'dsAttrTypeStandard:AppleMetaNodeLocation': '/Local/Default',
        'dsAttrTypeStandard:RecordType': 'dsRecTypeStandard:Users',
        'dsAttrTypeStandard:PrimaryGroupID': '20',
        'dsAttrTypeStandard:EMailAddress': 'u1@example.de',
        'dsAttrTypeStandard:RealName': 'User Fullname'}]>


        My work around is not to use OD. I have setup a smal XML directory and everything works fine. The client software in unchanged.


        Any ideas?