Hi all What could be the issue here [1]? 'ind' is added as seen in [2] I also see this [3], [4]
This error stops me from adding an index to the catalog. TIA Chetan =========================[1]====================================== (zwork)[x...@soup ptl]$ ./bin/ptl-debug ------ 2009-05-06T12:50:23 WARNING root Developer mode is enabled: this is a security risk and should NOT be enabled on production servers. Developer mode can be turned off in etc/zope.conf sm ------ 2009-05-06T12:50:29 INFO ZODB.blob (871) Blob directory `var/blobs` has layout marker set. Selected `bushy` layout. Welcome to the interactive debug prompt. The 'root' variable contains the ZODB root folder. The 'app' variable contains the Debugger, 'app.publish(path)' simulates a request. > >>> sm = root.getSiteManager() >>> from zope.app import intid >>> ind = intid.IntIds() >>> sm['default'] <zope.app.component.site.SiteManagementFolder object at 0xb6de976c> >>> sm['default']['ind'] = ind Traceback (most recent call last): File "<console>", line 1, in ? File "/home/xpmt/.buildout/eggs/zope.app.container-3.5.6-py2.4-linux-i686.egg/zope/app/container/btree.py", line 93, in __setitem__ setitem(self, self._setitemf, key, value) File "/home/xpmt/.buildout/eggs/zope.app.container-3.5.6-py2.4-linux-i686.egg/zope/app/container/contained.py", line 592, in setitem notifyContainerModified(container) File "/home/xpmt/.buildout/eggs/zope.app.container-3.5.6-py2.4-linux-i686.egg/zope/app/container/contained.py", line 363, in notifyContainerModified notify(ContainerModifiedEvent(object, *descriptions)) File "/home/xpmt/.buildout/eggs/zope.event-3.4.0-py2.4.egg/zope/event/__init__.py", line 23, in notify subscriber(event) File "/home/xpmt/.buildout/eggs/zope.component-3.4.0-py2.4.egg/zope/component/event.py", line 26, in dispatch for ignored in zope.component.subscribers(event, None): File "/home/xpmt/.buildout/eggs/zope.component-3.4.0-py2.4.egg/zope/component/_api.py", line 130, in subscribers return sitemanager.subscribers(objects, interface) File "/home/xpmt/.buildout/eggs/zope.component-3.4.0-py2.4.egg/zope/component/registry.py", line 290, in subscribers return self.adapters.subscribers(objects, provided) File "/home/xpmt/.buildout/eggs/zope.interface-3.4.1-py2.4-linux-i686.egg/zope/interface/adapter.py", line 535, in subscribers subscription(*objects) File "/home/xpmt/.buildout/eggs/zope.app.catalog-3.5.1-py2.4.egg/zope/app/catalog/catalog.py", line 180, in reindexDocSubscriber id = component.getUtility(IIntIds, context=cat).queryId(ob) File "/home/xpmt/.buildout/eggs/zope.component-3.4.0-py2.4.egg/zope/component/_api.py", line 207, in getUtility raise ComponentLookupError(interface, name) ComponentLookupError: (<InterfaceClass zope.app.intid.interfaces.IIntIds>, '') >>> =======================[2]=================== >>> for item in sm['default'].items(): ... print item ... (u'CookieClientIdManager', <zope.session.http.CookieClientIdManager object at 0xb6e4adac>) (u'PersistentSessionDataContainer', <zope.session.session.PersistentSessionDataContainer object at 0xb6ea7e2c>) (u'PrincipalAnnotation', <zope.app.principalannotation.PrincipalAnnotationUtility object at 0xb6e4afac>) (u'RootErrorReportingUtility', <zope.error.error.RootErrorReportingUtility object at 0xb6e4a02c>) (u'catalog', <zope.app.catalog.catalog.Catalog object at 0xb6de24ec>) (u'ind', <zope.app.intid.IntIds object at 0xb6e1ed2c>) >>> ========================[3]=================== >>> sm['default']['ind1'] = ind Traceback (most recent call last): File "<console>", line 1, in ? File "/home/xpmt/.buildout/eggs/zope.app.container-3.5.6-py2.4-linux-i686.egg/zope/app/container/btree.py", line 93, in __setitem__ setitem(self, self._setitemf, key, value) File "/home/xpmt/.buildout/eggs/zope.app.container-3.5.6-py2.4-linux-i686.egg/zope/app/container/contained.py", line 592, in setitem notifyContainerModified(container) File "/home/xpmt/.buildout/eggs/zope.app.container-3.5.6-py2.4-linux-i686.egg/zope/app/container/contained.py", line 363, in notifyContainerModified notify(ContainerModifiedEvent(object, *descriptions)) File "/home/xpmt/.buildout/eggs/zope.event-3.4.0-py2.4.egg/zope/event/__init__.py", line 23, in notify subscriber(event) File "/home/xpmt/.buildout/eggs/zope.component-3.4.0-py2.4.egg/zope/component/event.py", line 26, in dispatch for ignored in zope.component.subscribers(event, None): File "/home/xpmt/.buildout/eggs/zope.component-3.4.0-py2.4.egg/zope/component/_api.py", line 130, in subscribers return sitemanager.subscribers(objects, interface) File "/home/xpmt/.buildout/eggs/zope.component-3.4.0-py2.4.egg/zope/component/registry.py", line 290, in subscribers return self.adapters.subscribers(objects, provided) File "/home/xpmt/.buildout/eggs/zope.interface-3.4.1-py2.4-linux-i686.egg/zope/interface/adapter.py", line 535, in subscribers subscription(*objects) File "/home/xpmt/.buildout/eggs/zope.app.catalog-3.5.1-py2.4.egg/zope/app/catalog/catalog.py", line 180, in reindexDocSubscriber id = component.getUtility(IIntIds, context=cat).queryId(ob) File "/home/xpmt/.buildout/eggs/zope.component-3.4.0-py2.4.egg/zope/component/_api.py", line 207, in getUtility raise ComponentLookupError(interface, name) ComponentLookupError: (<InterfaceClass zope.app.intid.interfaces.IIntIds>, '') ======================[4]======================= >>> for item in sm['default'].items(): ... print item ... (u'CookieClientIdManager', <zope.session.http.CookieClientIdManager object at 0xb6e4adac>) (u'PersistentSessionDataContainer', <zope.session.session.PersistentSessionDataContainer object at 0xb6ea7e2c>) (u'PrincipalAnnotation', <zope.app.principalannotation.PrincipalAnnotationUtility object at 0xb6e4afac>) (u'RootErrorReportingUtility', <zope.error.error.RootErrorReportingUtility object at 0xb6e4a02c>) (u'catalog', <zope.app.catalog.catalog.Catalog object at 0xb6de24ec>) (u'ind', <zope.app.intid.IntIds object at 0xb6e1ed2c>) (u'ind1', <zope.app.intid.IntIds object at 0xb6e1ed2c>) >>> _______________________________________________ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users