mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-27 00:10:51 +01:00
[PR #1142] anim_skel_match: report JSON write errors (ANIM-SKEL-REPORT-ERROR) #1177
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#1177
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/1142
Author: @Taffyyy-ops
Created: 11/24/2026
Status: 🔄 Open
Base:
main← Head:fix/anim-skel-report-error📝 Commits (1)
d9f9471anim_skel_match: report JSON write errors (ANIM-SKEL-REPORT-ERROR)📊 Changes
2 files changed (+62 additions, -2 deletions)
View changed files
➕
tests/test_anim_skel_report_error.py(+56 -0)📝
tools/anim_skel_match.py(+6 -2)📄 Description
Item ID:
ANIM-SKEL-REPORT-ERRORHandles filesystem/I/O failures cleanly when writing the
--jsonreport intools/anim_skel_match.py:main().Changes
tools/anim_skel_match.py(main): Wraps writing the--jsonoutput file intry ... except OSError, printing a clear diagnostic tostderr(anim_skel_match: cannot write <path>: <err>) and returning exit code2instead of an unhandled traceback.tests/test_anim_skel_report_error.py: Adds synthetic tests verifying cleanstderrdiagnostics and exit code2on failed JSON writes, plus normal exit0on valid writes.Verification
python -I scripts/check_no_game_data.py).🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.