Empty env. variable prevents the tmux window from being renamed
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 62/100
Research direction
Start in ssh_manager/tmux.py around lines 13–19 and review commit 7e1c09dc577e804f38d07654abd7e7e7ecf770ae. Reproduce the empty environment-variable case described in the issue and verify that it no longer raises SystemExit before the tmux window can be renamed.
Written by the indexing model from the issue text.
Description
Definitely a ssh_manager issue
There's a non-zero chance of your issue to pend isn't really related to ssh_manager, so please make sure that:
- Re-read the README installation and configuration guide and follow all of those steps
- Verify that
$servername_userenvironment that should contain the password for the remote machine exists in your current shell session:
@ echo $servername_user
(Whereservernameanduserare matching the entry in ssh_manager storage) - Verify
sshpass -pdirect connection to remote:
@ sshpass -p $servername_user ssh user@remoteip
NOTE thatuserin$servername_usershould be exactly the same asuserinssh user@remoteip - Verify python installation itself:
@ python3 -V
OR
@ python3.x -Vwhere's x is your python release
Checklist:
- My issue is not related to connection problems, or I'm aware that my
ssh_managerstorage and shell environment is fine- Direct connection using
sshpass -pis performed, but connection throughssh_managerseems inappropriate
- Direct connection using
- Broken functionality is declared and documented in the README project description
A detailed explanation of the issue goes here
Screenshots, screencasts, and other useful information are welcome
Since https://github.com/LoliPain/ssh_manager/commit/7e1c09dc577e804f38d07654abd7e7e7ecf770ae empty envvar causing SystemExit which prevents graceful re-rename
https://github.com/LoliPain/ssh_manager/blob/db1b9b76f6679f643c8889cc3bd97ef7cdb7307e/ssh_manager/tmux.py#L13-L19
- Dominant language
- Python
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
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 LoliPain/ssh_manager
-
suggestion
Difficulty 3/5 1-2 days Newbie friendliness 35/100
LoliPain/ssh_manager#5 ·
All issues in LoliPain/ssh_manager
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