We have an old Plone site with Data.fs and blobstorage which has probably been copied wrongly in some point of the past. portal_catalog rebuild does not run because of POSKeyErrors
Module plone.indexer.wrapper, line 59, in __getattr__
Module plone.indexer.delegate, line 16, in __call__
Module Products.CMFPlone.CatalogTool, line 221, in getObjSize
Module Products.ATContentTypes.content.base, line 198, in get_size
Module plone.app.blob.field, line 273, in get_size
Module plone.app.blob.field, line 85, in get_size
Module plone.app.blob.utils, line 52, in openBlob
Module ZODB.Connection, line 860, in setstate
Module ZODB.Connection, line 922, in _setstate
Module ZODB.blob, line 644, in loadBlob
POSKeyError: 'No blob file'
The site itself works fine. Blobs are probably used for file downloads and images somewhere in not-so-often accessed content which does not matter.
How do I track down the content having blob errors, print it out and delete it?