[CalendarServer-dev] Circular reference in 8.0 (cannot import name GroupCacherPollingWork)

Andre LaBranche dre at apple.com
Mon May 23 13:16:45 PDT 2016


> On May 23, 2016, at 12:26 PM, Andre LaBranche <dre at apple.com> wrote:
> 
> Hi,
> 
> Thanks for your patience on this so far. It looks like we are trying to use some config before it is loaded from the configured plist. Stay tuned.

Hi,

Startup time is a little tricky for us in this regard. This should 'fix' it: http://trac.calendarserver.org/changeset/15635/CalendarServer/trunk

Thanks for maintaining the freebsd port :)

-dre

> 
> -dre
> 
>> On May 23, 2016, at 9:26 AM, Axel Rau <Axel.Rau at chaos1.de> wrote:
>> 
>> 
>>> Am 20.05.2016 um 12:31 schrieb Axel Rau <Axel.Rau at chaos1.de>:
>>> 
>>> If I break in > txdav/caldav/datastore/sql.py(1166)Calendar()
>> - - -
>> 1166 ->	    _shadowProperties = tuple([PropertyName.fromString(prop) for prop in config.Sharing.Calendars.CollectionProperties.Shadowable])
>> - - -
>> Accessing config.Sharing fails 1st time, but then succeeds:
>> - - -
>>> /usr/local/lib/python2.7/site-packages/txdav/caldav/datastore/sql.py(1166)Calendar()
>> -> _shadowProperties = tuple([PropertyName.fromString(prop) for prop in config.Sharing.Calendars.CollectionProperties.Shadowable])
>> (Pdb) p config.Sharing
>> *** ImportError: ImportError('cannot import name GroupCacherPollingWork',)
>> (Pdb) p config.Sharing
>> *{'Calendars': *{'CollectionProperties': *{'ProxyOverride': ['{urn:ietf:params:xml:ns:caldav}calendar-description', '{com.apple.ical:}calendarcolor', '{http://apple.com/ns/ical/}calendar-color', '{http://apple.com/ns/ical/}calendar-order'], 'Global': [], 'Shadowable': ['{urn:ietf:params:xml:ns:caldav}calendar-description']}, 'IgnorePerUserProperties': ['X-APPLE-STRUCTURED-LOCATION'], 'Enabled': True, 'Groups': *{'Enabled': True, 'ReconciliationDelaySeconds': 5}}, 'AllowExternalUsers': False, 'Enabled': True, 'AddressBooks': *{'CollectionProperties': *{'ProxyOverride': [], 'Global': [], 'Shadowable': ['{urn:ietf:params:xml:ns:carddav}addressbook-description']}, 'Enabled': False, 'Groups': *{'Enabled': False}}}
>> (Pdb) 
>> - - -
>> I have no idea how to debug this,
>> Axel
>> ---
>> PGP-Key:29E99DD6  ☀  computing @ chaos claudius
>> 
>> _______________________________________________
>> calendarserver-dev mailing list
>> calendarserver-dev at lists.macosforge.org
>> https://lists.macosforge.org/mailman/listinfo/calendarserver-dev
> 
> _______________________________________________
> calendarserver-dev mailing list
> calendarserver-dev at lists.macosforge.org
> https://lists.macosforge.org/mailman/listinfo/calendarserver-dev



More information about the calendarserver-dev mailing list