[Zope-CMF] Post login catalog related traceback.

Andrew Sawyers andrew@zope.com
Tue, 15 Jan 2002 09:52:42 -0500


There is also a script for doing this in CMFDefault/Extensions =
(update_catalogIndexes.py).
Andrew


-----Original Message-----
From: zope-cmf-admin@zope.org [mailto:zope-cmf-admin@zope.org]On Behalf
Of Tres Seaver
Sent: Tuesday, January 15, 2002 8:02 AM
To: John Morton
Cc: zope-cmf@zope.org
Subject: Re: [Zope-CMF] Post login catalog related traceback.


John Morton wrote:

 > I'm running into a traceback that occurs as soon as I log into a =
freshly set  up CMF site. It doesn't occur when I'm browsing
 > anonymously.
 >
 > (Screens of useless debugging html deleted)
 >
 > File /usr/lib/zope/lib/python/TAL/TALInterpreter.py, line 229, in =
__call__ File /usr/lib/zope/lib/python/TAL/TALInterpreter.py,
 > line 262, in interpret File =
/usr/lib/zope/lib/python/TAL/TALInterpreter.py, line 594, in do_useMacro =
File
 > /usr/lib/zope/lib/python/TAL/TALInterpreter.py, line 262, in =
interpret File /usr/lib/zope/lib/python/TAL/TALInterpreter.py,
 > line 473, in do_setLocal_tal File =
/var/lib/zope/Products/PageTemplates/TALES.py, line 295, in evaluate =
File
 > /var/lib/zope/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
 > /var/lib/zope/Products/CMFCore/ActionsTool.py, line 186, in =
listFilteredActionsFor (Object: portal_actions) File
 > /var/lib/zope/Products/CMFCore/WorkflowTool.py, line 403, in =
listActions (Object: portal_workflow) File
 > /var/lib/zope/Products/CMFDefault/DefaultWorkflow.py, line 143, in =
listGlobalActions (Object: default_workflow) File
 > /var/lib/zope/Products/CMFCore/CatalogTool.py, line 201, in =
searchResults (Object: portal_catalog) File
 > /usr/lib/zope/lib/python/Products/ZCatalog/ZCatalog.py, line 653, in =
searchResults (Object: portal_catalog) File
 > /usr/lib/zope/lib/python/Products/ZCatalog/Catalog.py, line 650, in =
searchResults File
 > /usr/lib/zope/lib/python/Products/ZCatalog/Catalog.py, line 538, in =
_indexedSearch File
 > /usr/lib/zope/lib/python/Products/PluginIndexes/common/UnIndex.py, =
line 402, in _apply_index (Object: effective) TALESError:
 > Sorry, an error occurred
 >
 >
 > I'm running Zope 2.4.2, CMF from the CVS head (it was CMF-1.2b2; the =
upgrade made no difference), with CMFWiki, Collector,
 > Calendar and Decor installed.  The site is running the ZTP_Basic skin =
by default. The only portal objects  created are two
 > guest accounts and a CMFWiki. There were more, but I've droped the =
ones I could spare and reindexed the catalog to see if that
 > helped (it  didn't :-)
 >
 > I'm now pretty much stuck. Any idea where I should start looking to =
solve the  problem?

John,

Although your message seems to imply otherwise, is it possible that the =
catalog
for this site was created under Zope 2.3.x?  As a check, please look at =
its
"Indexes" tab:  does the 'effective' index show a correct "Index type" =
(should
be "FieldIndex"), "# objcts", and "Last Modified" for the 'effective' =
index?
If it says "(pre-2.4 index)", then delete and re-add it (along with any =
others);
then, reindex the catalog.

Tres.
--=20
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Tres Seaver                                tseaver@zope.com
Zope Corporation      "Zope Dealers"       http://www.zope.com


_______________________________________________
Zope-CMF maillist  -  Zope-CMF@zope.org
http://lists.zope.org/mailman/listinfo/zope-cmf

See http://www.zope.org/Products/PTK/Tracker for bug reports and feature =
requests