Using CPSSharedCalendar 2.4.0 and CPS 3.4.0, one can't create a CPS portal with the CPSSharedCalendar profile selected and without CPSSubscription also selected.
Traceback (most recent call last):
File "/usr/lib/Zope-2.9.1/lib/python/ZPublisher/Publish.py", line 114, in publish
request, bind=1)
File "/usr/lib/Zope-2.9.1/lib/python/ZPublisher/mapply.py", line 88, in mapply
if debug is not None: return debug(object,args,context)
File "/usr/lib/Zope-2.9.1/lib/python/ZPublisher/Publish.py", line 40, in call_object
result=apply(object,args) # Type s<cr> to step into published object.
File "/home/div/zopes/ebat/Products/CPSDefault/factory.py", line 228, in addConfiguredCPSSite
REQUEST=REQUEST, **kw)
File "/home/div/zopes/ebat/Products/CPSDefault/factory.py", line 100, in addConfiguredSite
self.importProfiles(profile_id, extension_ids)
File "/home/div/zopes/ebat/Products/CPSDefault/factory.py", line 146, in importProfiles
setup_tool.runAllImportSteps()
File "/home/div/zopes/ebat/Products/GenericSetup/tool.py", line 248, in runAllImportSteps
message = self._doRunImportStep(step, context)
File "/home/div/zopes/ebat/Products/GenericSetup/tool.py", line 716, in _doRunImportStep
return handler(context)
File "/home/div/zopes/ebat/Products/CPSSharedCalendar/exportimport.py", line 215, in importDefaultCalendarSubscriptions
stool = getToolByName(site, 'portal_subscriptions')
File "/home/div/zopes/ebat/Products/CMFCore/utils.py", line 82, in getToolByName
raise AttributeError, name
AttributeError: portal_subscriptions