[PR #1792] tools: print the plain path, not a repr'd one, in OSError messages (OLD-9861) #1805

Open
opened 2026-11-26 21:19:01 +01:00 by 4ld0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/1792
Author: @Ch1mpleo
Created: 11/25/2026
Status: 🔄 Open

Base: main ← Head: carry/old-9861


📝 Commits (1)

  • 4811fd1 tools: print the plain path, not a repr'd one, in OSError messages

📊 Changes

3 files changed (+12 additions, -3 deletions)

View changed files

📝 tools/bink_names.py (+4 -1)
📝 tools/opus_tags.py (+1 -1)
📝 tools/world_names.py (+7 -1)

📄 Description

Claimed in the coordination issue as: OLD-9861 (https://github.com/ubiquitarianism/leonida/issues/1608#issuecomment-7162083041)

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

  • python -m compileall -q tools/bink_names.py tools/opus_tags.py tools/world_names.py — exit 0.
  • python -I tests/test_bink_names.py — 36 tests, OK.
  • python -I tests/test_opus_tags.py — 28 tests, OK.
  • python -I tests/test_world_names.py — 31 tests, OK.
  • python -I scripts/check_no_game_data.py tools/bink_names.py tools/opus_tags.py tools/world_names.py — exit 0.

GPUs tested: n/a (CPU-only Python tools & unit tests, Windows 11 x64, Python 3.14.7)

AI-assisted: yes

Checklist

  • Based on current main and merges cleanly (a conflicting pull request is labeled
    eeds rebase).
  • One topic; follow-up work goes in a new pull request.
  • No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here.
  • A new translator rule is in the contract table of docs/design.md, with how it was confirmed. (n/a — no translator change)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ubiquitarianism/leonida/pull/1792 **Author:** [@Ch1mpleo](https://github.com/Ch1mpleo) **Created:** 11/25/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `carry/old-9861` --- ### 📝 Commits (1) - [`4811fd1`](https://github.com/ubiquitarianism/leonida/commit/4811fd104c42d2e41ef45028b9669b9a2cb900ab) tools: print the plain path, not a repr'd one, in OSError messages ### 📊 Changes **3 files changed** (+12 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `tools/bink_names.py` (+4 -1) 📝 `tools/opus_tags.py` (+1 -1) 📝 `tools/world_names.py` (+7 -1) </details> ### 📄 Description Claimed in the coordination issue as: OLD-9861 (https://github.com/ubiquitarianism/leonida/issues/1608#issuecomment-7162083041) ### 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 - python -m compileall -q tools/bink_names.py tools/opus_tags.py tools/world_names.py — exit 0. - python -I tests/test_bink_names.py — 36 tests, OK. - python -I tests/test_opus_tags.py — 28 tests, OK. - python -I tests/test_world_names.py — 31 tests, OK. - python -I scripts/check_no_game_data.py tools/bink_names.py tools/opus_tags.py tools/world_names.py — exit 0. GPUs tested: n/a (CPU-only Python tools & unit tests, Windows 11 x64, Python 3.14.7) AI-assisted: yes ### Checklist - [x] Based on current main and merges cleanly (a conflicting pull request is labeled eeds rebase). - [x] One topic; follow-up work goes in a new pull request. - [x] No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here. - [ ] A new translator rule is in the contract table of docs/design.md, with how it was confirmed. (n/a — no translator change) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
starred/leonida#1805
No description provided.