[Zope3-dev] testInitDB fails

Jeremy Hylton jeremy@alum.mit.edu
Wed, 11 Dec 2002 18:56:27 -0500


I'm currently seeing this error.  I know it's new, but I'm not sure
how to debug it.

Jeremy

ERROR: testInitDB (Zope.App.StartUp.tests.testStartupDirectives.Test)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
  "/usr/home/jeremy/src/Zope3/lib/python/Zope/App/StartUp/tests/testStartup
Directives.py", line 111, in testInitDB
    sd._initDB()
  File
  "/usr/home/jeremy/src/Zope3/lib/python/Zope/App/StartUp/SiteDefinition.py
", line 163, in _initDB
    self._addEssentialServices(app)
  File
  "/usr/home/jeremy/src/Zope3/lib/python/Zope/App/StartUp/SiteDefinition.py
", line 188, in _addEssentialServices
    self._addService(root_folder, 'Events', LocalEventService)
  File
  "/usr/home/jeremy/src/Zope3/lib/python/Zope/App/StartUp/SiteDefinition.py
", line 205, in _addService
    package = traverse(root_folder, package_name)
  File
  "/usr/home/jeremy/src/Zope3/lib/python/Zope/App/Traversing/__init__.py",
line 48, in traverse
    return traverser.traverse(path, request=request)
  File
  "/usr/home/jeremy/src/Zope3/lib/python/Zope/App/Traversing/Traverser.py",
 line 74, in traverse
    curr = getAdapter(self.context, IPhysicallyLocatable
  File
  "/usr/home/jeremy/src/Zope3/lib/python/Zope/ComponentArchitecture/__init_
_.py", line 62, in getAdapter
    return getService(context, 'Adapters').getAdapter(
  File
  "/usr/home/jeremy/src/Zope3/lib/python/Zope/ComponentArchitecture/__init_
_.py", line 38, in getService
    return getServiceManager(context).getService(name)
  File
  "/usr/home/jeremy/src/Zope3/lib/python/Zope/App/OFS/Services/ServiceManag
er/ServiceManager.py", line 119, in getService
    return getNextService(self, name)
  File
  "/usr/home/jeremy/src/Zope3/lib/python/Zope/App/ComponentArchitecture/Nex
tService.py", line 37, in getNextService
    raise ComponentLookupError('service', name)
ComponentLookupError: ('service', 'Adapters')