[Zope-dev] ComponentLookupError
Tim Cook
timothywayne.cook at gmail.com
Tue May 19 10:53:48 EDT 2009
I'm getting this traceback:
======================================================================================
serving on http://127.0.0.1:8080
2009-05-17 11:56:42,332 ERROR [SiteError] http://localhost:8080
Traceback (most recent call last):
File
"/home/tim/.buildout/eggs/zope.publisher-3.7.0-py2.5.egg/zope/publisher/publish.py", line 127, in publish
publication.beforeTraversal(request)
File
"/home/tim/.buildout/eggs/zope.app.publication-3.5.3-py2.5.egg/zope/app/publication/zopepublication.py", line 85, in beforeTraversal
principal = auth.authenticate(request)
File
"/home/tim/.buildout/eggs/zope.principalregistry-3.7.0-py2.5.egg/zope/principalregistry/principalregistry.py", line 58, in authenticate
if p.validate(password):
File
"/home/tim/.buildout/eggs/zope.principalregistry-3.7.0-py2.5.egg/zope/principalregistry/principalregistry.py", line 190, in validate
pwManager = self.__getPasswordManager()
File
"/home/tim/.buildout/eggs/zope.principalregistry-3.7.0-py2.5.egg/zope/principalregistry/principalregistry.py", line 184, in __getPasswordManager
return getUtility(IPasswordManager, self.__pwManagerName)
File
"/home/tim/.buildout/eggs/zope.component-3.6.0-py2.5.egg/zope/component/_api.py", line 171, in getUtility
raise ComponentLookupError(interface, name)
ComponentLookupError: (<InterfaceClass
zope.password.interfaces.IPasswordManager>, u'SHA1')
================================================================================================
Though everything seems "to me" to be okay. This was originally a
grokproject based application and uses grok 1.0a3 but I have been
incrementally/painfully changing the versions of components to get it to
run with ZODB3.9.0b1
The server starts but when I try to access http://localhost:8080 I get
the above error.
The principal in site.zcml looks like this:
<principal id="zope.manager"
title="Manager"
login="admin"
password="17e15cddd033e22ae348aeb5660fc2140aec35850c4da997"
description="OSHIP Developer"
password_manager="SHA1"
/>
Any ideas where to start on this?
Thanks,
Tim
--
Timothy Cook, MSc
Health Informatics Research & Development Services
LinkedIn Profile:http://www.linkedin.com/in/timothywaynecook
Skype ID == timothy.cook
**************************************************************
*You may get my Public GPG key from popular keyservers or *
*from this link http://timothywayne.cook.googlepages.com/home*
**************************************************************
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://mail.zope.org/pipermail/zope-dev/attachments/20090519/a4fb83f7/attachment.bin
More information about the Zope-Dev
mailing list