[CalendarServer-users] Regularly recurring error: " 'NoneType' object has no attribute 'guid' "

Morgen Sagen sagen at apple.com
Wed Aug 15 05:36:19 PDT 2012


It looks like your accounts.xml file contains a group which has a missing member.  Check the <members> of each group and make sure each <member> exists in the accounts.xml file, and is of the specified record type.

On Aug 15, 2012, at 1:23 AM, Jane Atkinson <jea62q at xtra.co.nz> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> I have CalendarServer 3.2 installed on Ubuntu Precise. I got the
> package and a couple of dependencies from the Quantal repo and
> installed them manually.
> 
> It runs well, but I notice that I get this error in
> /var/log/caldavd/error.log every five minutes:
> 
> 2012-08-15 20:02:42+1200 [-] [groupcacher] 2012-08-15 20:02:42+1200
> [-] Unhandled error in Deferred:
> 2012-08-15 20:02:42+1200 [-] [groupcacher] 2012-08-15 20:02:42+1200
> [-] Unhandled Error
> 2012-08-15 20:02:42+1200 [-] [groupcacher]     Traceback (most recent
> call last):
> 2012-08-15 20:02:42+1200 [-] [groupcacher]       File
> "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line
> 1095, in gotResult
> 2012-08-15 20:02:42+1200 [-] [groupcacher]         _inlineCallbacks(r,
> g, deferred)
> 2012-08-15 20:02:42+1200 [-] [groupcacher]       File
> "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line
> 1039, in _inlineCallbacks
> 2012-08-15 20:02:42+1200 [-] [groupcacher]         result = g.send(result)
> 2012-08-15 20:02:42+1200 [-] [groupcacher]       File
> "/usr/lib/python2.7/dist-packages/twistedcaldav/directory/directory.py",
> line 674, in updateCache
> 2012-08-15 20:02:42+1200 [-] [groupcacher]         groups, aliases =
> (yield self.getGroups(guids=delegatedGUIDs))
> 2012-08-15 20:02:42+1200 [-] [groupcacher]       File
> "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line
> 1181, in unwindGenerator
> 2012-08-15 20:02:42+1200 [-] [groupcacher]         return
> _inlineCallbacks(None, gen, Deferred())
> 2012-08-15 20:02:42+1200 [-] [groupcacher]     --- <exception caught
> here> ---
> 2012-08-15 20:02:42+1200 [-] [groupcacher]       File
> "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line
> 1039, in _inlineCallbacks
> 2012-08-15 20:02:42+1200 [-] [groupcacher]         result = g.send(result)
> 2012-08-15 20:02:42+1200 [-] [groupcacher]       File
> "/usr/lib/python2.7/dist-packages/twistedcaldav/directory/directory.py",
> line 540, in getGroups
> 2012-08-15 20:02:42+1200 [-] [groupcacher]         groups[alias] =
> record.memberGUIDs()
> 2012-08-15 20:02:42+1200 [-] [groupcacher]       File
> "/usr/lib/python2.7/dist-packages/twistedcaldav/directory/xmlfile.py",
> line 604, in memberGUIDs
> 2012-08-15 20:02:42+1200 [-] [groupcacher]        
> results.add(record.guid)
> 2012-08-15 20:02:42+1200 [-] [groupcacher]   
> exceptions.AttributeError: 'NoneType' object has no attribute 'guid'
> 
> As far as I know, it's not causing any problems as a result, but it is
> filling up the log file. What might be causing it?
> 
> Thanks
> 
> Jane Atkinson
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> 
> iQEcBAEBAgAGBQJQK1yIAAoJEERzSJEx033jeKQH/iMUmr4OuKEGZlVunHPeRc01
> Li6rswkqQm+rTNFO3aGaLvftPLYhtGqr9bXfdZL7QsLeU+d2MsQl+HrS44XOhJeD
> qqrXZTXqNW7YImVfMC8PJg4c26o/Smp5bYwaFl04RVoeaBYM/XcJ4hiEZyqQgTKD
> 3D5uoz7uRQMXm+fWhZkNP8GBzT8cAO0gC8IxS1HLXArbdRiue7DT2lwS3UPEBgqu
> tdUIwfP8Lq/Wigz0NzvbEsNt4LyKmeG9btUhI9Vh0BmskhbM0kbCPVzWnhPjPvK3
> 9cCDj35GYQWvcDsupwws3T1YVL1IRAIC3XM7WRzs8m2WGuKWGW8J/11QzExEudQ=
> =f68M
> -----END PGP SIGNATURE-----
> _______________________________________________
> calendarserver-users mailing list
> calendarserver-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo/calendarserver-users



More information about the calendarserver-users mailing list