Problem with colon (:) in pane commands in yaml-session-files
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
Research direction
Start by reproducing the issue with the YAML session-file example on tmuxp 1.9.3, then locate the session-file parsing path used for pane commands. Done means commands containing a colon followed by text load and run with the full command intact; verify the reported scanner-error case consistently and add or run relevant parser tests if available.
Written by the indexing model from the issue text.
Description
Hi,
there seems to be a problem with colons in pane commands. See the following example yaml-session-file. Escaping with backslash (\) has no effect. Using single ticks (') instead of double ticks (") has no effect.
I'm using tmuxp 1.9.3 on Ubuntu 18.04, installed via pip.
session_name: buggy_session
windows:
- window_name: bug_window
panes:
# the following works
- echo "a bug with colon:"
# the following gives no output
- echo "a bug with colon: a"
# the following results in no start of session and in error: yaml.scanner.ScannerError: while scanning a quoted scalar
#- echo "a bug with colon: "
Maybe I missed a documentation somewhere, which says how to deal with colons in commands. Otherwise (if I did not and if it is not really a bug) a documentation would be great.
Kind regards,
abelbabel
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 248
- Avg merge
- 2h 13m
- Merged PRs (30d)
- 1
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 tmux-python/tmuxp
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
tmux-python/tmuxp#1026 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
tmux-python/tmuxp#939 · 1 comment ·
-
enhancement WorkspaceBuilder
Difficulty 4/5 3-5 days Newbie friendliness 48/100
tmux-python/tmuxp#1062 ·
-
enhancement need-comments WorkspaceBuilder
Difficulty 5/5 Over a week Newbie friendliness 35/100
tmux-python/tmuxp#1058 · 2 comments ·
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 45/100
tmux-python/tmuxp#1053 · 10 comments ·
All issues in tmux-python/tmuxp
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100