archivematica / Issues

Issues repository for the Archivematica project
GNU Affero General Public License v3.0
16 stars 1 forks source link

Problem: "Store DIP" microservice fails if manual normalization does not include a "preservation" subdirectory #1148

Open peterVG opened 4 years ago

peterVG commented 4 years ago

Expected behaviour When doing manual normalization for access copies only (e.g. [transferdirectory]/manualNormalization/access/[files]), without a manualNormalization/preservation/ subdirectory, the DIP with the manually normalized access copies should store without failure.

Current behaviour The "Store DIP" microservice fails. The stderr reads ""OSError: [Errno 2] No such file or directory: '/var/archivematica/sharedDirectory/watchedDirectories/uploadDIP/test11.5-2-pv-842348bf-cce3-4356-99f6-fd75a1a3858d'"

When a manualNormalization/preservation/ subdirectory with files is added to the same transfer and re-ingested there is no error.

Steps to reproduce Create a transfer with a manualNormalization/access/ subdirectory and files and do not include a manualNormalization/preservation/ subdirectory and files.

Your environment (version of Archivematica, operating system, other relevant details)


For Artefactual use:

Before you close this issue, you must check off the following:

sallain commented 4 years ago

Note that there's another way to do a transfer with access copies only - https://www.archivematica.org/en/docs/archivematica-1.10/user-manual/transfer/transfer/#transfer-access-copies

I think the multitude of ways to arrange the transfer folders for manual normalization trips a lot of people up. Would love to see it streamlined someday.