archivematica / Issues

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

Problem: diacritics cause "Remove Bagged Files" to fail #1381

Open joel-simpson opened 6 years ago

joel-simpson commented 6 years ago

Transfers with diacritics in the file names cause the "Remove Bagged Files" job (part of "Prepare AIP" microservice) to fail.

The stderr is: rm: cannot remove '/var/archivematica/sharedDirectory/watchedDirectories/workFlowDecisions/compressionAIPDecisions/Joel_accentstest-b4e303e2-afcd-438e-b050-52cd88e2eff6/thumbnails/': No such file or directory

Given that this directory doesn't exist, there is no need to remove it; so this isn't really an error. The job should complete successfully.

The error is not fatal, so the microservice as a whole completes successfully. And it only appears to happen in transfers with diacritics. Testing with normal transfers has not produced the same result. (so I'd argue this is defect is lower priority to fix)

Tested in Augustus on 1.7; also tested in Jisc environment (v0.6.0-rc3).

tvdbroek commented 4 years ago

We are also affected by this bug,

We got a lot of people asking "can we ignore this", yes they can. It would be nice to see if there are no "thumbnails" are made in an earlier process this step gets skipped.

Test on Archivematica 1.9.2

ablwr commented 4 years ago

Related to https://github.com/archivematica/Issues/issues/651, and potentially a duplicate of?

tvdbroek commented 4 years ago

Related to archivematica/Issues#651, and potentially a duplicate of?

Thanks for the notice! Did not catch this one in my search. we got the same issue with different options! will continue on that one !

ablwr commented 4 years ago

Thank you @tvdbroek! The other issue is scheduled to be fixed in the next release so it will be getting more attention than this one. :)

@joel-simpson if you consider this to be a duplicate of Issue https://github.com/archivematica/Issues/issues/651, will you close?