Quaive Plone Intranet - LDAP Import - KeyError: u'profile-plone.app.ldap:ldap'

Hi guys,

I did setup a Quaive plone intranet site according to this documentation on an Ubuntu 16.04 system (without docker).
The installation itself looks fine so far, but when I try to setup the LDAP support by importing "Plone Intranet: LDAP" as described there, then I get the following error.

Traceback (innermost last):
  Module ZPublisher.Publish, line 138, in publish
  Module ZPublisher.mapply, line 77, in mapply
  Module ZPublisher.Publish, line 48, in call_object
  Module Shared.DC.Scripts.Bindings, line 322, in __call__
  Module Shared.DC.Scripts.Bindings, line 359, in _bindAndExec
  Module Products.PageTemplates.PageTemplateFile, line 130, in _exec
  Module Products.PageTemplates.PageTemplate, line 87, in pt_render
  Module zope.pagetemplate.pagetemplate, line 132, in pt_render
  Module five.pt.engine, line 98, in __call__
  Module z3c.pt.pagetemplate, line 163, in render
  Module chameleon.zpt.template, line 261, in render
  Module chameleon.template, line 191, in render
  Module chameleon.template, line 171, in render
  Module 0130e661c428826c22686e26c42ca852.py, line 946, in render
  Module Products.GenericSetup.tool, line 1302, in getProfileDependencyChain
  Module Products.GenericSetup.tool, line 1300, in getProfileDependencyChain
  Module Products.GenericSetup.tool, line 934, in getDependenciesForProfile

  KeyError: u'profile-plone.app.ldap:ldap'

 - Expression: "python:len(context.getProfileDependencyChain(context_id)) > 1"
 - Filename:   manage_fullImport
 - Location:   (line 79: col 29)
 - Arguments:  repeat: {...} (0)
           template: <ImplicitAcquisitionWrapper manage_fullImport at 0x7ff58752ba50>
           modules: <instance - at 0x7ff59ce03200>
           here: <ImplicitAcquisitionWrapper portal_setup at 0x7ff58e09e870>
           user: <ImplicitAcquisitionWrapper - at 0x7ff58752b5a0>
           loop: {...} (2)
           nothing: <NoneType - at 0x8f5320>
           base_context_id: profile-Products.CMFPlone:plone
           context_title: Plone Intranet:  Suite : LDAP
           target_language: <NoneType - at 0x8f5320>
           extension_contexts: <list - at 0x7ff57ef68908>
           c: {...} (5)
           container: <ImplicitAcquisitionWrapper portal_setup at 0x7ff58e09e870>
           contexts: <tuple - at 0x7ff588b1e640>
           request: <instance - at 0x7ff57ef9cb48>
           wrapped_repeat: <SafeMapping - at 0x7ff57eff8d60>
           default: <object - at 0x7ff5a4927590>
           has_pending_upgrades: False
           context: <ImplicitAcquisitionWrapper portal_setup at 0x7ff58e09e870>
           context_id: profile-ploneintranet.suite:ldap
           extension_contexts_ordered_by_id: <list - at 0x7ff57fa0bf38>
           translate: <function translate at 0x7ff57f655488>
           root: <ImplicitAcquisitionWrapper Zope at 0x7ff58e09e690>
           options: {...} (1)
           base_context_title: Plone Site

Any idea what could cause this issue?

Hi I think it will be enough to include in your buildout this file https://github.com/ploneintranet/ploneintranet/blob/master/buildout.d/ldap-eggs.cfg

Have fun!


Thanks a lot, this helped.
I add the following line to buildout.cfg

extends =