'ILDAPConfiguration' error when running locally

6 Messages Forum Options Options
Embed this topic
Permalink
treid
'ILDAPConfiguration' error when running locally
Reply Threaded More
Print post
Permalink
Hello

I'm running an instance locally and am getting the following error:

Traceback (innermost last):

Module ZPublisher.Publish, line 202, in publish_module_standard
Module ZPublisher.Publish, line 150, in publish
Module plone.app.linkintegrity.monkey, line 21, in zpublisher_exception_hook_wrapper
Module ZPublisher.Publish, line 110, in publish
Module ZPublisher.BaseRequest, line 424, in traverse
Module ZPublisher.BeforeTraverse, line 99, in __call__
Module Products.CMFCore.PortalObject, line 94, in __before_publishing_traverse__
Module zope.event, line 23, in notify
Module zope.component.event, line 26, in dispatch
Module zope.component._api, line 130, in subscribers
Module zope.component.registry, line 290, in subscribers
Module zope.interface.adapter, line 535, in subscribers
Module zope.component.event, line 33, in objectEventNotify
Module zope.component._api, line 130, in subscribers
Module zope.component.registry, line 290, in subscribers
Module zope.interface.adapter, line 535, in subscribers
Module zope.app.component.site, line 375, in threadSiteSubscriber
Module zope.app.component.hooks, line 61, in setSite
Module Products.CMFCore.PortalObject, line 75, in getSiteManager
Module ZODB.Connection, line 761, in setstate
Module ZODB.Connection, line 819, in _setstate
Module ZODB.serialize, line 605, in setGhostState
Module zope.component.persistentregistry, line 42, in __setstate__
Module zope.interface.adapter, line 80, in _createLookup
Module zope.interface.adapter, line 389, in __init__
Module zope.interface.adapter, line 426, in init_extendors
Module zope.interface.adapter, line 430, in add_extendor
AttributeError: type object 'ILDAPConfiguration' has no attribute '__iro__'

Anybody got any ideas how to fix this?

Thanks
Wichert Akkerman
Re: 'ILDAPConfiguration' error when running locally
Reply Threaded More
Print post
Permalink
Previously treid wrote:

>
> Hello
>
> I'm running an instance locally and am getting the following error:
>
> Traceback (innermost last):
>
> Module ZPublisher.Publish, line 202, in publish_module_standard
> Module ZPublisher.Publish, line 150, in publish
> Module plone.app.linkintegrity.monkey, line 21, in
> zpublisher_exception_hook_wrapper
> Module ZPublisher.Publish, line 110, in publish
> Module ZPublisher.BaseRequest, line 424, in traverse
> Module ZPublisher.BeforeTraverse, line 99, in __call__
> Module Products.CMFCore.PortalObject, line 94, in
> __before_publishing_traverse__
> Module zope.event, line 23, in notify
> Module zope.component.event, line 26, in dispatch
> Module zope.component._api, line 130, in subscribers
> Module zope.component.registry, line 290, in subscribers
> Module zope.interface.adapter, line 535, in subscribers
> Module zope.component.event, line 33, in objectEventNotify
> Module zope.component._api, line 130, in subscribers
> Module zope.component.registry, line 290, in subscribers
> Module zope.interface.adapter, line 535, in subscribers
> Module zope.app.component.site, line 375, in threadSiteSubscriber
> Module zope.app.component.hooks, line 61, in setSite
> Module Products.CMFCore.PortalObject, line 75, in getSiteManager
> Module ZODB.Connection, line 761, in setstate
> Module ZODB.Connection, line 819, in _setstate
> Module ZODB.serialize, line 605, in setGhostState
> Module zope.component.persistentregistry, line 42, in __setstate__
> Module zope.interface.adapter, line 80, in _createLookup
> Module zope.interface.adapter, line 389, in __init__
> Module zope.interface.adapter, line 426, in init_extendors
> Module zope.interface.adapter, line 430, in add_extendor
> AttributeError: type object 'ILDAPConfiguration' has no attribute '__iro__'
>
> Anybody got any ideas how to fix this?

Re-add simplon.plone.ldap to your buildout.

Wichert.

--
Wichert Akkerman <wichert@...>    It is simple to make things.
http://www.wiggy.net/                   It is hard to make things simple.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Plone-Users mailing list
Plone-Users@...
https://lists.sourceforge.net/lists/listinfo/plone-users
Radim Novotny-2
Re: 'ILDAPConfiguration' error when running locally
Reply Threaded More
Print post
Permalink
>> Module zope.interface.adapter, line 426, in init_extendors
>> Module zope.interface.adapter, line 430, in add_extendor
>> AttributeError: type object 'ILDAPConfiguration' has no attribute '__iro__'
>>
>> Anybody got any ideas how to fix this?
>
> Re-add simplon.plone.ldap to your buildout.
>
> Wichert.
>

It is possible to "fix" this error without adding simplon.plone.ldap to
the buildout? I want to remove all ldap dependencies including
python-ldap etc.

I have site with simplon.plone.ldap installed and I want to move it to
the new locations. I'v got this error on the new location.

Thanks

--
Radim


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Plone-Users mailing list
Plone-Users@...
https://lists.sourceforge.net/lists/listinfo/plone-users
Wichert Akkerman
Re: 'ILDAPConfiguration' error when running locally
Reply Threaded More
Print post
Permalink
Previously Radim Novotny wrote:

> >> Module zope.interface.adapter, line 426, in init_extendors
> >> Module zope.interface.adapter, line 430, in add_extendor
> >> AttributeError: type object 'ILDAPConfiguration' has no attribute '__iro__'
> >>
> >> Anybody got any ideas how to fix this?
> >
> > Re-add simplon.plone.ldap to your buildout.
> >
> > Wichert.
> >
>
> It is possible to "fix" this error without adding simplon.plone.ldap to
> the buildout? I want to remove all ldap dependencies including
> python-ldap etc.

You'll have to manually remove the persistent local utility from the
local site manager. That is not for the faint of heart, and I'm not
aware of any tutorials or examples of doing that.

Wichert.

--
Wichert Akkerman <wichert@...>    It is simple to make things.
http://www.wiggy.net/                   It is hard to make things simple.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Plone-Users mailing list
Plone-Users@...
https://lists.sourceforge.net/lists/listinfo/plone-users
Radim Novotny-2
Re: 'ILDAPConfiguration' error when running locally
Reply Threaded More
Print post
Permalink

>> It is possible to "fix" this error without adding simplon.plone.ldap to
>> the buildout? I want to remove all ldap dependencies including
>> python-ldap etc.
>
> You'll have to manually remove the persistent local utility from the
> local site manager. That is not for the faint of heart, and I'm not
> aware of any tutorials or examples of doing that.
>
> Wichert.
>

Right, unregistering the utility from Plone local site manager did not
help (portal.getSiteManager().unregisterUtility). I tried to remove it
from the PersistentAdapterRegistry but without success.

I solved it in this way (just for the records):

- uninstalled simplon.plone.ldap from the original site
- removed ldap plugin from acl_users
- moved Data.fs to the new location (I want to migrate)
- created custom version of simplon.plone.ldap in src/ directory of the
new buildout
- register simplon.plone.ldap in develop, eggs and zcml sections of
buildout.cfg
- manually removed all PloneLDAP and python ldap dependencies from the
custom version of simplon.plone.ldap (just remove imports and direct
usage of imported variables/methods)
- start instance

This is hardcore a bit but helps me not to install all the ldap
dependencies on the clean computer where I don't need them.

--
Radim


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Plone-Users mailing list
Plone-Users@...
https://lists.sourceforge.net/lists/listinfo/plone-users
Volker Wend-2
Re: 'ILDAPConfiguration' error when running locally
Reply Threaded More
Print post
Permalink
Hi,

reading this, i wonder what the upgrade path is from simplon.plone.ldap to plone.app.ldap. I have an instance with simplon.plone.ldap and I wish to use plone.app.ldap. It is not possible to uninstall the old modul. Any Advise ?

Kind regards
Volker





-----Ursprüngliche Nachricht-----
Von: Radim Novotny [mailto:novotny.radim@...]
Gesendet: Dienstag, 30. September 2008 07:21
An: plone-users@...
Betreff: Re: [Plone-Users] 'ILDAPConfiguration' error when running locally


>> It is possible to "fix" this error without adding simplon.plone.ldap to
>> the buildout? I want to remove all ldap dependencies including
>> python-ldap etc.
>
> You'll have to manually remove the persistent local utility from the
> local site manager. That is not for the faint of heart, and I'm not
> aware of any tutorials or examples of doing that.
>
> Wichert.
>

Right, unregistering the utility from Plone local site manager did not
help (portal.getSiteManager().unregisterUtility). I tried to remove it
from the PersistentAdapterRegistry but without success.

I solved it in this way (just for the records):

- uninstalled simplon.plone.ldap from the original site
- removed ldap plugin from acl_users
- moved Data.fs to the new location (I want to migrate)
- created custom version of simplon.plone.ldap in src/ directory of the
new buildout
- register simplon.plone.ldap in develop, eggs and zcml sections of
buildout.cfg
- manually removed all PloneLDAP and python ldap dependencies from the
custom version of simplon.plone.ldap (just remove imports and direct
usage of imported variables/methods)
- start instance

This is hardcore a bit but helps me not to install all the ldap
dependencies on the clean computer where I don't need them.

--
Radim


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Plone-Users mailing list
Plone-Users@...
https://lists.sourceforge.net/lists/listinfo/plone-users


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Plone-Users mailing list
Plone-Users@...
https://lists.sourceforge.net/lists/listinfo/plone-users