The blobfile lives here:
/Plone5/py2/var/blobstorage/0x00/0x00/0x00/0x00/0x00/0xa7/0xe1/0x82/0x03d9906455146bcc.blob
How can i find this Blobfile in my Portal Catalog or in my Site Tree? Can i convert the "0x..." in an oid or what is the right way to resolve physical Path to the Object?
Update:
Now, i have a browserview to check my candidates:
class Clean(BrowserView):
def __call__(self):
from ZODB.utils import p64
from ZODB.blob import FilesystemHelper
portal = api.portal.get()
app = portal.aq_parent
fshelper = FilesystemHelper("/Plone5/py2/var/blobstorage")
mylist = [
'/Plone5/py2/var/blobstorage/0x00/0x00/0x00/0x00/0x00/0xa7/0xce/0x04',
'/Plone5/py2/var/blobstorage/0x00/0x00/0x00/0x00/0x00/0xa7/0xe9/0xc4',
'/Plone5/py2/var/blobstorage/0x00/0x00/0x00/0x00/0x00/0xa7/0xc4/0xb4'
]
for oid, oidpath in fshelper.listOIDs():
if oidpath in mylist:
obj = app._p_jar.get(oid)
# obj : <ZODB.blob.Blob object at 0x7fa4afd73350 oid 0xa7c4b4 in <Connection at 7fa4b4e0fc10>>
# how to continue ?
return 'ok'