collective / pas.plugins.ldap

Zope (and Plone) PAS Plugin providing users and groups from LDAP directory
http://pypi.python.org/pypi/pas.plugins.ldap
Other
13 stars 20 forks source link

AttributeError when trying to access LDAP Configuration #2

Closed reinhardt closed 12 years ago

reinhardt commented 12 years ago

Hi guys,

I just installed pas.plugins.ldap in the Plone control panel, and when I tried to access /plone_ldapcontrolpanel for the first time I got

AttributeError: 'Widget' object has no attribute 'blueprints'

My versions: Plone 4.1.3 Products.PlonePAS-4.0.9 yafowil-1.2 yafowil.yaml-1.0 yafowil.widget.dict-1.1 yafowil.zope2-1.0_beta

The traceback:

Traceback (innermost last):
Module ZPublisher.Publish, line 126, in publish
Module ZPublisher.mapply, line 77, in mapply
Module Products.PDBDebugMode.runcall, line 70, in pdb_runcall
Module ZPublisher.Publish, line 46, in call_object
Module Products.Five.browser.metaconfigure, line 476, in call
Module Products.Five.browser.pagetemplatefile, line 125, in call
Module Products.Five.browser.pagetemplatefile, line 59, in call
Module zope.pagetemplate.pagetemplate, line 113, in pt_render
Module zope.tal.talinterpreter, line 271, in call
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 888, in do_useMacro
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 533, in do_optTag_tal
Module zope.tal.talinterpreter, line 518, in do_optTag
Module zope.tal.talinterpreter, line 513, in no_tag
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 888, in do_useMacro
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 533, in do_optTag_tal
Module zope.tal.talinterpreter, line 518, in do_optTag
Module zope.tal.talinterpreter, line 513, in no_tag
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 946, in do_defineSlot
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 533, in do_optTag_tal
Module zope.tal.talinterpreter, line 518, in do_optTag
Module zope.tal.talinterpreter, line 513, in no_tag
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 954, in do_defineSlot
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 533, in do_optTag_tal
Module zope.tal.talinterpreter, line 518, in do_optTag
Module zope.tal.talinterpreter, line 513, in no_tag
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 954, in do_defineSlot
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 533, in do_optTag_tal
Module zope.tal.talinterpreter, line 518, in do_optTag
Module zope.tal.talinterpreter, line 513, in no_tag
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 888, in do_useMacro
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 954, in do_defineSlot
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 533, in do_optTag_tal
Module zope.tal.talinterpreter, line 518, in do_optTag
Module zope.tal.talinterpreter, line 513, in no_tag
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 946, in do_defineSlot
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 533, in do_optTag_tal
Module zope.tal.talinterpreter, line 518, in do_optTag
Module zope.tal.talinterpreter, line 513, in no_tag
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 946, in do_defineSlot
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 533, in do_optTag_tal
Module zope.tal.talinterpreter, line 518, in do_optTag
Module zope.tal.talinterpreter, line 513, in no_tag
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 531, in do_optTag_tal
Module zope.tal.talinterpreter, line 513, in no_tag
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 742, in do_insertStructure_tal
Module Products.PageTemplates.Expressions, line 218, in evaluateStructure
Module zope.tales.tales, line 696, in evaluate
- URL: /home/star/staralliance.buildout/src/pas.plugins.ldap/src/pas/plugins/ldap/plonecontrolpanel/controlpanel.pt
- Line 34, Column 2
- Expression:
- Names:
{'args': (),
'container': ,
'context': ,
'default': ,
'here': ,
'loop': {},
'nothing': None,
'options': {},
'repeat': ,
'request': ,
'root': ,
'template': ,
'traverse_subpath': [],
'user': ,
'view': ,
'views': }
Module zope.tales.pythonexpr, line 59, in call
- traceback_info: (view.form())
Module , line 1, in
Module pas.plugins.ldap.properties, line 91, in form
Module yafowil.controller, line 18, in init
Module yafowil.base, line 332, in extract

yafowil widget processing info:

    widget: ldapsettings
    task: extract
    description: with name "form"

Module yafowil.compound, line 21, in compound_extractor
Module yafowil.base, line 332, in extract

yafowil widget processing info:

    widget: ldapsettings.users
    task: extract
    description: with name "fieldset"

Module yafowil.compound, line 21, in compound_extractor
Module yafowil.base, line 332, in extract

yafowil widget processing info:

    widget: ldapsettings.users.object_classes
    task: extract
    description: with name "array"

Module yafowil.widget.array.widget, line 174, in array_extractor
Module yafowil.widget.array.widget, line 166, in duplicate_recursiv
Module yafowil.widget.array.widget, line 158, in duplicate_widget
AttributeError: 'Widget' object has no attribute 'blueprints'

Thanks for any hints!

rnixx commented 12 years ago

please use latest yafowil from sources. release 1.3 will be made soon, than you can switch back to releases.

temporary yafowil - until released

yafowil = git git@github.com:bluedynamics/yafowil.git yafowil.yaml = git git@github.com:bluedynamics/yafowil.yaml.git yafowil.zope2 = git git@github.com:bluedynamics/yafowil.zope2.git yafowil.widget.dict = git git@github.com:bluedynamics/yafowil.widget.dict.git yafowil.widget.array = git git@github.com:bluedynamics/yafowil.widget.array.git

reinhardt commented 12 years ago

Thank you so much, this fixed the issue promptly!