Warp icon indicating copy to clipboard operation
Warp copied to clipboard

Failed to open logging app: Unable to open TUI; Unable to initialize notcurses Unknown Error: 316

Open gigaimage opened this issue 9 months ago • 14 comments

Pre-submit Checks

Describe the bug

Errors when launching log viewer app (lnav).
Checked iTerm2 and Mac Terminal, the app is working fine. Reinstalled lanv (brew reinstall), but still same issue.

Warp Version: v0.2025.03.12.08.02.stable_03

Error:

Image

To reproduce

Open Warp. Launch lnav from anywhere.

Expected behavior

This (launching lnav) was working fine till yesterday. There were no changes in system or package.

Screenshots, videos, and logs

No response

Operating system (OS)

macOS

Operating system and version

MacOS Monterey 12.7.6

Shell Version

GNU bash, version 5.2.37(1)-release (x86_64-apple-darwin21.6.0)

Current Warp version

v0.2025.03.12.08.02.stable_03

Regression

this bug started recently or with an X Warp version

Recent working Warp date

MARCH-12-2025, 10pm

Additional context

No response

Does this block you from using Warp daily?

No

Is this an issue only in Warp?

Yes, I confirmed that this only happens in Warp, not other terminals.

Warp Internal (ignore): linear-label:b9d78064-c89e-4973-b153-5178a31ee54e

None

gigaimage avatar Mar 14 '25 23:03 gigaimage

Same issue, same error.

juanlopez4691 avatar Mar 15 '25 20:03 juanlopez4691

Same issue, same error.

daymade avatar Mar 16 '25 07:03 daymade

Same issue, same error.

My system:

  • Apple M1 Pro
  • macOS Sequoia 15..3.2
  • Warp v0.2025.03.12.08.02.stable_03
  • zsh version 5.9 on MacOS

juan-diego avatar Mar 17 '25 07:03 juan-diego

It looks like the response to the "device attributes" escape sequence (\e[c) was not recognized. Warp is responding with just \e[?62c whereas, I think, other terminals will include some extra attributes like \e[?62;1c. The lack of the extra attributes was tripping up lnav. I've updated lnav with this change.

It looks like this is a recent change in Warp. I tried a Warp download from late Dec 2024 and it seemed to work with lnav v0.12.4. Whereas it's not working with an updated version of Warp.

tstack avatar Mar 17 '25 16:03 tstack

same error

✘ error: unable to open TUI reason: unable to initialize notcurses Unknown error: 316 = help: The TERM value of “xterm-256color” is not known. Check for your terminal in https://github.com/dankamongmen/notcurses/blob/master/TERMINALS.md or use “xterm-256color”

shambodeva avatar Apr 04 '25 16:04 shambodeva

Same issue, same error.

tyong920 avatar Apr 29 '25 07:04 tyong920

The same error on my warp.

davideuler avatar May 24 '25 08:05 davideuler

Facing the same error on alacritty

anil-dewani avatar May 28 '25 09:05 anil-dewani

yes, same in alacritty in tmux

kawahwookiee avatar May 28 '25 13:05 kawahwookiee

Same issue with lnav

martinleveille avatar May 28 '25 16:05 martinleveille

Is there a workaround for lnav outside using something other than Warp?

cschoong avatar Jun 04 '25 18:06 cschoong

+1

DavidAmyot avatar Jun 05 '25 19:06 DavidAmyot

Same issue with lnav

winterfx avatar Jun 10 '25 06:06 winterfx

same issue

vaiosx avatar Jun 18 '25 06:06 vaiosx

same issue

tyong920 avatar Jun 24 '25 02:06 tyong920

same issue

samuelololol avatar Jul 09 '25 02:07 samuelololol

yup, I get this as well trying to use lnav with warp

✘ error: unable to open TUI
 reason: unable to initialize notcurses Unknown error: 316
 = help: The TERM value of “xterm-256color” is not known.  Check for your terminal in https://github.com/dankamongmen/notcurses/blob/master/TERMINALS.md or use “xterm-256color”

hemna avatar Jul 25 '25 16:07 hemna

same issue

villqrd avatar Jul 28 '25 09:07 villqrd

same issue

shanglt avatar Aug 21 '25 09:08 shanglt

lnav v0.13.1 has been released and it seems to work fine on Warp v0.2025.09.03.08.11.stable_02, so this can probably be closed.

tstack avatar Sep 09 '25 14:09 tstack

I confirm that lnav 0.13.1 is working fine on Warp v0.2025.09.10.08.11.stable_01.

juan-diego avatar Sep 13 '25 11:09 juan-diego