[Grok-dev] a mystery ZODB breaking dependency issue
Martijn Faassen
faassen at startifact.com
Tue Oct 30 12:07:19 EDT 2007
Hey,
A few times I've seen old ZODB's break. When I go to
http://localhost:8080, I get an exception as below (and a System Error).
This just happened when I started using the trunk. I suspect it has to
do with some version requirement somewhere that changed at some point,
possibly now using an older version than before.
We can't afford to break ZODBs between Grok versions, so we need to hunt
this one down and fix it. The first step will be to reproduce this. I'll
the very least create a copy of this symptomatic ZODB I have now (which
has some custom application installed so I can't easily share it; we
need a smaller example).
Please help!
Regards,
Martijn
------
2007-10-30T17:03:21 ERROR SiteError http://localhost:8080
Traceback (most recent call last):
File
"/home/faassen/buildout-eggs/zope.publisher-3.5.0a1.dev_r78838-py2.4.egg/zope/publisher/publish.py",
line 130, in publish
obj = request.traverse(obj)
File
"/home/faassen/buildout-eggs/zope.publisher-3.5.0a1.dev_r78838-py2.4.egg/zope/publisher/browser.py",
line 513, in traverse
ob = super(BrowserRequest, self).traverse(obj)
File
"/home/faassen/buildout-eggs/zope.publisher-3.5.0a1.dev_r78838-py2.4.egg/zope/publisher/http.py",
line 453, in traverse
ob = super(HTTPRequest, self).traverse(obj)
File
"/home/faassen/buildout-eggs/zope.publisher-3.5.0a1.dev_r78838-py2.4.egg/zope/publisher/base.py",
line 252, in traverse
publication.callTraversalHooks(self, obj)
File
"/home/faassen/buildout-eggs/zope.app.publication-3.4.2-py2.4.egg/zope/app/publication/zopepublication.py",
line 129, in callTraversalHooks
self._maybePlacefullyAuthenticate(request, ob)
File
"/home/faassen/buildout-eggs/zope.app.publication-3.4.2-py2.4.egg/zope/app/publication/zopepublication.py",
line 116, in _maybePlacefullyAuthenticate
principal = auth.authenticate(request)
File
"/home/faassen/buildout-eggs/zope.app.authentication-3.4.0a1-py2.4.egg/zope/app/authentication/authentication.py",
line 72, in authenticate
credentials = credplugin.extractCredentials(request)
File
"/home/faassen/buildout-eggs/zope.app.authentication-3.4.0a1-py2.4.egg/zope/app/authentication/session.py",
line 189, in extractCredentials
session = ISession(request, None)
File
"/home/faassen/buildout-eggs/zope.app.component-3.4.0b3-py2.4.egg/zope/app/component/hooks.py",
line 95, in adapter_hook
return siteinfo.adapter_hook(interface, object, name, default)
File
"/home/faassen/buildout-eggs/zope.component-3.4.0-py2.4.egg/zope/component/zcml.py",
line 151, in factory
ob = original_factory(*args)
File
"/home/faassen/buildout-eggs/zope.app.session-3.4.0a1-py2.4.egg/zope/app/session/session.py",
line 326, in __init__
self.client_id = str(IClientId(request))
File
"/home/faassen/buildout-eggs/zope.app.component-3.4.0b3-py2.4.egg/zope/app/component/hooks.py",
line 95, in adapter_hook
return siteinfo.adapter_hook(interface, object, name, default)
File
"/home/faassen/buildout-eggs/zope.component-3.4.0-py2.4.egg/zope/component/zcml.py",
line 151, in factory
ob = original_factory(*args)
File
"/home/faassen/buildout-eggs/zope.app.session-3.4.0a1-py2.4.egg/zope/app/session/session.py",
line 66, in __new__
return str.__new__(
File
"/home/faassen/buildout-eggs/zope.app.session-3.4.0a1-py2.4.egg/zope/app/session/http.py",
line 120, in getClientId
self.setRequestId(request, sid)
File
"/home/faassen/buildout-eggs/zope.app.session-3.4.0a1-py2.4.egg/zope/app/session/http.py",
line 261, in setRequestId
if self.cookieLifetime is not None:
AttributeError: 'CookieClientIdManager' object has no attribute
'cookieLifetime'
More information about the Grok-dev
mailing list