Skip to content
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

Kathara not working with tmux #333

Open
MarcTomasCruz opened this issue Jan 21, 2025 · 1 comment
Open

Kathara not working with tmux #333

MarcTomasCruz opened this issue Jan 21, 2025 · 1 comment

Comments

@MarcTomasCruz
Copy link

Operating System

Ubuntu 24.04

Kathará Version

3.7.8

Bug Description

I installed kathara and change the settings to use tmux as the terminal emulator for the devices. When I executed the command

kathara vstart -n pc1 --eth 0:A

It returned the following message:

CRITICAL (TypeError) decode() argument 'encoding' must be str, not None

Image

Steps To Reproduce

  1. Install tmux
  2. Install kathara
  3. Set terminal emulator to TMUX
  4. Start a device in kathara

Expected Behavior

A new window (or session) assigned to the device.

Check Command Output

Current Manager is:             Docker (Kathara)
Manager version is:             27.5.0
Python version is:              3.11.11 (main, Dec  4 2024, 08:55:08) [GCC 13.2.0]
Kathara version is:             3.7.8
Operating System version is:    Linux-6.8.0-51-generic-x86_64
[Deploying devices]   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1/1
[Deleting devices]   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1/1
✓ Container run successfully.
@tcaiazzi
Copy link
Member

Hi @MarcTomasCruz,

Thank you for opening this issue and bringing it to our attention.

You’re absolutely right—there seems to be a problem with libtmux versions 0.38.0 and later.

I’m currently investigating the root cause to determine the best solution. This may involve pinning libtmux to a stable, known-working version or identifying and addressing the changes introduced in newer versions that are causing this issue.

I’ll share an update with the final resolution as soon as possible.

Thank you again for your help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants