Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Query re --validate output #137

Open
PagesNavigator opened this issue Jul 3, 2019 · 1 comment
Open

Query re --validate output #137

PagesNavigator opened this issue Jul 3, 2019 · 1 comment

Comments

@PagesNavigator
Copy link

I am new to using Bagit and would appreciate some advice on using --validate function.

From reading other threads, I can see that there is a WARNING issued if a file is missing or corrupt in \data subfolder. I only get this output, which is the same as for --validate --fast.
F:>bagit.py --validate Samples
2019-07-03 17:57:37,366 - ERROR - Samples is invalid: Payload-Oxum validation failed. Expected 10 files and 50586020 bytes but found 10 files and 50586017 bytes
How can I get an output which will identify the corrupt file or the missing file?
Thank you very much for your help in advance!

@finoradin
Copy link

Chiming in to say I am seeing the same behavior. Validation seems to be returning only the first error no matter if running in the command line or using programmatically. In other words validation acts as though --fast is always invoked. Sort of a major issue… unless usage has changed and the documentation is not up to date?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants