You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found myself a bit stumped debugging upgrading to a new version of copper in a new environment only to find that I was taking this message too literally.
raiseValueError("Could not read the input file. A JSON file is expected.")
While I was able to piece together it was due to not having a valid schema, I thought the error was reporting that my JSON file was in the wrong place. Perhaps different error messages for finding the file and another for schema validation would be more clear!
The text was updated successfully, but these errors were encountered:
lymereJ
changed the title
Recommendation-- a more verbose error message for schema validation
A more verbose error message for schema validation
Jul 30, 2024
Hi all,
I found myself a bit stumped debugging upgrading to a new version of copper in a new environment only to find that I was taking this message too literally.
copper/copper/cli.py
Lines 27 to 33 in fe18acd
While I was able to piece together it was due to not having a valid schema, I thought the error was reporting that my JSON file was in the wrong place. Perhaps different error messages for finding the file and another for schema validation would be more clear!
The text was updated successfully, but these errors were encountered: