Skip to content

Crash on latest version #994

@iandol

Description

@iandol

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']

Metadata

Metadata

Assignees

No one assigned

    Labels

    need-commentsInvitation for contributors and users to provide feedback on issue, for further consideration.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions