import error and deleting an object from the ZODB

aschmitz <[email protected]> Fri, 16 Oct 2015 08:03:54 -0700 (MST)
Newsgroups gmane.comp.web.zope.plone.user
Message-ID <[email protected]>
I have a Zope server that hosts roughly a dozen Plone sites.  These sites
started out on Plone 3, and they've been upgraded a few times.  They've been
running Plone 4.3.1 for over a year.  Now I need to split these sites onto
separate servers, so I exported each one to its own ZEXP file.

I'm getting an error on two of the sites, when I try to import them:

    Error Type: ImportError
    Error Value: No module named CacheSetup.content.caching_policy_manager
    
While these sites were on Plone 3, they used Products.CacheSetup.  All of
the CacheFu related products were uninstalled on all of the sites before
they were upgraded to Plone 4 and plone.app.caching was installed. 
Apparently two of the sites still contain a single object that references
Products.CacheSetup, so they can't be imported.

I exported one of the sites to an XML file and extracted the references to
the CacheSetup content caching_policy_manager.  The XML is available here:

   http://pastebin.com/9vgRNu0p

Based on the export I think the ID of the problem object is 1648800.  Can I
use this information to delete this object from the ZODB, so the export will
be importable again?

Thanks,
Alan



--
View this message in context: http://plone.293351.n2.nabble.com/import-error-and-deleting-an-object-from-the-ZODB-tp7574345.html
Sent from the General Questions mailing list archive at Nabble.com.

------------------------------------------------------------------------------