Repository navigation
Conversation
# Conflicts: # tools/bcpack_tool.py
madvillain91
left a comment
There was a problem hiding this comment.
Independent Windows 11 26H2 (26300.9711) check at 4811fd1 against main 98c2f77 (PR base 0d80bc5), using CPython 3.12.3 (python -I) and Git for Windows 2.56.0.windows.2. Existing suites pass (test_bink_names.py 36/36 in 0.685s, test_opus_tags.py 28/28 in 5.948s, test_world_names.py 31/31 in 0.489s), but a few issues stand out:
- In tools/bink_names.py:459,
a.mountis alist[str](action="append"). Whenerror.filenameisNone,{error.filename or a.mount}prints a repr'd Python list with doubled backslashes on Windows -- reproduced locally as:
bink_names: error: ['C:\\Users\\...\\m.xml']: Permission denied
Joining", ".join(a.mount)or omitting the path whenerror.filenameisNone(matching world_names.py) would avoid that. - Other OSError handlers in the same
main()functions still interpolate raw{error}/{e}:tools/bink_names.pylines 464 (load_streams), 469 (load_pins), and 483 (write), plustools/opus_tags.pyline 273 (load_names/load_dialogue). - No regression tests were added asserting plain-path formatting on OSError.
|
Thanks for the thorough review @madvillain91! Pushed a follow-up commit (\903f45020) addressing all three points (keeping Salim Hammami's original commit intact):
|
|
Verified on native Windows at head Native Windows 10 Pro 19045, CPython 3.12, AI-assisted (Claude Code). |
|
Verified on Before (unmodified main): one failure per file — After: all three Two coordination notes:
AI-assisted (verification only). |
Claimed in the coordination issue as: OLD-9861 (#1608 (comment))
What and why
Carries forward old-pr/9861 (draft #128, preserving Salim Hammami's original commit) rebased onto current main. Prints the plain path instead of a
epr'd path in OSError messages in ools/bink_names.py, ools/opus_tags.py, and ools/world_names.py.
Tested
GPUs tested: n/a (CPU-only Python tools & unit tests, Windows 11 x64, Python 3.14.7)
AI-assisted: yes
Checklist
eeds rebase).