Finding/removing objects by oid

I have previously posted about removing old content from the wicked package here Cleaning up a wicked mess and recently came across another issue with wicked.cache records in the database. I'm having a hard time finding any content that has these records. I've checked the following or tried deleting and re-exporting (as an XML export for the sake of debugging, or as a zexp to move to what should be an identical environment)

  • the first thing I checked was IAnnotations(portal) and it's not in there.
  • I deleted all content from the site and even deleted the historiesstorage entirely
  • I even went so far as to delete all objects visible in the ZMI with the exception of portal_setup and portal_migrations that throw an error if you try to delete them.

So at this point I assume it's an attribute of the portal object itself, somehow. I did an XML export to help find their oids:

>>> ob = app._p_jar[p64(1383782)]
>>> ob2 = app._p_jar[p64(1385676)] 

ob = <persistent broken wicked.cache.CacheStore instance '\x00\x00\x00\x00\x00\x15\x1df'>
ob2 = <persistent broken wicked.cache.Cache instance '\x00\x00\x00\x00\x00\x15$\xcc'>

Ok cool so I can get to them in the db. How can I delete them?