Closed nemobis closed 2 years ago
Better, I think:
(venv) $ create-videomd tests/data/video/valid_1.m1v.missing
/opt/file-5.30/lib64/libmagic.so.1 not found, MS Office detection may not work properly if file command library is older.
/opt/file-5.30/lib64/libmagic.so.1 not found, MS Office detection may not work properly if file command library is older.
Usage: create-videomd [OPTIONS] FILENAME
Try 'create-videomd --help' for help.
Error: Invalid value for u'FILENAME': Path 'tests/data/video/valid_1.m1v.missing' does not exist.
Ah right but needs to check for the relative path too. Hmm.
Your pull request https://github.com/Digital-Preservation-Finland/dpres-siptools/pull/9 has been reviewed, merged and released. Thank you for the issue and the pull request!
Great to hear! A nice two-year anniversary for this issue. :)
ValueError seen while looking into https://github.com/Digital-Preservation-Finland/dpres-siptools/issues/5 . The exception is slightly user-unfriendly, we should just fail earlier.