[Zope-CMF] Re: mega problems with CMF1.2beta1
Lucas Hofman
lucas.hofman@pgs.com
Fri, 14 Dec 2001 10:33:15 +0100
On Thursday 13 December 2001 17:10, you wrote:
> Dear Lucas
>
> sorry to bother you directly, but you seem to have managed to get
> CMF1.2beta1 to work, and I haven't :(
>
> Basically, the product installed OK. I've checked I have the right TAL
> 1.4.1, ZTUtils 1.1.3 and PageTemplates 1.4.1 installed where they shoul=
d
> be.
>
> All the functionalities work when I am logged in as manager, but nothin=
g
> works for members.
>
> Once members have joined, they can't log in again. After typing usernam=
e
> and password, clicking on 'Login' as a member produces the following
> error:
>
> =A0
> Site Error
> An error was encountered while publishing this resource.
>
> TALESError
> Sorry, a site error occurred.
> Traceback (innermost last):
> File /usr/local/share/Zope/lib/python/ZPublisher/Publish.py, line 223=
,
> in publish_module
> File /usr/local/share/Zope/lib/python/ZPublisher/Publish.py, line 187=
,
> in publish
> File /usr/local/share/Zope/lib/python/Zope/__init__.py, line 226, in
> zpublisher_exception_hook
> (Object: LockableItem)
> File /usr/local/share/Zope/lib/python/ZPublisher/Publish.py, line 171=
,
> in publish
> File /usr/local/share/Zope/lib/python/ZPublisher/mapply.py, line 160,
> in mapply
> (Object: logged_in)
> File /usr/local/share/Zope/lib/python/ZPublisher/Publish.py, line 112=
,
> in call_object
> (Object: logged_in)
> File /usr/local/share/Zope/lib/python/Shared/DC/Scripts/Bindings.py,
> line 324, in __call__
> (Object: logged_in)
> File /usr/local/share/Zope/lib/python/Shared/DC/Scripts/Bindings.py,
> line 354, in _bindAndExec
> (Object: logged_in)
> File
> /usr/local/share/Zope/lib/python/Products/PageTemplates/ZopePageTemplat=
e.py
>, line 267, in _exec
> (Object: logged_in)
> File
> /usr/local/share/Zope/lib/python/Products/CMFCore/FSPageTemplate.py,
> line 99, in pt_render
> (Object: logged_in)
> File
> /usr/local/share/Zope/lib/python/Products/PageTemplates/PageTemplate.py=
,
> line 156, in pt_render
> (Object: logged_in)
> (Info: {'container': <CMFSite instance at 1015348>,
> 'here': <CMFSite instance at 1015348>,
> 'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter
> instance at 70f0e4>,
> 'nothing': None,
> 'options': {'args': ()},
> 'request': <stuff deleted></stuff deleted>
> 'root': <Application instance at bcb0d0>,
> 'template': <FSPageTemplate instance at 107e8e8>,
> 'traverse_subpath': [],
> 'user': isa})
> File /usr/local/share/Zope/lib/python/TAL/TALInterpreter.py, line 229=
,
> in __call__
> File /usr/local/share/Zope/lib/python/TAL/TALInterpreter.py, line 262=
,
> in interpret
> File /usr/local/share/Zope/lib/python/TAL/TALInterpreter.py, line 594=
,
> in do_useMacro
> File /usr/local/share/Zope/lib/python/TAL/TALInterpreter.py, line 262=
,
> in interpret
> File /usr/local/share/Zope/lib/python/TAL/TALInterpreter.py, line 473=
,
> in do_setLocal_tal
> File /usr/local/share/Zope/lib/python/Products/PageTemplates/TALES.py=
,
> line 295, in evaluate
> File
> /usr/local/share/Zope/lib/python/Products/PageTemplates/ZRPythonExpr.py=
,
> line 121, in __call__
> (Info: atool.listFilteredActionsFor( here ))
> File Python expression "atool.listFilteredActionsFor( here )", line 2=
,
> in f
> (Object: guarded_getattr)
> File /usr/local/share/Zope/lib/python/Products/CMFCore/ActionsTool.py=
,
> line 170, in listFilteredActionsFor
> (Object: portal_actions)
> File
> /usr/local/share/Zope/lib/python/Products/CMFCore/WorkflowTool.py, line
> 378, in listActions
> (Object: LockableItem)
> File
> /usr/local/share/Zope/lib/python/Products/CMFDefault/DefaultWorkflow.py=
,
> line 143, in listGlobalActions
> (Object: ElementWithAttributes)
> File /usr/local/share/Zope/lib/python/Products/CMFCore/CatalogTool.py=
,
> line 193, in searchResults
> (Object: LockableItem)
> File /usr/local/share/Zope/lib/python/Products/ZCatalog/ZCatalog.py,
> line 597, in searchResults
> (Object: LockableItem)
> File /usr/local/share/Zope/lib/python/Products/ZCatalog/Catalog.py,
> line 649, in searchResults
> File /usr/local/share/Zope/lib/python/Products/ZCatalog/Catalog.py,
> line 537, in _indexedSearch
> File
> /usr/local/share/Zope/lib/python/Products/PluginIndexes/common/UnIndex.=
py,
> line 402, in _apply_index
> (Object: PluggableIndex)
> TALESError: Sorry, an error occurred
>
>
>
> I tried publishing all home pages, assigning roles as 'Members' to
> users, to no avail. Nobody except me can log in. Needless to say it is
> not a happy situation.
>
> any help would be very much appreciated
>
>
> Isabelle
Isabelle,
I copy this answer to the list because I do not understand what is happen=
ing.=20
I have the feeling Zope=E6s ZCatalog and CMFCore do not match. Let's star=
t with=20
the following questions:
1. What version of Zope are you using?
2. Do (after startup) all products look fine in the control-panel?
3. If you start in debug mode, do you see any messages during startup?
4. What OS/version?
5. Does Zope and ZPT work ok?
I am sorry not to have a solution for you, but answers on the above may=20
trigger something.
--=20
Regards,
Lucas Hofman
PGS Research work: +47 67514059
PO Box 354 fax: +47 67526640
N-1326 Lysaker, Norway home: +47 67581373