-
Notifications
You must be signed in to change notification settings - Fork 5
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
Validation fuzz #108
Comments
These error messages are generated by the jsonschema library: https://github.com/python-jsonschema/jsonschema |
makes sense. |
and to complicate things, it seems that the CLI calls for mobie-python don´t pipe their STDOUT.
produces an empty file and still spits out everything. |
You have to pipe all output:
(This writes both the output from std:out and std:err to the same stream) |
Yes, that should in principle be possible and would make sense to implement. (I am personally not able to do this in the foreseeable future, but would be happy to provide pointers if you want to give it a try). |
Hi,
I have some trouble with one of my projects and I try to find out what went wrong, as I only used mobie-python to generate it and it now does not validate any longer.
One big issue is that the output of the validation is not very helpful. It spits out the entire schema cluttering the STDOUT and throws an error only stating what went wrong. But is missing the crucial information where (which view/source etc.) the error occurs.
and hundreds of more lines of schema.
Is it possible to change the output such that it provides clues on where the problem is (i.e. where this suspicious extra
name
can be found?The text was updated successfully, but these errors were encountered: