[Zope3-Users] LoginPassword error

Simon Elbaz simon.elbaz at free.fr
Mon Jan 11 08:15:03 EST 2010


Hi,
I've been quietly working with zope3 until I recently launched a buildout.
Now, the following error occurs when trying to access the ZMI.
Thanks for your help
Simon


2010-01-11T14:11:15 ERROR SiteError http://localhost:9060/@@login.html
Traceback (most recent call last):
  File 
"/home/simon/.buildout/eggs/zope.publisher-3.12.0-py2.5.egg/zope/publisher/publish.py", 
line 134, in publish
    result = publication.callObject(request, obj)
  File 
"/home/simon/.buildout/eggs/zope.app.publication-3.10.2-py2.5.egg/zope/app/publication/zopepublication.py", 
line 205, in callObject
    return mapply(ob, request.getPositionalArguments(), request)
  File 
"/home/simon/.buildout/eggs/zope.publisher-3.12.0-py2.5.egg/zope/publisher/publish.py", 
line 109, in mapply
    return debug_call(obj, args)
   - __traceback_info__: <bound method HTTPAuthenticationLogin.login of 
<zope.browserpage.metaconfigure.HTTPAuthenticationLogin object at 
0x8b50f0c>>
  File 
"/home/simon/.buildout/eggs/zope.publisher-3.12.0-py2.5.egg/zope/publisher/publish.py", 
line 115, in debug_call
    return obj(*args)
  File 
"/home/simon/.buildout/eggs/zope.app.security-3.7.5-py2.5.egg/zope/app/security/browser/auth.py", 
line 64, in login
    self.request.principal.id, self.request)
  File 
"/home/simon/.buildout/eggs/zope.principalregistry-3.7.0-py2.5.egg/zope/principalregistry/principalregistry.py", 
line 82, in unauthorized
    a = ILoginPassword(request)
TypeError: ('Could not adapt', <zope.publisher.browser.BrowserRequest 
instance URL=http://localhost:9060/@@login.html>, <InterfaceClass 
zope.authentication.interfaces.ILoginPassword>)



More information about the Zope3-users mailing list