#Kanban task "hermes-tui: no TTY"

1 messages · Page 1 of 1 (latest)

radiant lintel
#

Comes from https://discord.com/channels/1053877538025386074/1500413347370106940, opening a new thread as instructed by @willow nexus.

I just run hermes update but it's still not working.

Report https://paste.rs/FPh50
agent.log https://paste.rs/UleSr
gateway.log https://paste.rs/J2JLZ

Just to be clear, I'm not running Hermes in Docker, but Docker is my terminal backend.

Task log just contains the following:

hermes-tui: no TTY
hermes-tui: no TTY
hermes-tui: no TTY```

One line per attempt.

Attached is my full `config.yaml`.
willow nexus
#

@cerulean reef Latest version of the container seems to not have fixed this one as anticipated.

willow nexus
#

That hermes-tui: no TTY line is a strong clue: the Kanban worker is launching the TUI in a background process that has no interactive terminal.

Kanban workers are supposed to spawn hermes chat -q ..., not hermes --tui, so something in the worker environment is forcing TUI mode. The main code path for that is HERMES_TUI=1.

Please check these in the same shell or service environment that starts the gateway / dispatcher:

echo "$HERMES_TUI"
env | grep '^HERMES_TUI'
type -a hermes
which hermes

If HERMES_TUI=1 is set, unset it before starting the gateway:

unset HERMES_TUI
hermes gateway restart

Why I’m pointing there: the literal hermes-tui: no TTY message only comes from the TUI entrypoint, and the Kanban worker spawn path itself does not request --tui; it inherits the parent env.

If HERMES_TUI is empty, please paste the output of those commands plus hermes version, because then I would suspect a wrapper/alias or an unexpected launcher path instead.

cerulean reef
#

Huh. I'll see if I can reproduce. I wonder if the docker -i -t flags are enabled?

radiant lintel
#

@willow nexus yes I have HERMES_TUI=1 in my .bashrc. I just unset it and now the kanban worker is running as expected

#

so I basically should start the gateway with HERMES_TUI=0 as they interfere

#

should I open an issue to report this so at least the limitation is documented?

cerulean reef
#

Go for it. It's something we need to fix before we cut over completely to the new tui.