[Zope] Re: Catalog query time

Max M maxm at mxm.dk
Fri Mar 19 02:22:52 EST 2004


Kevin Carlson wrote:

> If sessions aren't the root of all evil, how can I go about solving this 
> session problem?


I just want to add that I too have had weird exceptions caused by 
sessions recently.

It was while writing a product, so I asumed that I had some of the 
blame. But my traceback looks rather similar.

I have unly had it under Zope 2.7.0, not 2.6.x though I am not shure 
that I have tested it under the very latest 2.6.x's

Win 2k
Zope 2.7.0
Plone 2.0 final

It was with my mxmDynamicPage product, that is pretty catalog intensive.

regards Max M


####################################

Site Error

An error was encountered while publishing this resource.

KeyError
Sorry, a site error occurred.

Traceback (innermost last):

     * Module ZPublisher.Publish, line 163, in publish_module_standard
     * Module Products.PlacelessTranslationService.PatchStringIO, line 
45, in new_publish
     * Module ZPublisher.Publish, line 127, in publish
     * Module Zope.App.startup, line 203, in zpublisher_exception_hook
     * Module ZPublisher.Publish, line 100, in publish
     * Module ZPublisher.mapply, line 88, in mapply
     * Module ZPublisher.Publish, line 40, in call_object
     * Module Shared.DC.Scripts.Bindings, line 306, in __call__
     * Module Shared.DC.Scripts.Bindings, line 343, in _bindAndExec
     * Module Products.CMFCore.FSPageTemplate, line 191, in _exec
     * Module Products.CMFCore.FSPageTemplate, line 124, in pt_render
     * Module Products.PageTemplates.PageTemplate, line 96, in pt_render
       <FSPageTemplate at /x/DynamicPage_editLists used for 
/x/Members/maxm/y>
     * Module TAL.TALInterpreter, line 189, in __call__
     * Module TAL.TALInterpreter, line 233, in interpret
     * Module TAL.TALInterpreter, line 663, in do_useMacro
     * Module TAL.TALInterpreter, line 233, in interpret
     * Module TAL.TALInterpreter, line 408, in do_optTag_tal
     * Module TAL.TALInterpreter, line 393, in do_optTag
     * Module TAL.TALInterpreter, line 388, in no_tag
     * Module TAL.TALInterpreter, line 233, in interpret
     * Module TAL.TALInterpreter, line 552, in do_insertTranslation
     * Module TAL.TALInterpreter, line 615, in translate
     * Module Products.PageTemplates.TALES, line 263, in translate
     * Module 
Products.PlacelessTranslationService.PlacelessTranslationService, line 
109, in translate
     * Module 
Products.PlacelessTranslationService.PlacelessTranslationService, line 
407, in translate
     * Module 
Products.PlacelessTranslationService.PlacelessTranslationService, line 
338, in getCatalogsForTranslation
     * Module 
Products.PlacelessTranslationService.PlacelessTranslationService, line 
444, in negotiate_language
     * Module Products.PlacelessTranslationService.Negotiator, line 257, 
in negotiate
     * Module Products.PlacelessTranslationService.Negotiator, line 262, 
in _negotiate
     * Module Products.PlacelessTranslationService.Negotiator, line 54, 
in getLangPrefs
     * Module Products.PlacelessTranslationService.Negotiator, line 168, 
in getAccepted
     * Module ZPublisher.HTTPRequest, line 1218, in __getattr__
     * Module ZPublisher.HTTPRequest, line 1178, in get
     * Module Products.Sessions.SessionDataManager, line 93, in 
getSessionData
     * Module Products.Sessions.SessionDataManager, line 180, in 
_getSessionDataObject
     * Module Products.Transience.Transience, line 176, in new_or_existing
     * Module Products.Transience.Transience, line 799, in get
     * Module Products.Transience.Transience, line 548, in _getCurrentBucket
     * Module ZODB.Connection, line 561, in setstate
     * Module tempstorage.TemporaryStorage, line 94, in load

KeyError: '\x00\x00\x00\x00\x00\x00\x00q' (Also, an error occurred while 
attempting to render the standard error message.)

-- 

hilsen/regards Max M, Denmark

http://www.mxm.dk/
IT's Mad Science



More information about the Zope mailing list