Skip to content

Server.has_session() erroneously reports session exists with tmux 2.5 #67

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jlargentaye opened this issue Aug 16, 2017 · 4 comments
Closed

Comments

@jlargentaye
Copy link

tmux from MacPorts (on macOS 10.12.6), recently updated to tmux 2.5.

Tmuxp erroneously reports the session already exists when trying to load the session.

Some light debugging points to libtmux/server.py:Server.has_sessions() does not account for 'tmux has-session' now responds with 'no current session'.

@jlargentaye jlargentaye changed the title has_session() erroneously reports session exists with tmux 2.5 Server.has_session() erroneously reports session exists with tmux 2.5 Aug 16, 2017
@jlargentaye
Copy link
Author

After doing a "tmux kill-server", I can't reproduce the issue. It's looks like previously the tmux server had stayed running after the last session finished.

I'm not immediately finding a way to get it back into that state.

@jlargentaye
Copy link
Author

Untested fix in pull-request #68

@tony tony added the bug label Aug 19, 2017
@tony
Copy link
Member

tony commented Aug 19, 2017

@stale
Copy link

stale bot commented Nov 11, 2017

This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.

This bot is used to handle issues where the issue hasn't been discussed or
has gone out of date. If an issue isn't resolved and handled in a certain
period of time, it may be closed. If you would like your issue re-opened,
please create a fresh issue with the latest, up to date information and
mention this issue in it.

@stale stale bot added the stale label Nov 11, 2017
@stale stale bot closed this as completed Nov 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants