After migration to 2.1.1 from Plone 2.0.5, I am having a problem with
searching for users. So, in the Users and Groups administration
page in Plone, if I enter certain letters like 'a' in the user search
field, I get this error:
"Site error
This site encountered an error trying to fulfill your request. The
errors were:
Error Type
AttributeError
Error Value
'NoneType' object has no attribute '__of__'
Request made at
2005/11/12 17:00:41.228 US/Central"
If I enter other letters like 'b' or full names like 'baum", the
search returns normally with the correct results.
Does this mean some of the user objects are corrupted somehow? Are
there suggestions as to how to find out which are the culprits or how
to proceed. I have almost 700 users. Is this a good time to think
of abandoning the member structure that comes with Plone and go to
CMFMember?
Here is the traceback:
Traceback (innermost last):
Module ZPublisher.Publish, line 113, in publish
Module ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, line 40, in call_object
Module Products.CMFFormController.FSControllerPageTemplate, line
98, in __call__
Module Products.CMFFormController.BaseControllerPageTemplate, line
39, in _call
Module Products.CMFFormController.ControllerBase, line 243, in
getNext
Module Products.CMFFormController.Actions.TraverseTo, line 36, in
__call__
Module ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, line 40, in call_object
Module Products.CMFFormController.FSControllerPageTemplate, line
98, in __call__
Module Products.CMFFormController.BaseControllerPageTemplate, line
42, in _call
Module Shared.DC.Scripts.Bindings, line 311, in __call__
Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
Module Products.CMFCore.FSPageTemplate, line 188, in _exec
Module Products.CMFCore.FSPageTemplate, line 127, in pt_render
Module Products.PageTemplates.PageTemplate, line 104, in pt_render
- <FSControllerPageTemplate at /clients/templemicah/org/Plone/
prefs_users_overview>
Module TAL.TALInterpreter, line 206, in __call__
Module TAL.TALInterpreter, line 250, in interpret
Module TAL.TALInterpreter, line 711, in do_useMacro
Module TAL.TALInterpreter, line 250, in interpret
Module TAL.TALInterpreter, line 426, in do_optTag_tal
Module TAL.TALInterpreter, line 411, in do_optTag
Module TAL.TALInterpreter, line 406, in no_tag
Module TAL.TALInterpreter, line 250, in interpret
Module TAL.TALInterpreter, line 711, in do_useMacro
Module TAL.TALInterpreter, line 250, in interpret
Module TAL.TALInterpreter, line 426, in do_optTag_tal
Module TAL.TALInterpreter, line 411, in do_optTag
Module TAL.TALInterpreter, line 406, in no_tag
Module TAL.TALInterpreter, line 250, in interpret
Module TAL.TALInterpreter, line 734, in do_defineSlot
Module TAL.TALInterpreter, line 250, in interpret
Module TAL.TALInterpreter, line 426, in do_optTag_tal
Module TAL.TALInterpreter, line 411, in do_optTag
Module TAL.TALInterpreter, line 406, in no_tag
Module TAL.TALInterpreter, line 250, in interpret
Module TAL.TALInterpreter, line 734, in do_defineSlot
Module TAL.TALInterpreter, line 250, in interpret
Module TAL.TALInterpreter, line 677, in do_condition
Module TAL.TALInterpreter, line 250, in interpret
Module TAL.TALInterpreter, line 477, in do_setLocal_tal
Module Products.PageTemplates.TALES, line 221, in evaluate
- URL: file:CMFPlone/skins/plone_prefs/prefs_users_overview.cpt
- Line 81, Column 8
- Expression: <PythonExpr (searchstring or findAll) and
mtool.searchForMembers(name=searchstring) or []>
- Names:
{'container': <PloneSite at /clients/templemicah/org/Plone>,
'context': <PloneSite at /clients/templemicah/org/Plone>,
'default': <Products.PageTemplates.TALES.Default instance at
0x8b9fe8c>,
'here': <PloneSite at /clients/templemicah/org/Plone>,
'loop': <Products.PageTemplates.TALES.SafeMapping object at
0xd46874c>,
'modules':
<Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance
at 0x8bc5f0c>,
'nothing': None,
'options': {'args': (),
'state':
<Products.CMFFormController.ControllerState.ControllerState object at
0xd468aec>},
'repeat': <Products.PageTemplates.TALES.SafeMapping object at
0xd46874c>,
'request': <HTTPRequest, URL=http://205.234.172.107:9080/
clients/templemicah/org/Plone/prefs_users_overview>,
'root': <Application at >,
'template': <FSControllerPageTemplate at /clients/templemicah/
org/Plone/prefs_users_overview>,
'traverse_subpath': [],
'user': diskind}
Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
- __traceback_info__: (searchstring or findAll) and
mtool.searchForMembers(name=searchstring) or []
Module Python expression "(searchstring or findAll) and
mtool.searchForMembers(name=searchstring) or []", line 1, in
<expression>
Module Products.CMFPlone.MembershipTool, line 433, in
searchForMembers
Module Products.CMFCore.MembershipTool, line 124, in wrapUser
AttributeError: 'NoneType' object has no attribute '__of__'
Thanks.
==============================
David Diskin, david.diskin(at)verizon.net
|