On 10/8/10 2:10 PM, AnttiS wrote: > Hi, > > I am having severe problems with trying to restore my database on my Plone 4 > buildout. I have restored Data.fs AND blobstorage. > > The error message is the following: > > File > "/home/develop/v_test/buildout/eggs/zope.interface-3.5.3-py2.6-linux-i686.egg/zope/interface/adapter.py", > line 470, in add_extendor > for i in provided.__iro__: > AttributeError: type object 'IRegistry' has no attribute '__iro__' > 2010-10-08 15:01:12 ERROR Zope.SiteErrorLog 1286571672.40.38014754817 > http://localhost:8080/test > Traceback (innermost last): > Module ZPublisher.Publish, line 116, in publish > Module ZPublisher.BaseRequest, line 434, in traverse > Module ZPublisher.BeforeTraverse, line 99, in __call__ > Module Products.CMFCore.PortalObject, line 78, in > __before_publishing_traverse__ > Module zope.event, line 23, in notify > Module zope.component.event, line 26, in dispatch > Module zope.component._api, line 138, in subscribers > Module zope.component.registry, line 323, in subscribers > Module zope.interface.adapter, line 575, in subscribers > Module zope.component.event, line 33, in objectEventNotify > Module zope.component._api, line 138, in subscribers > Module zope.component.registry, line 323, in subscribers > Module zope.interface.adapter, line 575, in subscribers > Module plone.browserlayer.layer, line 10, in mark_layer > Module zope.component._api, line 181, in getAllUtilitiesRegisteredFor > Module zope.component.registry, line 178, in getAllUtilitiesRegisteredFor > Module ZODB.Connection, line 838, in setstate > Module ZODB.Connection, line 906, in _setstate > Module ZODB.serialize, line 630, in setGhostState > Module zope.component.persistentregistry, line 42, in __setstate__ > Module zope.interface.adapter, line 85, in _createLookup > Module zope.interface.adapter, line 429, in __init__ > Module zope.interface.adapter, line 466, in init_extendors > Module zope.interface.adapter, line 470, in add_extendor > AttributeError: type object 'IRegistry' has no attribute '__iro__' Sounds like you had plone.app.registry installed at one point (maybe as a dependency of something else), but not currently. But you still have something registered for one of its interfaces in your database. I would guess that reinstalling plone.app.registry might help.
In general, you can't restore a Plone backup if it has references to Python code that is no longer present on disk because of removing products. David ---------- David Glick Web Developer [email protected] 206.286.1235x32 Groundwire: You Are Connected http://groundwire.org We're celebrating 15 years! Come to our big party. http://groundwire.org/events/groundwires-15th-anniversary-party _______________________________________________ Product-Developers mailing list [email protected] http://lists.plone.org/mailman/listinfo/product-developers
