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

CLI: No feedback when referencing a non-existent policy file #199

Open
nkrabben opened this issue Sep 9, 2017 · 3 comments
Open

CLI: No feedback when referencing a non-existent policy file #199

nkrabben opened this issue Sep 9, 2017 · 3 comments

Comments

@nkrabben
Copy link

nkrabben commented Sep 9, 2017

When I use the CLI with a local policy, but mispell the path, MediaConch doesn't report that it failed to load the policy. Instead it falls back to default policies, and prints a blank line.

For example, here I don't complete the policy's filename.

>mediaconch -p policy.xm media_file.mov
pass! media_file.mov


This is what a successful test looks like

>mediaconch -p policy.xml media_file.mov
pass! media_file.mov

It would be helpful if MediaConch reported that no file exists when given a bad path for a policy, or that it is validating using the default policies.

@ablwr
Copy link
Member

ablwr commented Sep 9, 2017

Ahhh this is a good catch. Can you also tell us your MediaConch version and OS you're working on?

@nkrabben
Copy link
Author

nkrabben commented Sep 9, 2017

MediaConch Command Line Interface 17.07
macOS 10.11.6

@JeromeMartinez
Copy link
Member

Right, this was maybe not the smartest behavior, and we need to change that.

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

3 participants