plonedexterityplone-5.x

POSKeyError: ‘No blob file’ using api.content.copy


I'm trying to copy objects from a collection into a folder. Each collection consists of documents, files, and images. When I ran the script, it throws the POSKeyError exception.

enter image description here

Any ideas on how to resolve this?


Solution

  • If the blob file is not available in the file-system, there is no way to fix this, except restore from backup.

    With https://pypi.python.org/pypi/experimental.gracefulblobmissing the missing file is ignored.