Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Zope: Dev

ComponentLookupError

 

 

Zope dev RSS feed   Index | Next | Previous | View Threaded


timothywayne.cook at gmail

May 19, 2009, 7:53 AM

Post #1 of 2 (312 views)
Permalink
ComponentLookupError

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*
**************************************************************
Attachments: signature.asc (0.19 KB)


mh at gocept

May 19, 2009, 8:09 AM

Post #2 of 2 (279 views)
Permalink
Re: ComponentLookupError [In reply to]

Am 19.05.2009 um 16:53 schrieb Tim Cook:
[...]
> "/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')


Did you include zope.password's configure.zcml? This is where the
password manager utilities are defined.

Yours sincerely,
--
Michael Howitz · mh[at]gocept.com · software developer
gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1
Zope and Plone consulting and development

_______________________________________________
Zope-Dev maillist - Zope-Dev[at]zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )

Zope dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.