I was able to get user authentication working between plone
and my active directory, however when I click the groups tab I get the
following errors:
This is the error on the console (running zope in fg):
/var/dev/parts/plone/CMFPlone/patches/unicodehacks.py:39:
DeprecationWarning:
*** *** Insertion of non-unicode
non-ascii non-utf8 encoded text in TAL is deprecated and will be broken in
Plone 3.5 !!!
'\xdbZrx\x7f)\xc8G\x87f.u\xd5\x1a\x82\xf8'...
return self._expr %
tuple([_unicode_replace(var(econtext)) for var in self._vars])
This is the error from the logs:
2008-02-01T17:15:27 ERROR
Zope.SiteErrorLog http://192.168.0.52:8080/plonedev/prefs_groups_overview
Traceback (innermost last):
Module
ZPublisher.Publish, line 119, in publish
Module ZPublisher.mapply,
line 88, in mapply
Module
ZPublisher.Publish, line 42, in call_object
Module
Products.CMFFormController.FSControllerPageTemplate, line 90, in __call__
Module
Products.CMFFormController.BaseControllerPageTemplate, line 31, in _call
Module
Shared.DC.Scripts.Bindings, line 313, in __call__
Module
Shared.DC.Scripts.Bindings, line 350, in _bindAndExec
Module
Products.CMFCore.FSPageTemplate, line 216, in _exec
Module
Products.CMFCore.FSPageTemplate, line 155, in pt_render
Module
Products.PageTemplates.PageTemplate, line 89, in pt_render
Module
zope.pagetemplate.pagetemplate, line 117, in pt_render
Module
zope.tal.talinterpreter, line 271, in __call__
Module
zope.tal.talinterpreter, line 346, in interpret
Module
zope.tal.talinterpreter, line 891, in do_useMacro
Module
zope.tal.talinterpreter, line 346, in interpret
Module
zope.tal.talinterpreter, line 536, in do_optTag_tal
Module zope.tal.talinterpreter,
line 521, in do_optTag
Module
zope.tal.talinterpreter, line 516, in no_tag
Module
zope.tal.talinterpreter, line 346, in interpret
Module
zope.tal.talinterpreter, line 891, in do_useMacro
Module
zope.tal.talinterpreter, line 346, in interpret
Module
zope.tal.talinterpreter, line 536, in do_optTag_tal
Module
zope.tal.talinterpreter, line 521, in do_optTag
Module
zope.tal.talinterpreter, line 516, in no_tag
Module
zope.tal.talinterpreter, line 346, in interpret
Module zope.tal.talinterpreter,
line 949, in do_defineSlot
Module
zope.tal.talinterpreter, line 346, in interpret
Module
zope.tal.talinterpreter, line 536, in do_optTag_tal
Module
zope.tal.talinterpreter, line 521, in do_optTag
Module
zope.tal.talinterpreter, line 516, in no_tag
Module
zope.tal.talinterpreter, line 346, in interpret
Module
zope.tal.talinterpreter, line 949, in do_defineSlot
Module
zope.tal.talinterpreter, line 346, in interpret
Module
zope.tal.talinterpreter, line 855, in do_condition
Module
zope.tal.talinterpreter, line 346, in interpret
Module
zope.tal.talinterpreter, line 855, in do_condition
Module
zope.tal.talinterpreter, line 346, in interpret
Module
zope.tal.talinterpreter, line 536, in do_optTag_tal
Module
zope.tal.talinterpreter, line 521, in do_optTag
Module
zope.tal.talinterpreter, line 516, in no_tag
Module
zope.tal.talinterpreter, line 346, in interpret
Module
zope.tal.talinterpreter, line 824, in do_loop_tal
Module
zope.tal.talinterpreter, line 346, in interpret
Module
zope.tal.talinterpreter, line 536, in do_optTag_tal
Module
zope.tal.talinterpreter, line 521, in do_optTag
Module
zope.tal.talinterpreter, line 516, in no_tag
Module
zope.tal.talinterpreter, line 346, in interpret
Module
zope.tal.talinterpreter, line 586, in do_setLocal_tal
Module zope.tales.tales,
line 696, in evaluate
- URL:
file:/var/dev/parts/plone/CMFPlone/skins/plone_prefs/prefs_groups_overview.cpt
- Line 186, Column
28
- Expression:
<PythonExpr group.getRoles()>
- Names:
{'container': <PloneSite at /plonedev>,
'context': <PloneSite at /plonedev>,
'default': <object object at 0xb7c81528>,
'here': <PloneSite at /plonedev>,
'loop': {u'group_info': <Products.PageTemplates.Expressions.PathIterator
object at 0xd723b4c>},
'nothing': None,
'options': {'args': (),
'state': <Products.CMFFormController.ControllerState.ControllerState object
at 0xd65dc4c>},
'repeat': <Products.PageTemplates.Expressions.SafeMapping object at
0xccdcd6c>,
'request': <HTTPRequest,
URL=http://192.168.0.52:8080/plonedev/prefs_groups_overview>,
'root': <Application at >,
'template': <FSControllerPageTemplate at /plonedev/prefs_groups_overview>,
'traverse_subpath': [],
'user': <PloneUser 'aduser'>}
Module
Products.PageTemplates.ZRPythonExpr, line 49, in __call__
-
__traceback_info__: group.getRoles()
Module PythonExpr, line
1, in <expression>
AttributeError: 'NoneType'
object has no attribute 'getRoles'
I am so close to having this working that it is driving me
nuts, any thought as to how I can fix this group problem? The ZMI is able
to view all of my active directory groups just fine, it is only the plone group
tab that is broken.
TIA
Defy all challenges. Microsoft(R) Visual Studio 2008.