[Setup] Problem with user search in plone 2.1.1
David Diskin
david.diskin at verizon.net
Sun Nov 13 05:34:45 UTC 2005
More relevant information about this problem. In looking at the /
Members folder in the portal_catalog, I noticed some members folders
- e.g. /Members/smithj were of type 'Plone Folder' and other member
folders were of type 'ATFolder'. I'm guessing this is at the root of
my problem - i.e. shouldn't all of the member folders be of type
ATFolder? And, what can I do to rectify this? Thanks,
David
On Nov 12, 2005, at 11:40 PM, David Diskin wrote:
> After migration to 2.1.1 from Plone 2.0.5, I am having a problem
> with administering 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.
>
> 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
>
> _______________________________________________
> Setup mailing list
> Setup at lists.plone.org
> http://lists.plone.org/mailman/listinfo/setup
==============================
David Diskin, david.diskin at verizon.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.plone.org/pipermail/plone-setup/attachments/20051113/0a30106c/attachment-0002.html>
More information about the Setup
mailing list