Superfluous new line between key and a long value after to_yaml()
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 42/100
Research direction
Start by locating the to_yaml() implementation and reproduce the issue with a value around 2500 characters in a YAML file. Check the generated output around the key and colon; done means the long token remains on the same line as its key and remains usable.
Written by the indexing model from the issue text.
Description
For long values updated in a yaml file it seems that an unexpected new line is added between key and value (after colon):
devid: xxxxyxyxyx-9eeeee-412ae-8342-2c6436dsrff
token:
v^1.1#i^1#p^3 ...............................XX== (2500 characters!)
The expected format is
devid: xxxxyxyxyx-9eeeee-412ae-8342-2c6436dsrff
token: v^1.1#i^1#p^3 ...............................XX==
Because of the newline the token is unusable.
- Dominant language
- Python
- Stars
- 2.8k
- Forks
- 135
- PR merge metrics
- No merged PRs in 30d
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.
More from cdgriffith/Box
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
cdgriffith/Box#308 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
cdgriffith/Box#305 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 30/100
cdgriffith/Box#300 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 42/100
cdgriffith/Box#298 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
cdgriffith/Box#296 · 1 reaction ·
Similar issues
-
triage/confirmed
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
agentscope-ai/agentscope#2775 ·
-
comp/desktop P3 type/bug
Difficulty 1/5 Under an hour Newbie friendliness 92/100
NousResearch/hermes-agent#118866 ·
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 90/100
apache/cloudstack#14222 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100