AcademySoftwareFoundation / AcademySoftwareFoundation/OpenColorIO

[Enhancement] Clearer LUT format error message in ociobakelut

Open Beginner friendly
#2,277 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
2.1k
Forks
503
PR merge metrics
No merged PRs in 30d

Description

I incorrectly thought that `ociobakelut` did not support CLF, when in fact the problem was me getting the format specification argument wrong.

The error message said "File format does not support baking" leading me to believe I had specified a format which was valid, but which could not be used for `ociobakelut`.

It would have been clearer if the error had said something like "Unrecognised file format".

Contributor guide

Open the contributing guide

Research direction

Start by locating the ociobakelut code that parses the format specification and emits “File format does not support baking.” Reproduce the invalid-format case, distinguish it from a valid format that cannot be baked, and verify that the resulting error clearly identifies an unrecognised file format.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.