Repository navigation
Closed
Labels
need-commentsInvitation for contributors and users to provide feedback on issue, for further consideration.Invitation for contributors and users to provide feedback on issue, for further consideration.
Description
tmux 3.6 and tmuxp 1.57 on Ubuntu 24.04 (I use pixi package manager to install). I get this crash which I didn't have before. Happens on multiple systems. Reverting to old versions (system versions from Ubuntu, tmux 3.4 and tmuxp 1.38) and don't see the crash.
Traceback (most recent call last):
File "/home/cagelab/.pixi/envs/tmuxp/bin/tmuxp", line 9, in <module>
sys.exit(cli.cli())
~~~~~~~^^
File "/home/cagelab/.pixi/envs/tmuxp/lib/python3.14/site-packages/tmuxp/cli/__init__.py", line 148, in cli
command_load(
~~~~~~~~~~~~^
args=CLILoadNamespace(**vars(args)),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
parser=parser,
^^^^^^^^^^^^^^
)
^
File "/home/cagelab/.pixi/envs/tmuxp/lib/python3.14/site-packages/tmuxp/cli/load.py", line 583, in command_load
load_workspace(
~~~~~~~~~~~~~~^
workspace_file,
^^^^^^^^^^^^^^^
...<2 lines>...
**tmux_options,
^^^^^^^^^^^^^^^
)
^
File "/home/cagelab/.pixi/envs/tmuxp/lib/python3.14/site-packages/tmuxp/cli/load.py", line 357, in load_workspace
_reattach(builder)
~~~~~~~~~^^^^^^^^^
File "/home/cagelab/.pixi/envs/tmuxp/lib/python3.14/site-packages/tmuxp/cli/load.py", line 129, in _reattach
builder.session.attach_session()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/home/cagelab/.pixi/envs/tmuxp/lib/python3.14/site-packages/libtmux/session.py", line 827, in attach_session
raise exc.LibTmuxException(proc.stderr)
libtmux.exc.LibTmuxException: ['open terminal failed: not a terminal']
Reacted by bibek-shah-butterfly
Metadata
Metadata
Assignees
Labels
need-commentsInvitation for contributors and users to provide feedback on issue, for further consideration.Invitation for contributors and users to provide feedback on issue, for further consideration.
Activity
0re5ama commentedon Nov 30, 2025
I am facing the same issue. I tried running tmux and I am getting the error:
open terminal failed: not a terminal. I think it has got something to do withncursesupdate.tony commentedon Nov 30, 2025
Does tmux 3.5 work?
I will take a closer look at 3.6 today.
tony commentedon Nov 30, 2025
@0re5ama @iandol Does just typing
tmuxby itself work?I'm getting
not a terminaleven when I runtmuxon 3.6.tony commentedon Nov 30, 2025
@iandol @0re5ama
Does it work if you fully close tmux and try again? (e.g.
killall -9 tmux/killall -9 /usr/local/bin/tmux/killall -9 /usr/bin/tmux?)That fixed it for me.
From tmux/tmux#4699:
tony commentedon Nov 30, 2025
Moving this to a discussion - this looks tmux 3.6 related and I think we have a workaround