simonsobs / simonsobs/sorunlib
Error text doesn't render properly
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 0
- Forks
- 0
- Avg merge
- 17h 32m
- Merged PRs (30d)
- 1
Description
The errors that are multi-line, like this one:
https://github.com/simonsobs/sorunlib/blob/bfa059c38719c57ce1b7e7dd0b6c37df760b123b/src/sorunlib/_internal.py#L48-L49
They don't render properly, it ends up looking like this in stdout:
Failed to perform uxm_relock on OCSClient('det-controller-c1s6'), removing from targets list.
Task uxm_relock in Agent det-controller-c1s6 failed to complete " + "successfully.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with src/sorunlib/_internal.py at lines 48-49 and reproduce the multi-line error shown in the issue. Inspect how the error text is assembled and rendered to stdout; the issue is done when multi-line errors display as intended without the literal concatenation text.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100